]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- skip .h && .html files when looking for for perl requires/provides
authorpius <pius@pld-linux.org>
Wed, 10 Nov 1999 19:26:20 +0000 (19:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-perl-macros.patch -> 1.15

rpm-perl-macros.patch

index dfaa50e6d203cd76a31152eadfa761d607e6d1c2..b6a0625181db3b97fb058d22fea444de26714a6f 100644 (file)
    foreach (@ARGV) {
 -    process_file($_);
 +    if (m=/usr/(bin|lib|share|X11R6/(lib|bin))/=) {
-+      if (! m=(/(doc|man|info|usr/src)/|\.so$)=) {
++      if (! m=(/(doc|man|info|usr/src)/|\.(so|pl|ph|h|html|pod)$)=) {
 +        process_file($_);
 +      }
 +    }
    foreach (<>) {
 -    process_file($_);
 +    if (m=/usr/(bin|lib|share|X11R6/(lib|bin))/=) {
-+      if (! m=(/(doc|man|info|usr/src)/|\.(so|pl|ph)$)=) {
++      if (! m=(/(doc|man|info|usr/src)/|\.(so|pl|ph|h|html|pod)$)=) {
 +        process_file($_);
 +      }
 +    }
  if ("@ARGV") {
    foreach (@ARGV) {
 -    process_file($_);
-+     if (! m=(/(doc|usr/src)/|\.(so|gz|ph|pod)$)=) {
++     if (! m=(/(doc|usr/src)/|\.(so|gz|ph|pod|h|html)$)=) {
 +      process_file($_);
 +    }
    }
  
    foreach (<>) {
 -    process_file($_);
-+     if (! m=(/(doc|usr/src)/|\.(so|gz|ph|pod)$)=) {
++     if (! m=(/(doc|usr/src)/|\.(so|gz|ph|pod|h|html)$)=) {
 +      process_file($_);
 +    }
    }
This page took 0.04289 seconds and 4 git commands to generate.