https://bugzilla.redhat.com/show_bug.cgi?id=1184662 Bug ID: 1184662 Summary: more bad requires generated by "use" in heredoc Product: Fedora Version: 21 Component: perl-generators Severity: low Assignee: jplesnik@xxxxxxxxxx Reporter: jrowens.fedora@xxxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: jplesnik@xxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx, psabata@xxxxxxxxxx Description of problem: Much like my old bug #198033, perl.req is finding the phrase "use for" at the beginning of a line within a "print <<END" heredoc, and generating a "perl(for)" requires which isn't satisfiable. Version-Release number of selected component (if applicable): perl-generators-1.00-1.fc21.noarch How reproducible: consistently Steps to Reproduce: 1. get & prep pgp-tools-1.1.10-1.fc21.src.rpm (currently in testing) 2. rpmbuild -bb SPECS/pgp-tools.spec (or -ba) Actual results: requires perl(for) Expected results: does not require perl(for) Additional info: There's already a section to skip over some heredocs, but only ones following an assignment '=', lines 86-96 in /usr/lib/rpm/perl.req. It should be pretty simple to tweak that to at least allow it to work for heredocs following "echo" & "print" as well. I'm not sure that there aren't other uses for "<<", but maybe it would be for the best to just count it as heredoc opening regardless of what comes before it on the line? If that leads to skipping all the rest of the file in some cases, well, that would be a bad thing. -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=c63dEZHgNP&a=cc_unsubscribe -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel