Bug 463942 - The %patch number should be stated when there is no Patch:
Summary: The %patch number should be stated when there is no Patch:
Keywords:
Status: CLOSED RAWHIDE
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-09-25 16:25 UTC by Patrice Dumas
Modified: 2008-09-25 17:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-25 17:29:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Patrice Dumas 2008-09-25 16:25:25 UTC
Description of problem:

I try to rebuild the cernlib package in fedora, and I get:

error: %patch without corresponding "Patch:" tag

However (unless I am missing something) all the %patch have a -P, 
so, either it is a rpmbuild bug, or the error message should state 
the -P number.

Version-Release number of selected component (if applicable):

rpm-build-4.5.90-0.git8461.7.i386

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jindrich Novy 2008-09-25 17:29:24 UTC
Yup, it is a rpmbuild bug. It is now fixed upstream and in 4.5.90-0.git8461.8.

It no more complains if %patch is used with -P.


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