On 6/25/20 9:22 AM, PGNet Dev wrote:
> On 6/24/20 10:58 PM, Pavel Raiskup wrote:
>> Yes, but you need to do `%define _disable_source_fetch 0` instead.
>> Undefining the macro for some reason breaks rpmbuild.
> 
> breaks -- specifically on COPR?
> 
> _either_ form seems to be ok with rpmbuild -- locally.
> 
> i'll change it in my spec in any case.
>   
>> Not even to me.  I had to look at the code to see what is happening:
>> 1. we create rpmmacros file with some macros:
>> https://pagure.io/copr/copr/blob/58af9ef7cf4b4eccd829b17a2de2afd043b95ce0/f/rpmbuild/copr_rpmbuild/providers/base.py#_26-32
>>
>> 2. then we do
>> https://pagure.io/copr/copr/blob/58af9ef7cf4b4eccd829b17a2de2afd043b95ce0/f/rpmbuild/copr_rpmbuild/providers/spec.py#_25-28
> 
> thx for the code links!
> 
>> First, this is wrong.  We shouldn't use 'rpkg' on host for this task,
>> perhaps we should just use 'mock --buildsrpm --enable-network' here.
> 
> ah.
> 
> iiuc then, this needs to be fixed in online COPR before this'll work?
> 
> 
> 
_______________________________________________
copr-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to