Hi Till,
thank you for reporting this. I think VDSM needs Copr repository so we
should try the workaround in my opinion.
Thanks,
Fernando.
On Thu, Feb 6, 2020 at 4:07 PM Till Maas <till(a)redhat.com> wrote:
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
_______________________________________________
nmstate-devel mailing list -- nmstate-devel(a)lists.fedorahosted.org
To unsubscribe send an email to nmstate-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/nmstate-devel@lists.fedoraho...