[Rpm-maint] [rpm-software-management/rpm] Change in behaviour from 4.14 to 4.15 when calling rpmbuild --nobuild (#875)

Florian Festi notifications at github.com
Wed Nov 13 16:50:55 UTC 2019


OK, the behaviour of 4.14 is rather crude:
```
rpmbuild --nobuild ~/rpmbuild/SPECS/test.spec 
error: Failed build dependencies:
	foobar is needed by test-1-1.fc30.x86_64
```
`rpmbuild ~/rpmbuild/SPECS/test.spec` has no output
`rpmbuild --bs --nobuild ~/rpmbuild/SPECS/test.spec` has no output

```
./rpmbuild --bb --nobuild ~/rpmbuild/SPECS/test.spec 
error: Failed build dependencies:
	foobar is needed by test-1-1.fc30.x86_64
```
The last command works with 4.15, too. So while this is a change in behaviour I would argue that 4.15 behaves more consistently by not doing more when adding `--nobuild`. Is there any reason you can't use `--bb --nobuild`? Yes, it is kinda weird to tell rpmbuild to do abuild and then not to build but that's what get's the test run...


-- 
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/issues/875#issuecomment-553490244
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191113/eb5e10d8/attachment.html>


More information about the Rpm-maint mailing list