diff --git a/.gitignore b/.gitignore index a77398c..ebcacfd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -SOURCES/cjs-module-lexer-1.4.1.tar.gz -SOURCES/icu4c-76_1-src.tgz -SOURCES/node-v20.19.2-stripped.tar.gz +SOURCES/cjs-module-lexer-2.1.0.tar.gz +SOURCES/icu4c-77_1-src.tgz +SOURCES/node-v20.19.5-stripped.tar.gz SOURCES/undici-6.21.2.tar.gz SOURCES/wasi-sdk-12.tar.gz SOURCES/wasi-sdk-20.tar.gz diff --git a/.nodejs.metadata b/.nodejs.metadata index 540be30..7810687 100644 --- a/.nodejs.metadata +++ b/.nodejs.metadata @@ -1,6 +1,6 @@ -327c9c409bcda11ac331186b5eabb27bb78df43e SOURCES/cjs-module-lexer-1.4.1.tar.gz -f7764341d196112573605881dbbf10e586d84841 SOURCES/icu4c-76_1-src.tgz -6132b5ebb4d8b517894c0ed53fdc79d2a2b80b35 SOURCES/node-v20.19.2-stripped.tar.gz +de6568bd7b90343b2932471c446773b8e65ba1d6 SOURCES/cjs-module-lexer-2.1.0.tar.gz +3039d3833f6359bc5f01da8f8640da5a8fcfbd3e SOURCES/icu4c-77_1-src.tgz +eb297c9e678c5216e1f26d3062efe35a64486685 SOURCES/node-v20.19.5-stripped.tar.gz 097218619f01200e237b6b93d0ddcb10f34883d7 SOURCES/undici-6.21.2.tar.gz 5ea3a1deb65a52a36ceb41324da690f54b2a4805 SOURCES/wasi-sdk-12.tar.gz da40abcb73a6dddafced6174d24ed49e414cda3c SOURCES/wasi-sdk-20.tar.gz diff --git a/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch b/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch index c506733..a629da0 100644 --- a/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch +++ b/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch @@ -9,19 +9,6 @@ Signed-off-by: rpm-build node.gyp | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) -diff --git a/Makefile b/Makefile -index 8e09820..fdd951b 100644 ---- a/Makefile -+++ b/Makefile -@@ -171,7 +171,7 @@ with-code-cache test-code-cache: - $(warning '$@' target is a noop) - - out/Makefile: config.gypi common.gypi node.gyp \ -- deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \ -+ deps/llhttp/llhttp.gyp \ - deps/simdutf/simdutf.gyp deps/ada/ada.gyp \ - tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \ - tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp diff --git a/node.gyp b/node.gyp index 33bc7d9..a216c41 100644 --- a/node.gyp diff --git a/SPECS/nodejs.spec b/SPECS/nodejs.spec index a0c26ed..a9837df 100644 --- a/SPECS/nodejs.spec +++ b/SPECS/nodejs.spec @@ -44,7 +44,7 @@ %global nodejs_epoch 1 %global nodejs_major 20 %global nodejs_minor 19 -%global nodejs_patch 2 +%global nodejs_patch 5 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} # nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h %global nodejs_soversion 115 @@ -71,7 +71,7 @@ %global c_ares_version 1.34.5 # llhttp - from deps/llhttp/include/llhttp.h -%global llhttp_version 9.2.1 +%global llhttp_version 9.3.0 # libuv - from deps/uv/include/uv/version.h %global libuv_version 1.46.0 @@ -86,7 +86,7 @@ %global ngtcp2_version 1.1.0 # ICU - from tools/icu/current_ver.dep -%global icu_major 76 +%global icu_major 77 %global icu_minor 1 %global icu_version %{icu_major}.%{icu_minor} @@ -105,7 +105,7 @@ %endif # simduft from deps/simdutf/simdutf.h -%global simdutf_version 6.0.3 +%global simdutf_version 6.4.2 # ada from deps/ada/ada.h %global ada_version 2.9.2 @@ -131,7 +131,7 @@ # Node.js 16.9.1 and later comes with an experimental package management tool # corepack - from deps/corepack/package.json -%global corepack_version 0.31.0 +%global corepack_version 0.33.0 # uvwasi - from deps/uvwasi/include/uvwasi.h %global uvwasi_version 0.0.21 @@ -171,12 +171,10 @@ Source8: npmrc.builtin.in # Note: These sources would also include pre-compiled WASM blobs… so they are adjusted not to. # Recipes for creating these blobs are included in the sources. -# Version: jq '.version' deps/cjs-module-lexer/package.json -# Original: https://github.com/nodejs/cjs-module-lexer/archive/refs/tags/1.4.1.tar.gz -# Adjustments: rm -f cjs-module-lexer-1.4.1/lib/lexer.wasm -# wasi-sdk version can be found in Makefile -# https://github.com/nodejs/cjs-module-lexer/blob/1.4.1/Makefile -Source101: cjs-module-lexer-1.4.1.tar.gz +# Version: jq '.version' deps/cjs-module-lexer/src/package.json +# Original: https://github.com/nodejs/cjs-module-lexer/archive/refs/tags/2.1.0.tar.gz +# Adjustments: rm -f cjs-module-lexer-2.1.0/lib/lexer.wasm +Source101: cjs-module-lexer-2.1.0.tar.gz Source111: https://github.com/WebAssembly/wasi-sdk/archive/refs/tags/wasi-sdk-12.tar.gz # Version: jq '.version' deps/undici/src/package.json @@ -435,7 +433,8 @@ export LDFLAGS="%{build_ldflags}" --with-icu-default-data-dir=%{icudatadir} \ %{!?with_corepack:--without-corepack} \ --openssl-use-def-ca-store \ - --openssl-default-cipher-list=PROFILE=SYSTEM + --openssl-default-cipher-list=PROFILE=SYSTEM \ + --use-prefix-to-find-headers make BUILDTYPE=Release %{?_smp_mflags} @@ -648,6 +647,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %changelog +* Mon Sep 15 2025 Andrei Radchenko - 1:20.19.5-1 +- Update to version 20.19.5 + Resolves: RHEL-114748 + * Thu May 15 2025 Andrei Radchenko - 1:20.19.2-1 - Update to version 20.19.2 Resolves: RHEL-92867 RHEL-92395 RHEL-89594