From f71ffd5236525c31612910455c9b789025ae2cc4 Mon Sep 17 00:00:00 2001
From: Steeve Goveas <sgoveas@redhat.com>
Date: Wed, 26 Aug 2020 20:04:19 +0530
Subject: [PATCH] use prerealease option in make srpm script

With --prereleasae option enabled make_srpm.sh script can set different
version each time copr build is created. It adds date time and git
commit hash in the build version.
eg.
2.3.2-0.20200826.1356.gitdb1049057.fc31

Signed-off-by: Steeve Goveas <sgoveas@redhat.com>
---
 .copr/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.copr/Makefile b/.copr/Makefile
index 37abd38190..bce9156d98 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -1,3 +1,3 @@
 srpm:
 	dnf -y install git rpm-build dnf-plugins-core libldb-devel
-	./contrib/fedora/make_srpm.sh --output $(outdir)
+	./contrib/fedora/make_srpm.sh --prerelease --output $(outdir)
