diff --git a/podman.spec b/podman.spec index ee7616a..6b11d5d 100644 --- a/podman.spec +++ b/podman.spec @@ -57,7 +57,11 @@ BuildRequires: glib2-devel BuildRequires: glibc-devel BuildRequires: glibc-static BuildRequires: git +%if 0%{?fedora} > 30 +BuildRequires: golang-github-cpuguy83-md2man +%else BuildRequires: go-md2man +%endif BuildRequires: gpgme-devel BuildRequires: libassuan-devel BuildRequires: libgpg-error-devel @@ -432,6 +436,7 @@ ln -s vendor src export GOPATH=$(pwd)/_build:$(pwd) %if 0%{?fedora} +export GO111MODULE=off %gogenerate ./cmd/%{name}/varlink/... %endif