diff options
Diffstat (limited to '.copr')
-rw-r--r-- | .copr/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.copr/Makefile b/.copr/Makefile index 8a250988eab..c70f35f4450 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -7,7 +7,8 @@ SPECDIR := $(RPMTOPDIR)/SPECS SPECFILE := $(SPECDIR)/vespa-$(VESPA_VERSION).spec deps: - dnf install -y git rpmdevtools + rpm -q git &>/dev/null || dnf install -y git + rpm -q rpmdevtools &>/dev/null || dnf install -y rpmdevtools git config --global --add safe.directory $$(realpath $(TOP)/..) srpm: VESPA_VERSION = $$(git tag --points-at HEAD | grep -oP "\d+\.\d+\.\d+" | sort -V | tail -1) |