diff options
Diffstat (limited to '.copr/Makefile')
-rw-r--r-- | .copr/Makefile | 4 |
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) |