[Rpm-maint] [rpm-software-management/rpm] The --noprep option executes %mkbuilddir which breaks %generate_buildrequires in Mock (Issue #3120)

Panu Matilainen notifications at github.com
Thu May 23 03:41:58 UTC 2024


My first reaction to this is: "we have --noprep? :flushed: "
I mean, in my 20+ years of life around rpm I must've seen that option *somewhere* but I had absolutely norecollection it existed. Much less that anybody would be using it.

I can see why mock would use such a thing, but I'm not really comfortable with that because it seems that mock is now driving the build and not rpmbuild. And this means any changes to rpmbuild are even more difficult than they are otherwise.

That said, I'm not exactly surprised that %mkbuilddir breaks *something* because it is quite a big change. Lets see what we can do about it, on the outset --noprep disabling %mkbuilddir seems reasonable but I'm only halfway into my first coffee...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3120#issuecomment-2126174025
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3120/2126174025 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240522/8f8f88df/attachment.html>


More information about the Rpm-maint mailing list