From 0456bec646f3e6c26e15713db4df45dc403f20c0 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 13 Nov 2024 14:04:51 +0200 Subject: [PATCH] Try to fix Provides/Requires Current binaries are not installable: nothing provides nodejs-libs(riscv-64) = 1:20.18.0-3.fc41 needed by nodejs-1:20.18.0-3.fc41.0.riscv64.riscv64 from build Signed-off-by: David Abdurachmanov --- nodejs20.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs20.spec b/nodejs20.spec index 17907b5..af49883 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -36,7 +36,7 @@ # This is used by both the nodejs package and the npm subpackage that # has a separate version - the name is special so that rpmdev-bumpspec # will bump this rather than adding .1 to the end. -%global baserelease %autorelease +%global baserelease %{autorelease -e 0.riscv64} %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} @@ -135,7 +135,7 @@ Name: nodejs%{nodejs_pkg_major} Epoch: %{nodejs_epoch} Version: %{nodejs_version} -Release: %{nodejs_release}.0.riscv64 +Release: %{nodejs_release} 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