From 13cdf58063ea156f5bce7d55058caf0f00bbc0cf Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 29 May 2018 15:36:53 -0500 Subject: [PATCH] generate the varlink go file prior to build Signed-off-by: baude --- podman.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/podman.spec b/podman.spec index d7e54a6..5360483 100644 --- a/podman.spec +++ b/podman.spec @@ -381,6 +381,7 @@ ln -s vendor src 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 go generate ./cmd/podman/varlink/... GOPATH=$GOPATH BUILDTAGS=$BUILDTAGS %gobuild -o bin/%{name} %{import_path}/cmd/%{name} BUILDTAGS=$BUILDTAGS make %{name} docs