From 6458deb344851130286b29b6e256cd783675dd02 Mon Sep 17 00:00:00 2001 From: Francisco Trivino <ftrivino@redhat.com> Date: Mon, 24 Aug 2020 12:00:38 +0200 Subject: [PATCH] Adding auto COPR builds This commit adds .copr/Makefile that calls the executable script (build-srpm.sh) to be used for COPR SRPM generation. --- .copr/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .copr/Makefile diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 00000000..a11b200e --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,9 @@ +srpm: + # Setup development environment + echo "Installing base development environment" + dnf install -y dnf-plugins-core git-all + echo "Call SRPM build Script" + ./utils/build-srpm.sh + if [[ "${outdir}" != "" ]]; then \ + mv /builddir/build/SRPMS/* ${outdir}; \ + fi -- GitLab