SHA256
1
0
forked from pool/nodejs22
Adam Majer 2024-05-16 12:37:41 +00:00 committed by Git OBS Bridge
parent 580f45d154
commit 91029cadd3

View File

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