diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..5448026 --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +srpm: + # Setup development environment + dnf install -y git make curl gzip tar rpm-build golang + + # Generate SRPM + make rpm/srpm + + if [[ "${outdir}" != "" ]]; then \ + mv dist/rpmbuild/SRPMS/* ${outdir}/; \ + fi