summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-05-29 15:34:39 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-29 20:59:08 +0000
commit8ee0f2bf912c3dc2d299b6efedece6dfb4816195 (patch)
tree1fc5328201928d1556fdb8b8b916cee52604f52b
parent8b3f8076c719993414c884685a54917cb1609c10 (diff)
downloadpodman-8ee0f2bf912c3dc2d299b6efedece6dfb4816195.tar.gz
podman-8ee0f2bf912c3dc2d299b6efedece6dfb4816195.tar.bz2
podman-8ee0f2bf912c3dc2d299b6efedece6dfb4816195.zip
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 <bbaude@redhat.com> Closes: #843 Approved by: baude
-rw-r--r--contrib/spec/podman.spec.in1
1 files changed, 1 insertions, 0 deletions
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