Accepting request 1120018 from devel:languages:nodejs
-------------------------------------------------------------------- - Add nodejs20-zlib-1.3.patch: Support zlib version with only major.minor versions, like zlib 1.3. ------------------------------------------------------------------ OBS-URL: https://build.opensuse.org/request/show/1120018 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs20?expand=0&rev=15
This commit is contained in:
commit
d6b1711aad
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
|
||||
|
@ -172,6 +172,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 +678,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:12}
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} <= 10
|
||||
rm -r deps/npm/*
|
||||
pushd deps/npm
|
||||
@ -728,6 +733,7 @@ popd
|
||||
|
||||
%patch305 -p1
|
||||
%patch309 -p1
|
||||
%patch311 -p1
|
||||
|
||||
%if %{node_version_number} == 12
|
||||
# minimist security update - patch50
|
||||
|
Loading…
Reference in New Issue
Block a user