From cbc401024e4a8adaaaff2e3f8ca2651f95babd9c Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 17 Jan 2023 11:29:15 +0200 Subject: [PATCH] Add riscv64 to nodejs and java arches Signed-off-by: David Abdurachmanov --- macros.java-srpm | 2 +- macros.nodejs-srpm | 2 +- redhat-rpm-config.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/macros.java-srpm b/macros.java-srpm index a32a7fd..4d35a9f 100644 --- a/macros.java-srpm +++ b/macros.java-srpm @@ -1,2 +1,2 @@ # Arches that OpenJDK and dependent packages run on -%java_arches aarch64 ppc64le s390x x86_64 +%java_arches aarch64 ppc64le s390x x86_64 riscv64 diff --git a/macros.nodejs-srpm b/macros.nodejs-srpm index faf03a7..cb0f724 100644 --- a/macros.nodejs-srpm +++ b/macros.nodejs-srpm @@ -4,4 +4,4 @@ # those arches. Support for POWER and aarch64 arrived in nodejs v4. Support # for s390x arrived in nodejs v6 -%nodejs_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x +%nodejs_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x riscv64 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index a50d48c..b671490 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -9,7 +9,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: %{baserelease} -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} # No version specified. License: GPL+ URL: https://src.fedoraproject.org/rpms/redhat-rpm-config @@ -221,6 +221,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Tue Jan 17 2023 David Abdurachmanov - 244-1.0.riscv64 +- Add riscv64 to nodejs and java arches + * Mon Jan 16 2023 Tom Stellard - 244-1 - Make -flto=thin the default lto flag for clang