[Rpm-maint] Patch for bug in /usr/lib/rpm/perl.req

Brian Elliott Finley brian at thefinleys.com
Tue Dec 10 22:05:34 UTC 2013


This patch addresses an issue in perl.req, where it matches on "use" or
"requires" lines within a multi-line print statement, such as:

     print << "EOF";
     Usage:  $progname [OPTION...] [--auto-detect | controller1 controller2...]
     
          Options can be abbreviated to minimum uniqueness.  For example, you could
          use "-h" or "--h" instead of "--help".
     
     EOF


Which results in something like this:

     [$] /usr/lib/rpm/perl.req.orig my_perl_executable
     perl(-h)
     perl(File::Basename)
     perl(Getopt::Long)
     perl(strict)


Which ultimately results in an RPM dependency that cannot be satisfied.
;-)


Cheers,

-Brian



-- 
Brian Elliott Finley
Mobile: 469.444.0167
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-perl.req-dont_match_within_multiline_print_statement.patch
Type: text/x-diff
Size: 1147 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20131210/52f6f26a/attachment.bin>


More information about the Rpm-maint mailing list