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