[packages/geoipupdate/dropin: 1/3] Add ExclusiveArch on go arches

glen glen at pld-linux.org
Mon Sep 5 17:32:34 CEST 2022


commit e2e8a7c513184ab8e2b2a1cf41ee5a151a17c25d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Sep 5 18:20:11 2022 +0300

    Add ExclusiveArch on go arches

 geoipupdate.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/geoipupdate.spec b/geoipupdate.spec
index 03c4eda..6b2ff86 100644
--- a/geoipupdate.spec
+++ b/geoipupdate.spec
@@ -11,10 +11,12 @@ Source0:	https://github.com/maxmind/geoipupdate/archive/refs/tags/v%{version}/%{
 URL:		https://github.com/maxmind/geoipupdate
 BuildRequires:	curl-devel
 BuildRequires:	golang >= 1.3.1
+BuildRequires:	rpmbuild(macros) >= 2.009
 BuildRequires:	zlib-devel
 Provides:	GeoIP-update = %{version}-%{release}
 Obsoletes:	GeoIP-update <= 2.2.2-2
 Conflicts:	GeoIP < 1.6.0
+ExclusiveArch:	%go_arches
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/geoipupdate.git/commitdiff/4971c447f1c8f1307c34cc0287ae8a7f685af082



More information about the pld-cvs-commit mailing list