Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nodejs18 for openSUSE:Factory checked in at 2023-01-27 10:15:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs18 (Old) and /work/SRC/openSUSE:Factory/.nodejs18.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs18" Fri Jan 27 10:15:57 2023 rev:9 rq:1061206 version:18.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs18/nodejs18.changes 2023-01-17 17:35:07.201113641 +0100 +++ /work/SRC/openSUSE:Factory/.nodejs18.new.32243/nodejs18.changes 2023-01-27 10:17:13.175896673 +0100 @@ -1,0 +2,8 @@ +Wed Jan 25 12:01:18 UTC 2023 - Adam Majer <adam.ma...@suse.de> + +- Again use openssl-3, if available. +- _constraints: reset aarch64 memory requirements back to original + otherwise some unit tests can fail +- s390.patch: fix unit test on s390 with patched zlib + +------------------------------------------------------------------- New: ---- s390.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs18.spec ++++++ --- /var/tmp/diff_new_pack.xJQPDl/_old 2023-01-27 10:17:14.083900330 +0100 +++ /var/tmp/diff_new_pack.xJQPDl/_new 2023-01-27 10:17:14.087900345 +0100 @@ -82,7 +82,7 @@ %define _libexecdir %{_exec_prefix}/lib %endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 120500 || 0%{?fedora_version} >= 35 +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120400 || 0%{?fedora_version} >= 35 %bcond_with intree_openssl %else %bcond_without intree_openssl @@ -171,6 +171,7 @@ Patch200: versioned.patch Patch305: qemu_timeouts_arches.patch +Patch307: s390.patch BuildRequires: pkg-config BuildRequires: fdupes @@ -264,10 +265,10 @@ BuildRequires: group(nobody) %endif +# shared openssl %if ! 0%{with intree_openssl} -BuildRequires: libopenssl-1_1-devel -#BuildRequires: (pkgconfig(openssl) >= %{openssl_req_ver} and pkgconfig(openssl) < 3.0) +BuildRequires: pkgconfig(openssl) >= %{openssl_req_ver} # require patched openssl library on SLES for nodejs16 %if 0%{?suse_version} && "%{pkg_version openssl-1_1}" != "~~~" @@ -278,13 +279,19 @@ %endif %if 0%{?suse_version} -#%if 0%{?suse_version} >= 1500 -#iBuildRequires: openssl >= %{openssl_req_ver} -#%else + +%if 0%{?suse_version} >= 1500 +BuildRequires: openssl >= %{openssl_req_ver} +%else BuildRequires: openssl-1_1 >= %{openssl_req_ver} -#%endif +%endif +%if %{pkg_vcmp pkgconfig(openssl) > '3.0' } +BuildRequires: libopenssl3-hmac +%else BuildRequires: libopenssl1_1-hmac +%endif + # /suse_version %endif @@ -293,11 +300,14 @@ %endif %else +# bundled openssl %if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400 Provides: bundled(openssl) = 3.0.7 %else BuildRequires: bundled_openssl_should_not_be_required %endif + +# /bundled openssl %endif %if ! 0%{with intree_cares} @@ -684,6 +694,7 @@ %patch200 -p1 %patch305 -p1 +%patch307 -p1 %if %{node_version_number} <= 12 # minimist security update - patch50 ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.xJQPDl/_old 2023-01-27 10:17:14.159900635 +0100 +++ /var/tmp/diff_new_pack.xJQPDl/_new 2023-01-27 10:17:14.163900651 +0100 @@ -16,9 +16,6 @@ <cpu> <flag>asimdrdm</flag> </cpu> - <physicalmemory> - <size unit="G">6</size> - </physicalmemory> </hardware> </overwrite> <overwrite> ++++++ s390.patch ++++++ Index: node-v18.13.0/test/parallel/test-whatwg-webstreams-compression.js =================================================================== --- node-v18.13.0.orig/test/parallel/test-whatwg-webstreams-compression.js +++ node-v18.13.0/test/parallel/test-whatwg-webstreams-compression.js @@ -20,11 +20,19 @@ async function test(format) { const reader = gunzip.readable.getReader(); const writer = gzip.writable.getWriter(); + let compressed_data = []; + const reader_function = ({ value, done }) => { + if (value) + compressed_data.push(value); + if (!done) + return reader.read().then(reader_function); + assert.strictEqual(dec.decode(Buffer.concat(compressed_data)), 'hello'); + }; + const reader_promise = reader.read().then(reader_function); + await Promise.all([ - reader.read().then(({ value, done }) => { - assert.strictEqual(dec.decode(value), 'hello'); - }), - reader.read().then(({ done }) => assert(done)), + reader_promise, + reader_promise.then(() => reader.read().then(({ done }) => assert(done))), writer.write('hello'), writer.close(), ]);