- Update to NodeJS 18.10.0:

* deps: upgrade npm to 8.19.2
  * http: throw error on content-length mismatch
  * stream: add ReadableByteStream.tee()
- openssl3_fixups.patch: upstreamed and removed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=18
This commit is contained in:
Adam Majer 2022-09-29 14:02:32 +00:00 committed by Git OBS Bridge
parent c900d3b684
commit f1ec3c07b3
8 changed files with 89 additions and 78 deletions

View File

@ -1,34 +1,34 @@
6b602994ea7e22d49e1b2406d3d1119133d6bc89e52f70cd61090968b9e5ec93 node-v18.9.1-aix-ppc64.tar.gz 8f4dfa78d823a4c7e4c83bbfebef9ce3d49a6e1ed28408521c706350f8a2aee7 node-v18.10.0-aix-ppc64.tar.gz
289dca525c5535bddf389b69386ceb12d7c77eeae9aa2f666652877f982f9b5d node-v18.9.1-darwin-arm64.tar.gz 0689815cdd69a9a977ee3bab20c6228d03966a1f988464f18ce490678dc5cdc3 node-v18.10.0-darwin-arm64.tar.gz
b80c029f945c522d553b70f4a8de14a077983dc36b4481a3051cd7103fb4a04c node-v18.9.1-darwin-arm64.tar.xz 4822536977efde1f37bfc5f14cddc4f09fd2d77e8547ce54ec847b7ef6914fd8 node-v18.10.0-darwin-arm64.tar.xz
ef7d92bb3b21b50242175483dca6ccd98052d6f4be3ce5b9ae55f0b95c0db25d node-v18.9.1-darwin-x64.tar.gz 06b1b6381dfa952ae95fc927b740b660bc08f26bcf02cad61f64b36485dab6d4 node-v18.10.0-darwin-x64.tar.gz
dff4fe1259b7801121bf7335cddd742801c8b34a4aba9dc3eb5943c1edb163ee node-v18.9.1-darwin-x64.tar.xz 146fe4ed98e0ab646380bad6f32303722421d2d98a3204183d9a66ec17eb3aa4 node-v18.10.0-darwin-x64.tar.xz
fb963b1e81110447f6c19dc5211c1bc2f44b53460d10daac8dd920ebff081ffc node-v18.9.1-headers.tar.gz e1568e86022a9f15ab4fd8fc2451c6c739498b0a67202ae57fd2cfc3342b52f6 node-v18.10.0-headers.tar.gz
62f3863047d94f3ce1250f61be20fd697e47e972e636ff3385d469d55e8dd71a node-v18.9.1-headers.tar.xz 487346ba2a67ee66fc0333d803d758b12512979378f3ef037a0dd83cc0c277a3 node-v18.10.0-headers.tar.xz
a1610d6f75f45fb0dc73164231c63308d653c09a57dd14a989cf4de9b96e965b node-v18.9.1-linux-arm64.tar.gz ad536980cb4944b0d17055937c5d5170c95147765f547ce8469331a808d0c408 node-v18.10.0-linux-arm64.tar.gz
d4edf28b695374faafc944f291151bf2fcfcf4b575207eadaee86a2c2aa1cbbe node-v18.9.1-linux-arm64.tar.xz bbe88afe35569780aae8a84d9be8b55e4944d13e9212b0d51883a5dcf6a7de8b node-v18.10.0-linux-arm64.tar.xz
d488cd0cda2c71d397c69db4088d4bec631c1489e1d58afbf2ed6e7d0ccc2660 node-v18.9.1-linux-armv7l.tar.gz 7496428b9a94ee1927eefa43ce2d66aedae9122a8722bbeab3b1e5c6b1933af6 node-v18.10.0-linux-armv7l.tar.gz
82502c7fb666b3842491d6244cd1eda72562ebe801dbe5c37bddab28acb91414 node-v18.9.1-linux-armv7l.tar.xz 694d83c751e1e8e05e77310c76fe87344350cd58e594cfd62df217a65dfbf55d node-v18.10.0-linux-armv7l.tar.xz
6a853f4702c41c0da9f625def2db01e24a91e89a2c8dbbeb7b79556572390aa6 node-v18.9.1-linux-ppc64le.tar.gz 6445d5d05707af7b318f4babb6432518e9b3529189e1fac3ed2200d89537fe8c node-v18.10.0-linux-ppc64le.tar.gz
3b892a3f3f37d262f344b2cbf0a2aa1deb8534c3674d42a256f5153df409c087 node-v18.9.1-linux-ppc64le.tar.xz 89d8266209f24b82940d2bf9cde14d871f7e6df02a3aef7bc948b8248c749f23 node-v18.10.0-linux-ppc64le.tar.xz
042b5069395cb1f377a6b25203afdb099187ca44c67f848f805ecc7f8d97f412 node-v18.9.1-linux-s390x.tar.gz 544d9930f1647939a901ef05d3d42ee8d6c7e857602922879c732bf3067a9f06 node-v18.10.0-linux-s390x.tar.gz
eb0cc3db68e17faab8d60ad8e69f0a21eaf14dfd593c4f1b7117d49f51baaf43 node-v18.9.1-linux-s390x.tar.xz 5a9c6ffbf03b4006dbbecc30b93234dc11a92d1f6d5c8e3bc45c9be958956a59 node-v18.10.0-linux-s390x.tar.xz
33ecf5f39618f4beb90a9be98880325cb4f06e33b52e315040a54fd0700f2434 node-v18.9.1-linux-x64.tar.gz f468b86031cca41ee9aa7a911e70eb624413153c7432754cbe9206c7ef3de090 node-v18.10.0-linux-x64.tar.gz
0777cf4e281359061a6b5d0afe6750f5efd0e874f489a5ebb53ec8b8f77e8b82 node-v18.9.1-linux-x64.tar.xz 1aff4537bbb81c29c5c1c7c96379c6a2133b43651812745b524db8e1b65ee12b node-v18.10.0-linux-x64.tar.xz
60160570e4d22c1735e74c0e954bcd94621870871a170b6b2cb4089d91204053 node-v18.9.1-win-x64.7z a41d5d395ca349ab946571e2fa939729707ee8dacc15e88ef420b51635e36f9c node-v18.10.0-win-x64.7z
763e691ed8f51b8664da4dcc5a0f5d428dbd69d4162630a6fcf366e5e9e25e81 node-v18.9.1-win-x64.zip 50934603f0bd46ef9948346f36f8afeae146182a6eafdbc361c7eeec0083c551 node-v18.10.0-win-x64.zip
c9a22fe916685f1178d3ff60bdfc49a0d8d0b17944c640d0a0bfc8e25317bdaf node-v18.9.1-win-x86.7z dfaf933d80c274a8541cce9807ba26177e7f3789ab80a52ef4a5580656a6bb13 node-v18.10.0-win-x86.7z
860cd7354943eb137715c510b77a7e230666b47998edd6f5ea803db1aaf8999a node-v18.9.1-win-x86.zip df3741ce99768668d700a3a5c085d1a5084d86c1e60cca626cf5f0b45525499b node-v18.10.0-win-x86.zip
b2886faeaed5a1ddc03325e8c1fca143e0bbfa250ae7a69a8326be364ad28577 node-v18.9.1-x64.msi 9a269ecc0530656db078ed03c20cc3e71022026feb9dff02bf0c96e9792f237a node-v18.10.0-x64.msi
af847e88b3a3d0ceb63ffd572ff906d3a60b2a235334b7336f11904cbe7d35bb node-v18.9.1-x86.msi 7f2c6fa385d7b8864b96510d86ff416c69b2b1dc2c4bd25d2bd8cac7d2e9ac7b node-v18.10.0-x86.msi
a3219e92b15afd4baa6a3bc8e3ad25f3036cb07bea08d2622c9a59db8d0a24f9 node-v18.9.1.pkg 0194e47d962d36a0778ffcfcdbedb6520bf3ec9abf8a1f5dd1bc96d776aeb421 node-v18.10.0.pkg
50ae12386eb79058ad2d38335e41ca120904900a36b1bcfb10934be9373f737b node-v18.9.1.tar.gz eab3109a6d3deafe049c8f0c461af8de5c6cad535b79c19fa84f0ea496c4ffb6 node-v18.10.0.tar.gz
f381963d43568ba699915c88629dc6da4a1963804dcd37b2e6e1d10d923dd5d9 node-v18.9.1.tar.xz ad711b54e2be4a7d24f37c73fb2801adeaf6d26d298d431be98d6abc0202e89f node-v18.10.0.tar.xz
6d5094f77f1273b8127046d9c528bb800470b178a0b44d271907de5cf19b9dde win-x64/node.exe 0f15043bb13749bf27f0eed2f902db8251dd214891851e1066537a08b97751a1 win-x64/node.exe
3111a04d3ae94921ac20f2afc4e167c59e50c07609ee940d1a8eec46f08310ad win-x64/node.lib 3111a04d3ae94921ac20f2afc4e167c59e50c07609ee940d1a8eec46f08310ad win-x64/node.lib
28b6e90a8880b076b46e3f4662d19ea3e020f7b06c12135de31a62a2015019fb win-x64/node_pdb.7z ff3c97980c59bebae41f11a720f4a3c4f466b4fd31686a12bc451e939d6966e1 win-x64/node_pdb.7z
464771c89a6bd4fd3684e172d2dbd510906c30c4273c6526d26ddc1f7e3bce78 win-x64/node_pdb.zip 0cbaa9327350a936eade80e60c3e986e93a03a5404e3caeda5cea4d3c1ae631c win-x64/node_pdb.zip
f93ea0dbeb0e5326f53c7f1258d5315542c045651e43dae5ce18f7f32977fa3d win-x86/node.exe 0a137d78cacf19a829e0f81ecf3891b5690c95a6845318bc93a325579facb121 win-x86/node.exe
e0b45a34da85070b41e13169a6ed30ea782d400dd8e8597d665727bac8d621f0 win-x86/node.lib e0b45a34da85070b41e13169a6ed30ea782d400dd8e8597d665727bac8d621f0 win-x86/node.lib
f0a4d77ebccca0909f5532d9c14ac140dbb003075397b086ad4c7ede0b803b7e win-x86/node_pdb.7z 250afbbecfaf8a10c610d8a1865e1d1a7293d7e9b47e9b161ab4fa1395bff88b win-x86/node_pdb.7z
a1b7b350faceec615894e3c1e4a812122ef6f1c652bc3e531a6ea07104cfb155 win-x86/node_pdb.zip 70e0aca76b848d4279d2b081d713d4c28bb9dbe5ce2b6090eeb52a542b019f7b win-x86/node_pdb.zip

