diff options
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 |