From 5cc2e0775de3ca390e83a1045a1dcf0df3fa59ed Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 13 Mar 2025 10:46:39 +0100 Subject: [PATCH] Add riscv64 to golang_arches for RHEL 10+ Resolves: RHEL-83385 Signed-off-by: Andrea Bolognani --- go-rpm-macros.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go-rpm-macros.spec b/go-rpm-macros.spec index ec90151..94c5a98 100644 --- a/go-rpm-macros.spec +++ b/go-rpm-macros.spec @@ -13,6 +13,9 @@ Version: 3.6.0 %if 0%{?rhel} >= 9 %global golang_arches x86_64 aarch64 ppc64le s390x %endif +%if 0%{?rhel} >= 10 +%global golang_arches x86_64 aarch64 ppc64le s390x riscv64 +%endif # Go sources can contain arch-specific files and our macros will package the # correct files for each architecture. Therefore, move gopath to _libdir and # make Go devel packages archful