diff --git a/nodejs-common.changes b/nodejs-common.changes index dc4cfb6..9259c01 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 + +- 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..17a5f33 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 @@ -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