diff --git a/fix_ci_tests.patch b/fix_ci_tests.patch index 636a29e..3ac76e6 100644 --- a/fix_ci_tests.patch +++ b/fix_ci_tests.patch @@ -96,3 +96,15 @@ Index: node-v20.10.0/test/parallel/test-crypto-dh.js } } +Index: node-v20.10.0/test/parallel/test-node-output-errors.mjs +=================================================================== +--- node-v20.10.0.orig/test/parallel/test-node-output-errors.mjs ++++ node-v20.10.0/test/parallel/test-node-output-errors.mjs +@@ -28,6 +28,7 @@ describe('errors output', { concurrency: + .replaceAll(/\/(\w)/g, '*$1') + .replaceAll('*test*', '*') + .replaceAll('*fixtures*errors*', '*') ++ .replace(/`node\d+ --/, '`node --') + .replaceAll('file:**', 'file:*/'); + } + diff --git a/nodejs20.spec b/nodejs20.spec index 1c53045..b9b15dd 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -49,6 +49,11 @@ Release: 0 %bcond_with libalternatives %endif +# nodejs20+ is not for SLE12 +%if %{node_version_number} >= 20 && %{suse_version} < 1500 +ExclusiveArch do_not_build +%endif + %if %node_version_number >= 12 %define openssl_req_ver 1.1.1 %else