From 8ee0f2bf912c3dc2d299b6efedece6dfb4816195 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 29 May 2018 15:34:39 -0500 Subject: add go generate varlink to copr spec Now that we make the varlink .go file on the fly, we need to have the spec call go generate on it to build properly. Signed-off-by: baude Closes: #843 Approved by: baude --- contrib/spec/podman.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/spec') diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in index 9d6e37987..9a010e5af 100644 --- a/contrib/spec/podman.spec.in +++ b/contrib/spec/podman.spec.in @@ -383,6 +383,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 binaries docs -- cgit v1.2.3-54-g00ecf