On 6/25/20 10:08 AM, Pavel Raiskup wrote:
> breaks -- specifically on COPR?
> _either_ form seems to be ok with rpmbuild -- locally.
Good question. I don't think so, but I didn't get to more deep observation yet.
Have you tried to put `%define _disable_source_fetch 0` into your ~/.rpmmacros,
and then put %undefine into the spec, and is it still working? (copr isn't
doing anything else).
nope ... I can give it a whirl. tho' not clear on what that tells me, or why it might
be a 'solution'
> i'll change it in my spec in any case.
Good, just let me know it is OK.
k
> iiuc then, this needs to be fixed in online COPR before
this'll work?
We need to fix copr so it works with the %undefine variant, yes. At least if
it is valid configuration. I did not check the semantics of the macros across
distro versions, but what makes you think that "undefining" the macro is
equivalent to allow "download random spec-requested blobs from the internet"?
initially, while scrounging around trying to _not_ have to manually use spectool 1st,
these:
https://stackoverflow.com/questions/33177450/how-do-i-get-rpmbuild-to-dow...
https://jmahler.github.io/linux/2018/06/28/fedora_package_development.html
https://gitlab.cern.ch/eos/eos-folly/commit/e213d77fa90019b17d5d568301563...
not saying those are right/reliable, just frequent -- and what was found.
i've been working with Fedora for a whopping 3-4 days now; a bit challenging at 1st to
find thorough docs / examples on this^
and of course, the 'migration' isn't, atm, helping get at useful info ...