summaryrefslogtreecommitdiffstats
path: root/.copr
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2022-05-10 09:44:39 +0200
committerArnstein Ressem <aressem@yahooinc.com>2022-05-10 09:44:39 +0200
commit87b39aedb8e0b61703b076c083b74b73d65f6723 (patch)
tree812dfc9c00c3ac3e5ab32966202c910f73568368 /.copr
parent25e3c3a9ac64309593433e87ade9d608c4c2c2e4 (diff)
Copr git >= 2.35.3 requires workaround for source code ownership safety mechanism that we can't control.
Diffstat (limited to '.copr')
-rw-r--r--.copr/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
index d515053b8bc..bb37e1c4401 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -8,6 +8,7 @@ SPECFILE := $(SPECDIR)/vespa-$(VESPA_VERSION).spec
deps:
dnf install -y git 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)
srpm: deps