Binary file not shown.

3
node-v18.10.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad711b54e2be4a7d24f37c73fb2801adeaf6d26d298d431be98d6abc0202e89f
size 38364672

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f381963d43568ba699915c88629dc6da4a1963804dcd37b2e6e1d10d923dd5d9
size 38315220

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Sep 29 13:58:09 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Update to NodeJS 18.10.0:
* deps: upgrade npm to 8.19.2
* http: throw error on content-length mismatch
* stream: add ReadableByteStream.tee()
- openssl3_fixups.patch: upstreamed and removed
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 26 13:13:39 UTC 2022 - Adam Majer <adam.majer@suse.de> Mon Sep 26 13:13:39 UTC 2022 - Adam Majer <adam.majer@suse.de>

View File

@ -15,13 +15,23 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
###########################################################
#
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
#
# This spec file is generated from a template hosted at
# https://github.com/AdamMajer/nodejs-packaging
#
###########################################################
# Fedora doesn't have rpm-config-SUSE which provides
# ext_man in /usr/lib/rpm/macros.d/macros.obs
%if 0%{?fedora_version} %if 0%{?fedora_version}
%define ext_man .gz %define ext_man .gz
%endif %endif
Name: nodejs18 Name: nodejs18
Version: 18.9.1 Version: 18.10.0
Release: 0 Release: 0
# Double DWZ memory limits # Double DWZ memory limits
@ -119,12 +129,12 @@ Source1: https://nodejs.org/dist/v%{version}/SHASUMS256.txt
Source2: https://nodejs.org/dist/v%{version}/SHASUMS256.txt.sig Source2: https://nodejs.org/dist/v%{version}/SHASUMS256.txt.sig
Source3: nodejs.keyring Source3: nodejs.keyring
# Python 3.4 compatible node-gyp # Python 3.4 compatible node-gyp
### https://github.com/nodejs/node-gyp.git ### https://github.com/nodejs/node-gyp.git
### git archive v7.1.2 gyp/ | xz > node-gyp_7.1.2.tar.xz ### git archive v7.1.2 gyp/ | xz > node-gyp_7.1.2.tar.xz
Source5: node-gyp_7.1.2.tar.xz Source5: node-gyp_7.1.2.tar.xz
# Only required to run unit tests in NodeJS 10+ # Only required to run unit tests in NodeJS 10+
Source10: update_npm_tarball.sh Source10: update_npm_tarball.sh
Source11: node_modules.tar.xz Source11: node_modules.tar.xz
Source20: bash_output_helper.bash Source20: bash_output_helper.bash
@ -135,6 +145,8 @@ Patch5: sle12_python3_compat.patch
Patch7: manual_configure.patch Patch7: manual_configure.patch
Patch13: openssl_binary_detection.patch Patch13: openssl_binary_detection.patch
## Patches specific to SUSE and openSUSE ## Patches specific to SUSE and openSUSE
Patch100: linker_lto_jobs.patch Patch100: linker_lto_jobs.patch
# PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built # PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built
@ -158,11 +170,10 @@ Patch133: rsa-pss-revert.patch
# Use versioned binaries and paths # Use versioned binaries and paths
Patch200: versioned.patch Patch200: versioned.patch
Patch303: openssl3_fixups.patch
Patch304: new_python3.patch Patch304: new_python3.patch
BuildRequires: fdupes
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: fdupes
BuildRequires: procps BuildRequires: procps
BuildRequires: xz BuildRequires: xz
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -182,10 +193,10 @@ BuildRequires: config(netcfg)
%if 0%{?suse_version} == 1110 %if 0%{?suse_version} == 1110
# GCC 5 is only available in the SUSE:SLE-11:SP4:Update repository (SDK). # GCC 5 is only available in the SUSE:SLE-11:SP4:Update repository (SDK).
%if %node_version_number >= 8 %if %node_version_number >= 8
BuildRequires: gcc5-c++ BuildRequires: gcc5-c++
%define forced_gcc_version 5 %define forced_gcc_version 5
%else %else
BuildRequires: gcc48-c++ BuildRequires: gcc48-c++
%define forced_gcc_version 4.8 %define forced_gcc_version 4.8
%endif %endif
%endif %endif
@ -195,15 +206,15 @@ BuildRequires: gcc48-c++
# for SLE-12:Update targets # for SLE-12:Update targets
%if 0%{?suse_version} == 1315 %if 0%{?suse_version} == 1315
%if %node_version_number >= 17 %if %node_version_number >= 17
BuildRequires: gcc12-c++ BuildRequires: gcc12-c++
%define forced_gcc_version 12 %define forced_gcc_version 12
%else %else
%if %node_version_number >= 14 %if %node_version_number >= 14
BuildRequires: gcc9-c++ BuildRequires: gcc9-c++
%define forced_gcc_version 9 %define forced_gcc_version 9
%else %else
%if %node_version_number >= 8 %if %node_version_number >= 8
BuildRequires: gcc7-c++ BuildRequires: gcc7-c++
%define forced_gcc_version 7 %define forced_gcc_version 7
%endif %endif
%endif %endif
@ -212,7 +223,7 @@ BuildRequires: gcc7-c++
%if 0%{?suse_version} == 1500 %if 0%{?suse_version} == 1500
%if %node_version_number >= 17 %if %node_version_number >= 17
BuildRequires: gcc12-c++ BuildRequires: gcc12-c++
%define forced_gcc_version 12 %define forced_gcc_version 12
%endif %endif
%endif %endif
@ -223,6 +234,7 @@ BuildRequires: gcc12-c++
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif %endif
# Python dependencies # Python dependencies
%if %node_version_number >= 16 %if %node_version_number >= 16
@ -247,8 +259,8 @@ BuildRequires: python
%endif %endif
%if 0%{?suse_version} >= 1500 && %{node_version_number} >= 10 %if 0%{?suse_version} >= 1500 && %{node_version_number} >= 10
BuildRequires: group(nobody)
BuildRequires: user(nobody) BuildRequires: user(nobody)
BuildRequires: group(nobody)
%endif %endif
%if ! 0%{with intree_openssl} %if ! 0%{with intree_openssl}
@ -311,7 +323,7 @@ BuildRequires: valgrind
%if %{with libalternatives} %if %{with libalternatives}
Requires: alts Requires: alts
%else %else
Requires(postun):%{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives
%endif %endif
# either for update-alternatives, or their removal # either for update-alternatives, or their removal
Requires(post): %{_sbindir}/update-alternatives Requires(post): %{_sbindir}/update-alternatives
@ -350,8 +362,8 @@ ExclusiveArch: not_buildable
%endif %endif
%endif %endif
Provides: bundled(uvwasi) = 0.0.13
Provides: bundled(libuv) = 1.43.0 Provides: bundled(libuv) = 1.43.0
Provides: bundled(uvwasi) = 0.0.12
Provides: bundled(v8) = 10.2.154.15 Provides: bundled(v8) = 10.2.154.15
%if %{with intree_brotli} %if %{with intree_brotli}
Provides: bundled(brotli) = 1.0.9 Provides: bundled(brotli) = 1.0.9
@ -359,13 +371,14 @@ Provides: bundled(brotli) = 1.0.9
BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libbrotlidec)
%endif %endif
Provides: bundled(llhttp) = 6.0.10 Provides: bundled(llhttp) = 6.0.10
Provides: bundled(ngtcp2) = 0.1.0-DEV Provides: bundled(ngtcp2) = 0.8.1
Provides: bundled(node-acorn) = 8.8.0 Provides: bundled(node-acorn) = 8.8.0
Provides: bundled(node-acorn-walk) = 8.2.0 Provides: bundled(node-acorn-walk) = 8.2.0
Provides: bundled(node-cjs-module-lexer) = 1.2.2 Provides: bundled(node-cjs-module-lexer) = 1.2.2
Provides: bundled(node-corepack) = 0.14.0 Provides: bundled(node-corepack) = 0.14.1
Provides: bundled(node-undici) = 5.10.0 Provides: bundled(node-undici) = 5.10.0
%description %description
@ -377,8 +390,8 @@ provided by npm.
Summary: Development headers for NodeJS 18.x Summary: Development headers for NodeJS 18.x
Group: Development/Languages/NodeJS Group: Development/Languages/NodeJS
Provides: nodejs-devel = %{version} Provides: nodejs-devel = %{version}
Requires: %{name} = %{version}
Requires: npm18 = %{version} Requires: npm18 = %{version}
Requires: %{name} = %{version}
%description devel %description devel
This package provides development headers for Node.js needed for creation This package provides development headers for Node.js needed for creation
@ -395,12 +408,12 @@ Requires: nodejs-common
Requires: nodejs18 = %{version} Requires: nodejs18 = %{version}
Provides: nodejs-npm = %{version} Provides: nodejs-npm = %{version}
Obsoletes: nodejs-npm < 4.0.0 Obsoletes: nodejs-npm < 4.0.0
Provides: npm(npm) = 8.19.2
Provides: npm = %{version} Provides: npm = %{version}
Provides: npm(npm) = 8.19.1
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
%if %{node_version_number} >= 10 %if %{node_version_number} >= 10
Requires: group(nobody)
Requires: user(nobody) Requires: user(nobody)
Requires: group(nobody)
%endif %endif
%endif %endif
Provides: bundled(node-abbrev) = 1.1.1 Provides: bundled(node-abbrev) = 1.1.1
@ -486,8 +499,8 @@ Provides: bundled(node-just-diff) = 5.1.1
Provides: bundled(node-just-diff-apply) = 5.4.1 Provides: bundled(node-just-diff-apply) = 5.4.1
Provides: bundled(node-libnpmaccess) = 6.0.4 Provides: bundled(node-libnpmaccess) = 6.0.4
Provides: bundled(node-libnpmdiff) = 4.0.5 Provides: bundled(node-libnpmdiff) = 4.0.5
Provides: bundled(node-libnpmexec) = 4.0.12 Provides: bundled(node-libnpmexec) = 4.0.13
Provides: bundled(node-libnpmfund) = 3.0.3 Provides: bundled(node-libnpmfund) = 3.0.4
Provides: bundled(node-libnpmhook) = 8.0.4 Provides: bundled(node-libnpmhook) = 8.0.4
Provides: bundled(node-libnpmorg) = 4.0.4 Provides: bundled(node-libnpmorg) = 4.0.4
Provides: bundled(node-libnpmpack) = 4.1.3 Provides: bundled(node-libnpmpack) = 4.1.3
@ -566,8 +579,8 @@ Provides: bundled(node-spdx-exceptions) = 2.3.0
Provides: bundled(node-spdx-expression-parse) = 3.0.1 Provides: bundled(node-spdx-expression-parse) = 3.0.1
Provides: bundled(node-spdx-license-ids) = 3.0.11 Provides: bundled(node-spdx-license-ids) = 3.0.11
Provides: bundled(node-ssri) = 9.0.1 Provides: bundled(node-ssri) = 9.0.1
Provides: bundled(node-string-width) = 4.2.3
Provides: bundled(node-string_decoder) = 1.3.0 Provides: bundled(node-string_decoder) = 1.3.0
Provides: bundled(node-string-width) = 4.2.3
Provides: bundled(node-strip-ansi) = 6.0.1 Provides: bundled(node-strip-ansi) = 6.0.1
Provides: bundled(node-supports-color) = 7.2.0 Provides: bundled(node-supports-color) = 7.2.0
Provides: bundled(node-tar) = 6.1.11 Provides: bundled(node-tar) = 6.1.11
@ -652,7 +665,6 @@ tar Jxf %{SOURCE11}
%endif %endif
%patch200 -p1 %patch200 -p1
%patch303 -p1
%patch304 -p1 %patch304 -p1
%if %{node_version_number} <= 12 %if %{node_version_number} <= 12
@ -674,6 +686,7 @@ mkdir deps/npm/node_modules/node-gyp
tar -C deps/npm/node_modules/node-gyp Jxf %{SOURCE5} tar -C deps/npm/node_modules/node-gyp Jxf %{SOURCE5}
%endif %endif
%build %build
# normalize shebang # normalize shebang
%if %{node_version_number} >= 12 %if %{node_version_number} >= 12
@ -884,8 +897,10 @@ find test \( -name \*.out -or -name \*.js \) -exec sed -i 's,Use `node ,Use `nod
ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi
# Tarball doesn't have eslint package distributed, so disable some tests # Tarball doesn't have eslint package distributed, so disable some tests
find test -name \*-eslint-\* -print -delete find test -name \*-eslint-\* -print -delete
# No documentation is generated, don't bother checking it # No documentation is generated, don't bother checking it, and check broken on older nodejs
# rm test/doctool/test-make-doc.js %if %{node_version_number} <= 10
rm test/doctool/test-make-doc.js
%endif
# DNS lookup doesn't work in build root # DNS lookup doesn't work in build root
rm test/parallel/test-dns-cancel-reverse-lookup.js \ rm test/parallel/test-dns-cancel-reverse-lookup.js \
test/parallel/test-dns-resolveany.js test/parallel/test-dns-resolveany.js
@ -1001,7 +1016,6 @@ update-alternatives --remove npm-default %{_bindir}/npm%{node_version_number}
update-alternatives --remove npx-default %{_bindir}/npx%{node_version_number} update-alternatives --remove npx-default %{_bindir}/npx%{node_version_number}
%else %else
%pre %pre
# remove files that are no longer owned but provided by update-alternatives # remove files that are no longer owned but provided by update-alternatives
if ! [ -L %{_mandir}/man1/node.1%{ext_man} ]; then if ! [ -L %{_mandir}/man1/node.1%{ext_man} ]; then

View File

@ -1,13 +0,0 @@
Index: node-v18.9.0/test/addons/openssl-providers/binding.cc
===================================================================
--- node-v18.9.0.orig/test/addons/openssl-providers/binding.cc
+++ node-v18.9.0/test/addons/openssl-providers/binding.cc
@@ -1,6 +1,8 @@
#include <assert.h>
#include <node.h>
+#if OPENSSL_VERSION_MAJOR >= 3
#include <openssl/provider.h>
+#endif
namespace {