When building a package with the latest mock version, mock-0.7.2-1.fc6.1,
rpmbuild errors don't get caught by mock - it exits normally.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an SRPM which would generate rpmbuild errors (example: installed file
not listed in %files)
2. Run mock to build that SRPM
mock exits with 0 status, no error messages printed out:
This may take a while
Results and/or logs in: /var/lib/mock/fedora-6-i386-core/result
$ echo $?
$ tail -3 /var/lib/mock/fedora-6-i386-core/result/build.log
RPM build errors:
Installed (but unpackaged) file(s) found:
mock should report/display rpmbuild error and exit with some error code.
I'm getting the same problem with mock-0.7.2-1.fc7
*** This bug has been marked as a duplicate of 244596 ***