Hi,
https://pagure.io/copr/copr/issue/1258
breaks our Copr Git builds currently. A possible workaround might be
diff --git a/.copr/Makefile b/.copr/Makefile
index b5d5c22..47dae83 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -3,4 +3,5 @@ SRPM_DEPENDENCIES=python$(python_major_version)-setuptools git
srpm:
rpm -q --whatprovides $(SRPM_DEPENDENCIES) || dnf -y install
$(SRPM_DEPENDENCIES)
- $(dir $(realpath $(firstword
$(MAKEFILE_LIST))))../packaging/make_srpm.sh
+ # su needed as a workaround for
https://pagure.io/copr/copr/issue/1258
+ su -c '$(dir $(realpath $(firstword
$(MAKEFILE_LIST))))../packaging/make_srpm.sh' - mockbuild
In case anyone needs the repo urgently, we can try this. Otherwise we
can wait for a hotfix in Copr.
Kind regards
Till
--
Till Maas
He/His/Him
Ansible RHEL Networking System Role Maintainer
Red Hat GmbH,
http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Laurie Krebs, Michael O'Neill,
Thomas Savage