Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nodejs-common for openSUSE:Factory checked in at 2024-05-29 19:35:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-common (Old) and /work/SRC/openSUSE:Factory/.nodejs-common.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-common" Wed May 29 19:35:19 2024 rev:22 rq:1177122 version:6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-common/nodejs-common.changes 2023-11-10 12:28:50.570583503 +0100 +++ /work/SRC/openSUSE:Factory/.nodejs-common.new.24587/nodejs-common.changes 2024-05-29 19:35:36.111945291 +0200 @@ -1,0 +2,10 @@ +Thu May 16 13:34:35 UTC 2024 - Adam Majer <adam.ma...@suse.de> + +- Update TW to 22 and set 15.7 to use it as default + +------------------------------------------------------------------- +Sat Jan 27 09:40:57 UTC 2024 - Bingwu Zhang <xtexchoo...@duck.com> + +- Add corepack support + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-common.spec ++++++ --- /var/tmp/diff_new_pack.H7Gy57/_old 2024-05-29 19:35:36.563961662 +0200 +++ /var/tmp/diff_new_pack.H7Gy57/_new 2024-05-29 19:35:36.567961807 +0200 @@ -1,7 +1,7 @@ # # spec file for package nodejs-common # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,7 @@ # ########################################################### -%define NODEJS_LTS 20 -%define NODEJS_CURRENT 21 +%define NODEJS_CURRENT 22 %if 0%{?suse_version} > 1500 || 0%{?fedora_version} %bcond_without libalternatives @@ -66,6 +65,10 @@ %define default_node_ver 20 %endif +%if 0%{?sle_version} >= 150700 +%define default_node_ver 22 +%endif + # SLE-15 variants %endif @@ -138,6 +141,17 @@ Depends on the most current and up-to-date version of nodejs for the current architecture and codestream. +%package -n corepack-default +Summary: Default version of corepack +Group: Development/Languages/NodeJS +Requires: corepack%{default_node_ver} +Requires: npm-default +Provides: corepack = %default_node_ver + +%description -n corepack-default +Depends on the corepack version associated with the current default +version of nodejs for the current architecture and codestream. + %prep %build @@ -150,12 +164,14 @@ install -D -m 0755 node %{buildroot}%{_bindir}/node ln node %{buildroot}%{_bindir}/npm ln node %{buildroot}%{_bindir}/npx +ln node %{buildroot}%{_bindir}/corepack %files %license LICENSE %{_bindir}/node %{_bindir}/npm %{_bindir}/npx +%{_bindir}/corepack %files -n nodejs-default @@ -163,3 +179,5 @@ %files -n nodejs-devel-default +%files -n corepack-default + ++++++ node.c ++++++ --- /var/tmp/diff_new_pack.H7Gy57/_old 2024-05-29 19:35:36.611963400 +0200 +++ /var/tmp/diff_new_pack.H7Gy57/_new 2024-05-29 19:35:36.615963545 +0200 @@ -17,6 +17,7 @@ "node", "npm", "npx", + "corepack", NULL };