From a3939de2a61350d5833c02a36f1647be4b350814 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Aug 11 2020 23:10:55 +0000 Subject: add a makefile to allow make srpm in copr --- diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..c77fbab --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,4 @@ +SRPM_OUTDIR :=$(or $(outdir), SRPMS/) +srpm: + rpmbuild -bs "SPECS/centos-packager.spec" --define "%_topdir `pwd`" + mv "SRPMS/"*.src.rpm "$(SRPM_OUTDIR)/"