hi,
I have the following command at the top of spec file:
%define version %(git ls-remote --tags --refs
https://gitlab.com/libidn/libidn2.git |
tail -n 1 | awk -F'-' '{print $2}')
When I build rpm in copr, using make-srpm, I get error:
sh: git: command not found
How I can add required commands to the chroot?
Do you have the logs? Usually such error output is seen when the SRPM is
generated, not RPM. And very often that's just warning and the error is
somewhere else, see
_______________________________________________
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahost...