Make default on F41 (temporary change)

We need /usr/bin/node to build NodeJS 22 as default.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-11-13 11:40:29 +02:00
parent 9243c6f81c
commit 94e0027fe6
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -2,7 +2,7 @@
# The default version will own /usr/bin/node and friends
%global nodejs_pkg_major 20
%if 0%{?fedora} == 39 || 0%{?fedora} == 40 || 0%{?rhel} == 10
%if 0%{?fedora} == 39 || 0%{?fedora} == 40 || 0%{?fedora} == 41 || 0%{?rhel} == 10
%global nodejs_default %{nodejs_pkg_major}
%endif
@ -135,7 +135,7 @@
Name: nodejs%{nodejs_pkg_major}
Epoch: %{nodejs_epoch}
Version: %{nodejs_version}
Release: %{nodejs_release}
Release: %{nodejs_release}.0.riscv64
Summary: JavaScript runtime
# see bundled_licenses.py, which helps identify licenses in bundled NPM modules
License: Apache-2.0 AND Artistic-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BlueOak-1.0.0 AND CC-BY-3.0 AND CC0-1.0 AND ISC AND MIT