]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-perl_req-INC_dirs.patch
- include libx32 dirs (mostly x32 vendorarch) when generating perl dependencies
[packages/rpm.git] / rpm-perl_req-INC_dirs.patch
index c6a28f2a42751c53aaafd367e8fddbe0f28ad960..c6db3cdedcf2d58f46df044dc8620af2ce497d79 100644 (file)
@@ -19,7 +19,7 @@
 -    if (m=/usr/(sbin|bin|lib|share|X11R6/(lib|bin))/=) {
 +    chomp;
 +    $inc{$1}++ if m#($inc)/#;  # can't anchor on ^
 -    if (m=/usr/(sbin|bin|lib|share|X11R6/(lib|bin))/=) {
 +    chomp;
 +    $inc{$1}++ if m#($inc)/#;  # can't anchor on ^
-+    if (m=/usr/(sbin|bin|lib|lib64|share|X11R6/(lib|lib64|bin))/=) {
++    if (m=/usr/(sbin|bin|lib|lib64|libx32|share|X11R6/(lib|lib64|libx32|bin))/=) {
        if (! m=(/(doc|man|info|usr/src)/|\.(so|ph|h|html|pod)$)=) {
          process_file($_) if -f;
 @@ -53,8 +64,9 @@
        if (! m=(/(doc|man|info|usr/src)/|\.(so|ph|h|html|pod)$)=) {
          process_file($_) if -f;
 @@ -53,8 +64,9 @@
@@ -29,7 +29,7 @@
 +print "$_\n" for sort grep $inc{$_}, keys %inc;
  
 -foreach $module (sort keys %require) {
 +print "$_\n" for sort grep $inc{$_}, keys %inc;
  
 -foreach $module (sort keys %require) {
-+foreach my $module (sort keys %require) {
++foreach my $module (sort grep length, keys %require) {
    if (length($require{$module}) == 0) {
       if ($module =~ /^[0-9._]+$/) {
         print "perl-base >= $module\n";
    if (length($require{$module}) == 0) {
       if ($module =~ /^[0-9._]+$/) {
         print "perl-base >= $module\n";
This page took 0.031029 seconds and 4 git commands to generate.