Bug 463942 - The %patch number should be stated when there is no Patch:
The %patch number should be stated when there is no Patch:
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-25 12:25 EDT by Patrice Dumas
Modified: 2008-09-25 13:29 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-25 13:29:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Patrice Dumas 2008-09-25 12:25:25 EDT
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 13:29:24 EDT
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.