Add ExclusiveArch

If using golang, then you needs to use ExclusiveArch for those arches that do not have golang.
This commit is contained in:
Troy Dawson 2022-10-28 15:58:35 +00:00
parent d823873396
commit d99106158e

View File

@ -10,6 +10,7 @@ Summary: slirp for network namespaces
URL: https://github.com/rootless-containers/%{name} URL: https://github.com/rootless-containers/%{name}
# Tarball fetched from upstream # Tarball fetched from upstream
Source0: %{url}/archive/%{built_tag}.tar.gz Source0: %{url}/archive/%{built_tag}.tar.gz
ExclusiveArch: %{golang_arches}
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: go-md2man BuildRequires: go-md2man