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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint