Add riscv64 to golang_arches for RHEL 10+

Resolves: RHEL-83385

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Andrea Bolognani 2025-03-13 10:46:39 +01:00
parent fc99472bc8
commit 5cc2e0775d

View File

@ -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