diff options
author | Brent Baude <bbaude@redhat.com> | 2018-02-28 19:44:41 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 19:44:41 -0600 |
commit | 33d63429e4088c6b2314513e8791db0a388a51f6 (patch) | |
tree | 80fcfb5806c81eeb1253aa28f1af2d8af60ccdca /.copr/Makefile | |
parent | db388c23ea80b6b7d9cfb79a01b32eee4aeaf2be (diff) | |
parent | 17266e9c75f34dee37dd3e596fdf7068d00bd129 (diff) | |
download | podman-33d63429e4088c6b2314513e8791db0a388a51f6.tar.gz podman-33d63429e4088c6b2314513e8791db0a388a51f6.tar.bz2 podman-33d63429e4088c6b2314513e8791db0a388a51f6.zip |
Merge pull request #428 from baude/coproutdir
copr outdir
Diffstat (limited to '.copr/Makefile')
-rw-r--r-- | .copr/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.copr/Makefile b/.copr/Makefile index 3ba480376..a2a6e93ca 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -1,7 +1,8 @@ #!/usr/bin/make -f mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path)))) +outdir := $(CURDIR) srpm: sh $(current_dir)/prepare.sh - rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir ./" --nodeps contrib/spec/podman.spec + rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir $(outdir)" --nodeps contrib/spec/podman.spec |