SOURCES: php-pear-PEAR-rpmvars.patch - include baseinstalldir if a...

glen glen at pld-linux.org
Thu Sep 29 00:07:36 CEST 2005


Author: glen                         Date: Wed Sep 28 22:07:36 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- include baseinstalldir if available when generating filelists

---- Files affected:
SOURCES:
   php-pear-PEAR-rpmvars.patch (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-rpmvars.patch
diff -u SOURCES/php-pear-PEAR-rpmvars.patch:1.9 SOURCES/php-pear-PEAR-rpmvars.patch:1.10
--- SOURCES/php-pear-PEAR-rpmvars.patch:1.9	Thu Sep 29 00:07:00 2005
+++ SOURCES/php-pear-PEAR-rpmvars.patch	Thu Sep 29 00:07:31 2005
@@ -196,3 +196,15 @@
                                  $deps['required']['pearinstaller']['min'] . "\n";
                          }
                      }
+--- .//usr/share/pear/PEAR/Command/Package.php	2005-09-29 00:58:11.000000000 +0300
++++ /usr/share/pear/PEAR/Command/Package.php	2005-09-29 01:06:46.000000000 +0300
+@@ -862,6 +862,9 @@
+                     break;
+                 }
+                 $name = str_replace('\\', '/', $name);
++				if ($attr['baseinstalldir']) {
++					$name = $attr['baseinstalldir'] . '/' . $name;
++				}
+ 				if ($attr['role'] == 'test') {
+ 					$info['test_files'] .= "$prefix/$name\n";
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-pear-PEAR-rpmvars.patch?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list