Red Hat Bugzilla – Bug 458261
rpmbuild does not print any error if a PatchX or SourceX is defined multiple times
Last modified: 2008-08-07 07:45:08 EDT
No error is reported if, e.g., two lines declare Patch4.
Version-Release number of selected component (if applicable):
How reproducible: deterministic
Steps to Reproduce:
I made a typo in my foo.spec:
Then I ran "rpmbuild -bp foo.spec".
There was no errror/warning about the duplicate Patch4 declaration; the second one silently overridden the previous one.
*** This bug has been marked as a duplicate of bug 458260 ***