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.
This commit is contained in:
parent
1053a0f621
commit
934baa25fe
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user