This commit is contained in:
parent
580f45d154
commit
91029cadd3
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package nodejs21
|
||||
# spec file for package nodejs22
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
@ -30,7 +30,7 @@
|
||||
%define ext_man .gz
|
||||
%endif
|
||||
|
||||
Name: nodejs21
|
||||
Name: nodejs22
|
||||
Version: 22.1.0
|
||||
Release: 0
|
||||
|
||||
@ -38,7 +38,7 @@ Release: 0
|
||||
%define _dwz_low_mem_die_limit 20000000
|
||||
%define _dwz_max_die_limit 100000000
|
||||
|
||||
%define node_version_number 21
|
||||
%define node_version_number 22
|
||||
|
||||
# openssl bsc#1192489 - fix released
|
||||
%bcond_without openssl_RSA_get0_pss_params
|
||||
@ -330,11 +330,11 @@ Requires(postun): %{_sbindir}/update-alternatives
|
||||
# either for update-alternatives, or their removal
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
|
||||
Recommends: npm21
|
||||
Recommends: npm22
|
||||
|
||||
#we need ABI virtual provides where SONAMEs aren't enough/not present so deps
|
||||
#break when binary compatibility is broken
|
||||
%global nodejs_abi 21.0
|
||||
%global nodejs_abi 22.0
|
||||
Provides: nodejs(abi) = %{nodejs_abi}
|
||||
|
||||
#this corresponds to the "engine" requirement in package.json
|
||||
@ -395,17 +395,17 @@ uses an event-driven, non-blocking I/O model. Node.js has a package ecosystem
|
||||
provided by npm.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers for NodeJS 21.x
|
||||
Summary: Development headers for NodeJS 22.x
|
||||
Group: Development/Languages/NodeJS
|
||||
Provides: nodejs-devel = %{version}
|
||||
Requires: npm21 = %{version}
|
||||
Requires: npm22 = %{version}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
This package provides development headers for Node.js needed for creation
|
||||
of binary modules.
|
||||
|
||||
%package -n npm21
|
||||
%package -n npm22
|
||||
Summary: Package manager for Node.js
|
||||
Group: Development/Languages/NodeJS
|
||||
%if %{with libalternatives}
|
||||
@ -413,7 +413,7 @@ Requires: nodejs-common >= 5.0
|
||||
%else
|
||||
Requires: nodejs-common
|
||||
%endif
|
||||
Requires: nodejs21 = %{version}
|
||||
Requires: nodejs22 = %{version}
|
||||
Provides: nodejs-npm = %{version}
|
||||
Obsoletes: nodejs-npm < 4.0.0
|
||||
Provides: npm(npm) = 10.7.0
|
||||
@ -594,16 +594,16 @@ Provides: bundled(node-wrap-ansi) = 8.1.0
|
||||
Provides: bundled(node-write-file-atomic) = 5.0.1
|
||||
Provides: bundled(node-yallist) = 4.0.0
|
||||
|
||||
%description -n npm21
|
||||
%description -n npm22
|
||||
A package manager for Node.js that allows developers to install and
|
||||
publish packages to a package registry.
|
||||
|
||||
%package -n corepack21
|
||||
%package -n corepack22
|
||||
Summary: Helper bridge between NodeJS projects and their dependencies
|
||||
Group: Development/Languages/NodeJS
|
||||
Requires: nodejs-common >= 5.0
|
||||
|
||||
%description -n corepack21
|
||||
%description -n corepack22
|
||||
Zero-runtime-dependency package acting as bridge between Node projects
|
||||
and their package managers.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user