Created attachment 1292343 [details] Sample spec file Description of problem: I have a spec file with sources linked like this(Full spec file attached): %global commit0 cf13c413f641b5816a4fc9cd4b2fb248c81bf2bd URL: https://github.com/verateam/%{name} Source0: https://github.com/verateam/%{name}/archive/%{commit0}.tar.gz Following this doc: https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Git_Hosting_Services locally it works with: spectool -g -R vera.spec && rpmbuild -bs ./vera.spec && rpmbuild -bb ./vera.spec Actual results: It doesn't build on copr, because it doesn't fetch sources: https://copr.fedorainfracloud.org/coprs/ajeandet/SciQLop/build/570647/ Expected results: Additional info:
This should be implemented in Mock first before we can do that in Copr.
In the mean time this have been implemented in rpkg-client https://pagure.io/rpkg-client So you should create srpm using rpkg-client and then build it in Copr/Mock.