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}