mirror of https://github.com/containers/podman.git
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
This commit is contained in:
parent
8b3f8076c7
commit
8ee0f2bf91
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue