From 94e0027fe61658ece2bd84c9be955c5d568cc453 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 13 Nov 2024 11:40:29 +0200 Subject: [PATCH] Make default on F41 (temporary change) We need /usr/bin/node to build NodeJS 22 as default. Signed-off-by: David Abdurachmanov --- nodejs20.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs20.spec b/nodejs20.spec index b264e1e..17907b5 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -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