No error is reported if, e.g., two lines declare Patch4. Version-Release number of selected component (if applicable): rpm-4.5.90-0.git8426.9.i386 How reproducible: deterministic Steps to Reproduce: I made a typo in my foo.spec: Patch4: foo-fourth.patch Patch4: foo-fifth.patch ... %patch4 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 ***