[packages/audit] use %go_arches macro to determine if golang should be used
atler
atler at pld-linux.org
Thu Jun 1 17:34:51 CEST 2023
commit 7325064491e1522d30c479e608f8e76b57c5cec3
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jun 1 17:29:04 2023 +0200
use %go_arches macro to determine if golang should be used
audit.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/audit.spec b/audit.spec
index 7ec800b..ed2ffbe 100644
--- a/audit.spec
+++ b/audit.spec
@@ -8,7 +8,7 @@
%bcond_without python3 # Python 3 bindings
%bcond_without zos_remote # zos-remote audisp plugin (LDAP dep)
-%ifnarch %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
+%ifnarch %{go_arches}
%define with_gccgo 1
%endif
@@ -58,7 +58,7 @@ BuildRequires: python3-devel
BuildRequires: rpm-pythonprov
BuildRequires: swig-python
%endif
-BuildRequires: rpmbuild(macros) >= 1.750
+BuildRequires: rpmbuild(macros) >= 2.009
BuildRequires: sed >= 4.0
%if %{with golang}
%{?with_gccgo:BuildRequires: gcc-go >= 5.1}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/audit.git/commitdiff/c7fb68218d7ae403f94217dd7fdf4e97a40b0d89
More information about the pld-cvs-commit
mailing list