On Fri, 2018-05-25 at 23:12 +0000, Dmytro Zagashev wrote:
> hi, 
> 
> I have the following command at the top of spec file:
> 
> %define version %(git ls-remote --tags --refs https://gitlab.com/libi
> dn/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?

Add on your .spec 

BuidRequires: git 


> _______________________________________________
> copr-devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> rg
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelin
> es
> List Archives: https://lists.fedoraproject.org/archives/list/copr-dev
> [email protected]/message/6ANNTHDKNEVA246UR2EKWOWUPDHEDLCT/
-- 
Sérgio M. B.
_______________________________________________
copr-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/QXM25J46U55U4NGJ2WQ5O26R2QZ6FZP3/

Reply via email to