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...
>
> 2. then we do
>
https://pagure.io/copr/copr/blob/58af9ef7cf4b4eccd829b17a2de2afd043b95ce0...
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?