[packages/podman] use %__go macro for GOCMD

atler atler at pld-linux.org
Thu Feb 24 18:13:03 CET 2022


commit 48a1ddc7423fc713604a170a216b8267a4bcd02b
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 24 17:53:57 2022 +0100

    use %__go macro for GOCMD

 podman.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/podman.spec b/podman.spec
index ee79edb..e05508d 100644
--- a/podman.spec
+++ b/podman.spec
@@ -18,7 +18,7 @@ BuildRequires:	gpgme-devel
 BuildRequires:	libseccomp-devel
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.644
+BuildRequires:	rpmbuild(macros) >= 2.009
 BuildRequires:	systemd-devel
 Requires:	conmon
 Requires:	containernetworking-plugins
@@ -74,6 +74,7 @@ Zsh completion for podman command.
 %build
 %{__make} \
 	GO=/usr/bin/go \
+	GOCMD="CGO_ENABLED=1 %__go" \
 	GOPATH=$(pwd)/.gopath \
 	PREFIX="%{_prefix}" \
 	BINDIR="%{_bindir}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/podman.git/commitdiff/d113c837f4e31163d34e7b77cfff1920489fa122



More information about the pld-cvs-commit mailing list