Bug 477516

Summary: perl and dependencies
Product: [Fedora] Fedora Reporter: Chitlesh GOORAH <chitlesh>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: ffesti, jnovy, pmatilai, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-15 07:05:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Candidate fix none

Description Chitlesh GOORAH 2008-12-21 13:53:51 UTC
Description of problem:
rpmbuild is taking "use module" found in comments as Requires:

Examples:

=for To do:
use regexp-generating
=cut

rpmbuild takes perl(regexp::generating) as a Requires, which is wrong.


Version-Release number of selected component (if applicable):
rpmdevtools-6.7-1.fc9.noarch

How reproducible:
everytime.

Steps to Reproduce:
1. rebuild the srpm http://chitlesh.fedorapeople.org/RPMS/perl-Hardware-Vhdl-Lexer-1.00-1.fc10.src.rpm
2. now comment the workaround mentioned in the spec
3. you will see commenting the workaround, add perl(regexp::generating) as Requires
  
Actual results:
rpmbuild takes perl(regexp::generating) as a Requires

Expected results:
No requires for module in commented codes

Additional info:
Bug 477515 -  Review Request: perl-Hardware-Vhdl-Lexer - Split VHDL code into lexical tokens

Comment 1 Ville Skyttä 2008-12-21 15:30:11 UTC
I don't see anything related to rpmdevtools here, reassinging to rpm.

Comment 2 Bug Zapper 2009-06-09 10:28:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Ville Skyttä 2010-02-03 18:38:26 UTC
Created attachment 388590 [details]
Candidate fix

perl.{req,prov} try to skip over POD sections, but don't know about =for.  The attached patch should fix it.

Comment 4 Panu Matilainen 2010-02-15 07:05:24 UTC
Applied upstream, thanks for the patch. Doesn't seem worth separately tracking for Fedora though.