From 934baa25fe200c6f8e83440d61cb5fce7edfafda Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 28 Oct 2022 15:57:50 +0000 Subject: [PATCH] Update ExclusiveArch This fails to build on ELN due to golang not being on i686 for ELN. golang_arches is the proper way to control the arches. --- runc.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runc.spec b/runc.spec index bd459a1..facba13 100644 --- a/runc.spec +++ b/runc.spec @@ -37,9 +37,7 @@ License: ASL 2.0 and BSD and MIT URL: %{git0} Source0: %{git0}/archive/%{built_tag}/%{name}-%{version}.tar.gz -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -#ExclusiveArch: %%{?go_arches:%%{go_arches}}%%{!?go_arches:%%{ix86} x86_64 %%{arm}} -ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le %{mips} s390x +ExclusiveArch: %{golang_arches} # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. %if 0%{?fedora} BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}