From 34f22bc91cb9a60ab02a6cea5120ad5e3fea2f20e3fa0c5db2adbbb116199d85 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 19 Apr 2023 13:46:28 +0000 Subject: [PATCH 1/2] - Use NodeJS 20 as default for TW OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=56 --- nodejs-common.changes | 5 +++++ nodejs-common.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nodejs-common.changes b/nodejs-common.changes index dc4cfb6..12e75eb 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 19 13:38:14 UTC 2023 - Adam Majer + +- Use NodeJS 20 as default for TW + ------------------------------------------------------------------- Fri Oct 21 10:09:34 UTC 2022 - Adam Majer diff --git a/nodejs-common.spec b/nodejs-common.spec index 60a2744..7f5a9cc 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -1,7 +1,7 @@ # # spec file for package nodejs-common # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ ########################################################### %define NODEJS_LTS 18 -%define NODEJS_CURRENT 19 +%define NODEJS_CURRENT 20 %if 0%{?suse_version} > 1500 || 0%{?fedora_version} %bcond_without libalternatives From afd7874eedf815f8e32aa07a22eb04dfbaf894ae3fa5893c1af6420d175a97a4 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 26 Apr 2023 09:14:38 +0000 Subject: [PATCH 2/2] Accepting request 1082784 from home:jsrain:branches:devel:languages:nodejs - Use NodeJS 18 as default for ALP OBS-URL: https://build.opensuse.org/request/show/1082784 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=57 --- nodejs-common.changes | 5 +++++ nodejs-common.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/nodejs-common.changes b/nodejs-common.changes index 12e75eb..9259c01 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 25 02:11:10 UTC 2023 - jsrain@suse.com + +- Use NodeJS 18 as default for ALP + ------------------------------------------------------------------- Wed Apr 19 13:38:14 UTC 2023 - Adam Majer diff --git a/nodejs-common.spec b/nodejs-common.spec index 7f5a9cc..17a5f33 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -41,9 +41,14 @@ %else # TW -%if 0%{?suse_version} > 1500 +%if 0%{?suse_version} >= 1699 %define default_node_ver %NODEJS_CURRENT +%else +# ALP +%if 0%{?suse_version} >= 1600 +%define default_node_ver %NODEJS_LTS + %else # SLE-15 variants, variation based on SP @@ -70,6 +75,9 @@ # SLE-15 variants %endif +# ALP +%endif + # TW %endif