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