Red Hat Bugzilla – Bug 1465480
RFE -Use spectool to fetch sources
Last modified: 2017-12-25 16:33:46 EST
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
Following this doc:
locally it works with:
spectool -g -R vera.spec && rpmbuild -bs ./vera.spec && rpmbuild -bb ./vera.spec
It doesn't build on copr, because it doesn't fetch sources:
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
So you should create srpm using rpkg-client and then build it in Copr/Mock.