summaryrefslogtreecommitdiffstats
path: root/.copr
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2021-09-22 13:21:36 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2021-09-22 13:21:36 +0200
commit1d0eeab6555fd8c85bf7d22bd57e66204aefd8c9 (patch)
tree2877757959d868c01befe5dd02d50a759973e6d3 /.copr
parentf9880debc9bfe57b4129c1abfccccf334bb442d7 (diff)
Drop tito in favour of srpm generation on Copr.
Diffstat (limited to '.copr')
-rw-r--r--.copr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
index 5b097ba0ad9..488f2360450 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -2,7 +2,7 @@
TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
# Version
-VESPA_VERSION := $(shell git tag --points-at HEAD | grep -oP "\d+\.\d+\.\d+" | sort -V | tail -1)
+VESPA_VERSION = $(shell git tag --points-at HEAD | grep -oP "\d+\.\d+\.\d+" | sort -V | tail -1)
RPMTOPDIR := $(HOME)/rpmbuild
SOURCEDIR := $(RPMTOPDIR)/SOURCES
@@ -10,7 +10,7 @@ SPECDIR := $(RPMTOPDIR)/SPECS
SPECFILE := $(SPECDIR)/vespa-$(VESPA_VERSION).spec
srpm:
- dnf install -y rpmdevtools
+ dnf install -y git rpmdevtools
$(TOP)/../dist.sh $(VESPA_VERSION)
spectool -g -C $(SOURCEDIR) $(SPECFILE)
rpmbuild -bs --define "_topdir $(RPMTOPDIR)" $(SPECFILE)