From 16f08c49883e75d9d94d516778154643110f56d6 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 21 May 2018 19:15:40 +0000 Subject: [PATCH] varlink and python-podman only for fedora >= 28 Signed-off-by: Lokesh Mandvekar --- podman.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/podman.spec b/podman.spec index dfd83e3..3c73685 100644 --- a/podman.spec +++ b/podman.spec @@ -382,9 +382,11 @@ export GOPATH=$(pwd)/_build:$(pwd):$(pwd):%{gopath} export BUILDTAGS="selinux seccomp $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh) containers_image_ostree_stub" GOPATH=$GOPATH BUILDTAGS=$BUILDTAGS %gobuild -o bin/%{name} %{import_path}/cmd/%{name} -BUILDTAGS=$BUILDTAGS make binaries docs +BUILDTAGS=$BUILDTAGS make %{name} docs %if %{with varlink} +BUILDTAGS=$BUILDTAGS make varlink_generate python-%{name} + #untar contents for python-podman pushd contrib/python/dist tar zxf %{name}*.tar.gz