[Rpm-maint] [rpm-software-management/rpm] Added option to rpmbuild to check the build dependencies (-bd, -td, -rd) (#876)

Florian Festi notifications at github.com
Mon Nov 18 11:32:55 UTC 2019


Ok, opposite to what is discussed in #875 this patch does not the same thing as `rpmbuild -bb --nobuild`. The later does not execute `%generate_buildrequires` while this patch clearly tries to do that. In it's function it is very close to -br but does not build the srpm if no issue is encountered.
This is a legitimate use case that is currently covered by the cli. One can discuss whether this would be achieved with a new top level command or with a switch for -br.
Another issue is that there are actually 3 possible behaviours:

1. -br which builds an SRPM or a buildrequires.rpm on missing buildrequires
2. the suggested -bd which builds a buildrequires.rpm on missing buildrequires
3. don't build anything at all. only give an error message if needed.

Which asks the question whether case 3 should be dealt with, too, now that we are at it.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/876#issuecomment-554977197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191118/c361fe1b/attachment.html>


More information about the Rpm-maint mailing list