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
I don't see anything related to rpmdevtools here, reassinging to rpm.
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
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.
Applied upstream, thanks for the patch. Doesn't seem worth separately tracking for Fedora though.