|
@@ -14,7 +14,7 @@
|
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
Name: nodejs
|
|
|
-Version: 20.9.0
|
|
|
+Version: 20.13.1
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: JavaScript runtime
|
|
|
Summary(ja): JavaScript ランタイム
|
|
@@ -41,6 +41,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
|
|
|
%global v8_lt 6.2
|
|
|
|
|
|
BuildRequires: libatomic
|
|
|
+BuildRequires: brotli-devel
|
|
|
|
|
|
%if %{with clang}
|
|
|
BuildRequires: clang
|
|
@@ -60,7 +61,7 @@ BuildRequires: libuv-devel
|
|
|
BuildRequires: c-ares-devel
|
|
|
%endif
|
|
|
%if %{system_zlib}
|
|
|
-BuildRequires: zlib-devel
|
|
|
+BuildRequires: zlib-ng-compat-devel
|
|
|
%endif
|
|
|
|
|
|
%if %{system_openssl}
|
|
@@ -174,7 +175,7 @@ find deps/uv -name "*.h" -exec rm -f {} \;
|
|
|
%build
|
|
|
# build with debugging symbols and add defines from libuv (#892601)
|
|
|
%ifarch x86_64
|
|
|
-%global debug_flag -g
|
|
|
+%global debug_flag -g1
|
|
|
%global libatomic_flag ""
|
|
|
%else
|
|
|
%global debug_flag -g0
|
|
@@ -217,6 +218,7 @@ export LDFLAGS="$LDFLAGS %{libatomic_flag} -fuse-ld=lld"
|
|
|
%if %{system_http_parser}
|
|
|
--shared-http-parser \
|
|
|
%endif
|
|
|
+ --shared-brotli \
|
|
|
--openssl-use-def-ca-store
|
|
|
|
|
|
# Setting BUILDTYPE=Debug builds both release and debug binaries
|
|
@@ -226,7 +228,7 @@ make BUILDTYPE=Release %{?_smp_mflags}
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
-./tools/install.py install %{buildroot} %{_prefix}
|
|
|
+./tools/install.py install --dest-dir %{buildroot} --prefix %{_prefix}
|
|
|
|
|
|
# and remove dtrace file again
|
|
|
rm -rf %{buildroot}/%{_prefix}/lib/dtrace
|
|
@@ -299,6 +301,18 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri May 10 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.13.1-1
|
|
|
+- updated to 20.13.1.
|
|
|
+
|
|
|
+* Sat Feb 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.11.1-1
|
|
|
+- updated to 20.11.1.
|
|
|
+
|
|
|
+* Wed Jan 10 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.11.0-1
|
|
|
+- updated to 20.11.0.
|
|
|
+
|
|
|
+* Thu Nov 23 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.10.0-1
|
|
|
+- updated to 20.10.0.
|
|
|
+
|
|
|
* Wed Oct 25 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.9.0-1
|
|
|
- updated to 20.9.0.
|
|
|
|