Bug 458261 - rpmbuild does not print any error if a PatchX or SourceX is defined multiple times
Summary: rpmbuild does not print any error if a PatchX or SourceX is defined multiple ...
Keywords:
Status: CLOSED DUPLICATE of bug 458260
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-07 11:20 UTC by Stepan Kasal
Modified: 2008-08-07 11:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-07 11:45:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stepan Kasal 2008-08-07 11:20:39 UTC
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.

Comment 1 Jindrich Novy 2008-08-07 11:45:08 UTC

*** This bug has been marked as a duplicate of bug 458260 ***


Note You need to log in before you can comment on or make changes to this bug.