Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
9f237b8a3a |
1
node.c
1
node.c
@@ -17,7 +17,6 @@ const char * const supported_execs[] = {
|
|||||||
"node",
|
"node",
|
||||||
"npm",
|
"npm",
|
||||||
"npx",
|
"npx",
|
||||||
"corepack",
|
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -1,30 +1,9 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 13 11:12:54 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
|
||||||
|
|
||||||
- Update SLFO to current LTS
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu May 16 13:34:35 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
|
||||||
|
|
||||||
- Update TW to 22 and set 15.7 to use it as default
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jan 27 09:40:57 UTC 2024 - Bingwu Zhang <xtexchooser@duck.com>
|
|
||||||
|
|
||||||
- Add corepack support
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 9 09:12:01 UTC 2023 - Adam Majer <adam.majer@suse.de>
|
|
||||||
|
|
||||||
- Update default TW to nodejs21
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 15 12:37:25 UTC 2023 - Adam Majer <adam.majer@suse.de>
|
Thu Jun 15 12:37:25 UTC 2023 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
- Rework default versions and include specifics for ALP
|
- Rework default versions and include specifics for ALP
|
||||||
- Default version for SLE-12 is set to be 16 - no further updates
|
- Default version for SLE-12 is set to be 16 - no further updates
|
||||||
expected since W&S module is not supported in LTSS
|
expected since W&S module is not supported in LTSS
|
||||||
- 15 SP6 uses nodejs20 as default (PED-4819)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 25 02:11:10 UTC 2023 - jsrain@suse.com
|
Tue Apr 25 02:11:10 UTC 2023 - jsrain@suse.com
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nodejs-common
|
# spec file for package nodejs-common
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
#
|
#
|
||||||
###########################################################
|
###########################################################
|
||||||
|
|
||||||
%define NODEJS_CURRENT 22
|
%define NODEJS_LTS 18
|
||||||
%define NODEJS_LTS 22
|
%define NODEJS_CURRENT 20
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500 || 0%{?fedora_version}
|
%if 0%{?suse_version} > 1500 || 0%{?fedora_version}
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
@@ -66,16 +66,12 @@
|
|||||||
%define default_node_ver 20
|
%define default_node_ver 20
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?sle_version} >= 150700
|
|
||||||
%define default_node_ver 22
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# SLE-15 variants
|
# SLE-15 variants
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} == 1600
|
%if 0%{?suse_version} == 1600
|
||||||
# SLFO variants
|
# ALP variants
|
||||||
%define default_node_ver %NODEJS_LTS
|
%define default_node_ver 20
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# TW
|
# TW
|
||||||
@@ -84,7 +80,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: nodejs-common
|
Name: nodejs-common
|
||||||
Version: 6.1
|
Version: 6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Common files for the NodeJS ecosystem
|
Summary: Common files for the NodeJS ecosystem
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -142,17 +138,6 @@ Provides: nodejs-devel = %default_node_ver
|
|||||||
Depends on the most current and up-to-date version of nodejs for
|
Depends on the most current and up-to-date version of nodejs for
|
||||||
the current architecture and codestream.
|
the current architecture and codestream.
|
||||||
|
|
||||||
%package -n corepack-default
|
|
||||||
Summary: Default version of corepack
|
|
||||||
Group: Development/Languages/NodeJS
|
|
||||||
Requires: corepack%{default_node_ver}
|
|
||||||
Requires: npm-default
|
|
||||||
Provides: corepack = %default_node_ver
|
|
||||||
|
|
||||||
%description -n corepack-default
|
|
||||||
Depends on the corepack version associated with the current default
|
|
||||||
version of nodejs for the current architecture and codestream.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -165,14 +150,12 @@ echo "Default Node version: " %{default_node_ver}
|
|||||||
install -D -m 0755 node %{buildroot}%{_bindir}/node
|
install -D -m 0755 node %{buildroot}%{_bindir}/node
|
||||||
ln node %{buildroot}%{_bindir}/npm
|
ln node %{buildroot}%{_bindir}/npm
|
||||||
ln node %{buildroot}%{_bindir}/npx
|
ln node %{buildroot}%{_bindir}/npx
|
||||||
ln node %{buildroot}%{_bindir}/corepack
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/node
|
%{_bindir}/node
|
||||||
%{_bindir}/npm
|
%{_bindir}/npm
|
||||||
%{_bindir}/npx
|
%{_bindir}/npx
|
||||||
%{_bindir}/corepack
|
|
||||||
|
|
||||||
%files -n nodejs-default
|
%files -n nodejs-default
|
||||||
|
|
||||||
@@ -180,6 +163,4 @@ ln node %{buildroot}%{_bindir}/corepack
|
|||||||
|
|
||||||
%files -n nodejs-devel-default
|
%files -n nodejs-devel-default
|
||||||
|
|
||||||
%files -n corepack-default
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user