]> git.pld-linux.org Git - packages/podman.git/commitdiff
use %__go macro for GOCMD
authorJan Palus <atler@pld-linux.org>
Thu, 24 Feb 2022 16:53:57 +0000 (17:53 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 24 Feb 2022 16:53:57 +0000 (17:53 +0100)
podman.spec

index ee79edbd6d74ffa074027401caa2ae6cf9f2b051..e05508d0b225bf1cdcbef48b69a535c377654b9d 100644 (file)
@@ -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}" \
This page took 0.462745 seconds and 4 git commands to generate.