Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nodejs24 for openSUSE:Factory checked in at 2026-04-23 17:05:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs24 (Old) and /work/SRC/openSUSE:Factory/.nodejs24.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs24" Thu Apr 23 17:05:39 2026 rev:10 rq:1348597 version:24.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs24/nodejs24.changes 2026-04-08 17:14:14.560250898 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs24.new.11940/nodejs24.changes 2026-04-23 17:09:40.865264254 +0200 @@ -1,0 +2,20 @@ +Tue Apr 21 14:52:51 UTC 2026 - Adam Majer <[email protected]> + +- Remove update-alternatives from scriptlets if not available. + This code is only there to remove update-alternatives + +------------------------------------------------------------------- +Wed Apr 15 13:01:14 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Explicitly BuildRequire update-alternatives and mark it as being + used in post/postun: this was nicely masked by the fact that + binutils, installed on every system, already dragged u-a in, + which is no longer the case. + +------------------------------------------------------------------- +Wed Apr 15 11:31:15 UTC 2026 - Richard Biener <[email protected]> + +- Add -fno-lifetime-dse to CXXFLAGS to avoid + parallel/test-snapshot-reproducible testsuite failure with GCC 16 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs24.spec ++++++ --- /var/tmp/diff_new_pack.j7lKub/_old 2026-04-23 17:09:41.789302272 +0200 +++ /var/tmp/diff_new_pack.j7lKub/_new 2026-04-23 17:09:41.789302272 +0200 @@ -269,6 +269,7 @@ %else Requires(postun): %{_sbindir}/update-alternatives %endif +BuildRequires: update-alternatives # either for update-alternatives, or their removal Requires(post): %{_sbindir}/update-alternatives @@ -634,6 +635,10 @@ export CXX=g++-%{forced_gcc_version} %endif +# There is C++ object lifetime issues, use -fno-lifetime-dse to +# avoid parallel/test-snapshot-reproducible fails with GCC 16 +export CXXFLAGS="\${CXXFLAGS} -fno-lifetime-dse" + EOF . ./spec.build.config @@ -964,18 +969,24 @@ %defattr(-,root,root) %doc doc/api -%if %{with libalternatives} +%if 0%{with libalternatives} %post +if ! [ -e %_sbindir/update-alternatives ]; then update-alternatives --remove node-default %{_bindir}/node%{node_version_number} +fi %post -n npm%{node_version_number} +if ! [ -e %_sbindir/update-alternatives ]; then update-alternatives --remove npm-default %{_bindir}/npm%{node_version_number} update-alternatives --remove npx-default %{_bindir}/npx%{node_version_number} +fi %if %{node_version_number} >= 14 %post -n corepack%{node_version_number} +if ! [ -e %_sbindir/update-alternatives ]; then update-alternatives --remove corepack-default %{_bindir}/corepack%{node_version_number} +fi %endif %else ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.j7lKub/_old 2026-04-23 17:09:41.881306058 +0200 +++ /var/tmp/diff_new_pack.j7lKub/_new 2026-04-23 17:09:41.885306222 +0200 @@ -1,6 +1,6 @@ -mtime: 1775058408 -commit: ccea114d844fd44bedfdb815a794808a3da2b8d9f42b7b850d7a456965b13547 +mtime: 1776788064 +commit: 6dee0197b5dc41881fa60c919219e79299263e7231af6b5e4e7931488aee4621 url: https://src.opensuse.org/nodejs/nodejs24.git -revision: ccea114d844fd44bedfdb815a794808a3da2b8d9f42b7b850d7a456965b13547 +revision: 6dee0197b5dc41881fa60c919219e79299263e7231af6b5e4e7931488aee4621 projectscmsync: https://src.opensuse.org/nodejs/_ObsPrj.git ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-04-21 18:15:28.000000000 +0200 @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/update_npm_tarball.sh new/update_npm_tarball.sh --- old/update_npm_tarball.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/update_npm_tarball.sh 2026-04-21 18:15:28.000000000 +0200 @@ -0,0 +1,13 @@ +#!/bin/bash + +# +# Fetch npm module tarball that is required to run unit tests +# which are not provided by upstream tarball +# +set -e + +tar Jxf node-v*.tar.xz +cd node-v*/tools/doc +npm ci +cd ../.. +exec tar Jcf ../node_modules.tar.xz tools/doc/node_modules
