From 6fe3e24b4e36db84ccb5341df225048c1c409fce Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Thu, 20 Jun 2024 12:17:57 +0530 Subject: [PATCH] spec: set golang_arches macro to only build for x86 and aarch64 gometa sets ExclusiveArch to golang_arches which is all the architectures supported by golang, we redefine it to only build for x86 and aarch64 --- crc-admin-helper.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc-admin-helper.spec.in b/crc-admin-helper.spec.in index 87250d9..919b740 100644 --- a/crc-admin-helper.spec.in +++ b/crc-admin-helper.spec.in @@ -3,6 +3,7 @@ %global goname crc-admin-helper Version: 0.5.3 +%global golang_arches x86_64 aarch64 %gometa %global gobuilddir %{_builddir}/%{archivename}/_build @@ -29,7 +30,6 @@ Name: %{goname} Release: 1%{?dist} Summary: CRC's helper with administrative privileges License: MIT -ExclusiveArch: x86_64 aarch64 URL: %{gourl} Source0: %{gosource}