From eb98277bfdafef14bd21f8072d453eb8a1727e377aac37a419d0779e6ffe7b86 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 15 Jun 2023 12:56:42 +0000 Subject: [PATCH] - Rework default versions and include specifics for ALP - Default version for SLE-12 is set to be 16 - no further updates expected since W&S module is not supported in LTSS OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=59 --- nodejs-common.changes | 7 +++++++ nodejs-common.spec | 30 ++++++++++++++---------------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/nodejs-common.changes b/nodejs-common.changes index 9259c01..d0e9f5b 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jun 15 12:37:25 UTC 2023 - Adam Majer + +- Rework default versions and include specifics for ALP +- Default version for SLE-12 is set to be 16 - no further updates + expected since W&S module is not supported in LTSS + ------------------------------------------------------------------- Tue Apr 25 02:11:10 UTC 2023 - jsrain@suse.com diff --git a/nodejs-common.spec b/nodejs-common.spec index 17a5f33..d814ffe 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -36,20 +36,10 @@ # SLE-12 variants %if 0%{?suse_version} < 1500 -%define default_node_ver %NODEJS_LTS +%define default_node_ver 16 +%endif -%else - -# TW -%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 +%if 0%{?suse_version} == 1500 # SLE-15 variants, variation based on SP %if 0%{?sle_version} >= 150000 && 0%{?sle_version} < 150200 @@ -69,20 +59,28 @@ %endif %if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 150600 -%define default_node_ver %NODEJS_LTS +%define default_node_ver 18 +%endif + +%if 0%{?sle_version} >= 150600 && 0%{?sle_version} < 150700 +%define default_node_ver 20 %endif # SLE-15 variants %endif -# ALP +%if 0%{?suse_version} == 1600 +# ALP variants +%define default_node_ver 20 %endif # TW +%if 0%{?suse_version} >= 1699 +%define default_node_ver %NODEJS_CURRENT %endif Name: nodejs-common -Version: 5.1 +Version: 6.0 Release: 0 Summary: Common files for the NodeJS ecosystem License: MIT