forked from pool/nodejs-common
Accepting request 1005138 from devel:languages:nodejs
- Use NodeJS 18 as default for TW and for SLE15 SP5 OBS-URL: https://build.opensuse.org/request/show/1005138 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-common?expand=0&rev=16
This commit is contained in:
commit
6d35d6bb80
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 31 15:51:38 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Use NodeJS 18 as default for TW and for SLE15 SP5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 12 09:17:01 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
||||
#
|
||||
###########################################################
|
||||
|
||||
%define NODEJS_LTS 16
|
||||
%define NODEJS_CURRENT 17
|
||||
%define NODEJS_LTS 18
|
||||
%define NODEJS_CURRENT 18
|
||||
|
||||
%if 0%{?suse_version} > 1500 || 0%{?fedora_version}
|
||||
%bcond_without libalternatives
|
||||
@ -60,6 +60,10 @@
|
||||
%endif
|
||||
|
||||
%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 150500
|
||||
%define default_node_ver 16
|
||||
%endif
|
||||
|
||||
%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 150600
|
||||
%define default_node_ver %NODEJS_LTS
|
||||
%endif
|
||||
|
||||
@ -129,6 +133,7 @@ Depends on the most current and up-to-date version of nodejs for
|
||||
the current architecture and codestream.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
cp %{S:2} .
|
||||
gcc ${RPM_OPT_FLAGS} %?libalternatives_cflags -o node %{S:1} %?libalternatives_lflags
|
||||
|
Loading…
Reference in New Issue
Block a user