- 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
This commit is contained in:
Adam Majer 2023-06-15 12:56:42 +00:00 committed by Git OBS Bridge
parent afd7874eed
commit eb98277bfd
2 changed files with 21 additions and 16 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 15 12:37:25 UTC 2023 - Adam Majer <adam.majer@suse.de>
- 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

View File

@ -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