[packages/containernetworking-plugins] use %go_arches macro for EA:

atler atler at pld-linux.org
Mon Mar 14 12:41:16 CET 2022


commit d99747cc48936b608596330c4560386cbc5c719c
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Mar 9 22:18:32 2022 +0100

    use %go_arches macro for EA:

 containernetworking-plugins.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec
index c748bd6..582fcb8 100644
--- a/containernetworking-plugins.spec
+++ b/containernetworking-plugins.spec
@@ -9,8 +9,8 @@ Source0:	https://github.com/containernetworking/plugins/archive/v%{version}/%{na
 # Source0-md5:	c37fed40151ddf0a00ef265c9dd91742
 URL:		https://github.com/containernetworking/plugins/
 BuildRequires:	golang
-BuildRequires:	rpmbuild(macros) >= 2.005
-ExclusiveArch:	%{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
+BuildRequires:	rpmbuild(macros) >= 2.009
+ExclusiveArch:	%go_arches
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_debugsource_packages	0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/containernetworking-plugins.git/commitdiff/ff970822722455182735eb6248f139ef81201a38



More information about the pld-cvs-commit mailing list