2
0
forked from pool/nodejs-common

Accepting request 1084077 from devel:languages:nodejs

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1084077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-common?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2023-05-12 18:32:15 +00:00 committed by Git OBS Bridge
commit 953d68b7ce
2 changed files with 21 additions and 3 deletions

View File

@ -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 <adam.majer@suse.de>
- Use NodeJS 20 as default for TW
-------------------------------------------------------------------
Fri Oct 21 10:09:34 UTC 2022 - Adam Majer <adam.majer@suse.de>

View File

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