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:55:23 +00:00
parent 8308fd6dc1
commit 921a60523e

View File

@ -26,6 +26,7 @@ Summary: Libraries for writing CNI plugin
URL: %{git0}
# Tarball fetched from upstream
Source0: %{url}/archive/%{built_tag}.tar.gz
ExclusiveArch: %{golang_arches}
BuildRequires: golang >= 1.16.6
BuildRequires: systemd-devel
BuildRequires: go-rpm-macros