summaryrefslogtreecommitdiff
path: root/.copr
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-28 19:43:55 -0600
committerbaude <bbaude@redhat.com>2018-02-28 19:43:55 -0600
commit17266e9c75f34dee37dd3e596fdf7068d00bd129 (patch)
tree80fcfb5806c81eeb1253aa28f1af2d8af60ccdca /.copr
parentdb388c23ea80b6b7d9cfb79a01b32eee4aeaf2be (diff)
downloadpodman-17266e9c75f34dee37dd3e596fdf7068d00bd129.tar.gz
podman-17266e9c75f34dee37dd3e596fdf7068d00bd129.tar.bz2
podman-17266e9c75f34dee37dd3e596fdf7068d00bd129.zip
copr outdir
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to '.copr')
-rw-r--r--.copr/Makefile3
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