summaryrefslogtreecommitdiff
path: root/.copr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.copr/Makefile')
-rw-r--r--.copr/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
index 45b6745..7579fcb 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -8,9 +8,10 @@ $(error More than one spec file: $(spec))
endif
outdir ?= $(CURDIR)
-srpm: $(spec) /usr/bin/spectool
+srpm: $(spec) /usr/bin/spectool /usr/bin/rpmautospec
spectool -g $(spec)
sha512sum -c sources
+ rpmautospec process-distgit $(spec) $(spec)
rpmbuild -D "_srcrpmdir $(outdir)" -D "_sourcedir $(CURDIR)" -bs $(spec)
.PHONY: srpm