]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- avoid tripping old dep generators with R: perl(\s+)
authorradek <radek@pld-linux.org>
Sun, 26 Oct 2008 09:57:45 +0000 (09:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-perl_req-use_base.patch -> 1.6

rpm-perl_req-use_base.patch

index d4376604312f00d15f1da6d014469c740105489c..cdb0a7cd6753877dd445824bfa87228677df5bf1 100644 (file)
@@ -1,14 +1,13 @@
 --- rpm-5.1.4/scripts/perl.req 2008-08-20 21:27:09.929116479 +0200
-+++ rpm-5.1.4/scripts/perl.req 2008-08-20 21:27:25.919114230 +0200
-@@ -196,7 +196,29 @@
++++ rpm-5.1.4/scripts/perl.req 2008-10-26 10:48:31.529709016 +0100
+@@ -196,7 +196,28 @@
        }
      }
  
 -    if ( 
 +    # handle "use base qw/ foo::bar baz::blah /;" and variations
 +    if (
-+        m/^ \s*
-+           use \s+ base
++        m/^ \s* use \s+ base
 +           (?:  \s+ q[wq]? \s* ( [!@#\$%^&*'"\/+=`~,.?-] ) \s* ( [\w:]+? (?: \s+[\w:]+? )*? ) \s* \1
 +               |
 +                \s* ( ["'] ) ( [\w:]+? ) \3
This page took 0.048089 seconds and 4 git commands to generate.