Browse Source

nodejs-16.10.0-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
0a59665639
1 changed files with 10 additions and 4 deletions
  1. 10 4
      n/nodejs/nodejs-vl.spec

+ 10 - 4
n/nodejs/nodejs-vl.spec

@@ -14,7 +14,7 @@
 %define _unpackaged_files_terminate_build 1
 
 Name:           nodejs
-Version:        14.17.5
+Version:        16.10.0
 Release:        1%{?_dist_release}
 Summary:        JavaScript runtime
 Summary(ja):    JavaScript ランタイム
@@ -65,7 +65,7 @@ BuildRequires: zlib-devel
 
 %if %{system_openssl}
 # Node.js requires some features from openssl 1.0.1 for SPDY support
-BuildRequires: openssl-devel >= 1.0.1
+BuildRequires: openssl-devel >= 3.0.0
 %endif
 
 %if %{system_v8}
@@ -180,8 +180,8 @@ find deps/uv -name "*.h" -exec rm -f {} \;
 %global libatomic_flag -latomic
 %endif
 
-export CFLAGS='%{optflags} %{debug_flag} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
-export CXXFLAGS='%{optflags} %{debug_flag} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
+export CFLAGS='%{optflags} %{debug_flag} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZLIB_CONST -fno-delete-null-pointer-checks'
+export CXXFLAGS='%{optflags} %{debug_flag} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZLIB_CONST -fno-delete-null-pointer-checks'
 export LDFLAGS="%{build_ldflags}"
 
 %if %{with clang}
@@ -275,11 +275,13 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
 %files
 %license LICENSE
 %doc CHANGELOG.md README.md AUTHORS
+%{_bindir}/corepack
 %{_bindir}/node
 %{_bindir}/npm
 %{_bindir}/npx
 %{_mandir}/man1/node.*
 %dir %{_prefix}/lib/node_modules
+%{_prefix}/lib/node_modules/corepack
 %{_prefix}/lib/node_modules/npm
 
 %files devel
@@ -297,6 +299,10 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
 
 
 %changelog
+* Thu Sep 30 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 16.10.0-1
+- updated to 16.10.0.
+- built with openssl-3.0.0.
+
 * Thu Aug 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.17.5-1
 - updated to 14.17.5.