--------------------------------------------------------------------
- Add nodejs20-zlib-1.3.patch: Support zlib version with only major.minor versions, like zlib 1.3. ------------------------------------------------------------------ OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs20?expand=0&rev=45
This commit is contained in:
parent
6513469645
commit
15b4fc8fc9
13
nodejs20-zlib-1.3.patch
Normal file
13
nodejs20-zlib-1.3.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: node-v20.8.1/test/parallel/test-process-versions.js
|
||||
===================================================================
|
||||
--- node-v20.8.1.orig/test/parallel/test-process-versions.js
|
||||
+++ node-v20.8.1/test/parallel/test-process-versions.js
|
||||
@@ -61,7 +61,7 @@ assert.match(process.versions.brotli, co
|
||||
assert.match(process.versions.llhttp, commonTemplate);
|
||||
assert.match(process.versions.node, commonTemplate);
|
||||
assert.match(process.versions.uv, commonTemplate);
|
||||
-assert.match(process.versions.zlib, /^\d+(?:\.\d+){2,3}(?:-.*)?$/);
|
||||
+assert.match(process.versions.zlib, /^\d+(?:\.\d+){1,3}(?:-.*)?$/);
|
||||
|
||||
if (hasUndici) {
|
||||
assert.match(process.versions.undici, commonTemplate);
|
@ -1,4 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
Tue Oct 24 11:21:41 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add nodejs20-zlib-1.3.patch: Support zlib version with only
|
||||
major.minor versions, like zlib 1.3.
|
||||
|
||||
------------------------------------------------------------------
|
||||
Mon Oct 16 09:28:06 UTC 2023 - Adam Majer <adam.majer@suse.de> - 20.8.1
|
||||
|
||||
- Security fixes relase 20.8.1
|
||||
|
@ -137,6 +137,7 @@ Source5: node-gyp_7.1.2.tar.xz
|
||||
Source10: update_npm_tarball.sh
|
||||
Source11: node_modules.tar.xz
|
||||
Source20: bash_output_helper.bash
|
||||
Source21: wasm-fixtures.tar.gz
|
||||
|
||||
## Patches not distribution specific
|
||||
Patch1: cares_public_headers.patch
|
||||
@ -172,6 +173,7 @@ Patch200: versioned.patch
|
||||
Patch305: qemu_timeouts_arches.patch
|
||||
Patch308: node-gyp-config.patch
|
||||
Patch309: gcc13.patch
|
||||
Patch311: nodejs20-zlib-1.3.patch
|
||||
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
@ -677,6 +679,10 @@ echo "`grep node-v%{version}.tar.xz %{S:1} | head -n1 | cut -c1-64` %{S:0}" | s
|
||||
%setup -q -n node-%{version}
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} <= 16
|
||||
tar zxf %{S:1}
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} <= 10
|
||||
rm -r deps/npm/*
|
||||
pushd deps/npm
|
||||
@ -728,6 +734,7 @@ popd
|
||||
|
||||
%patch305 -p1
|
||||
%patch309 -p1
|
||||
%patch311 -p1
|
||||
|
||||
%if %{node_version_number} == 12
|
||||
# minimist security update - patch50
|
||||
|
Loading…
x
Reference in New Issue
Block a user