SOURCES: php-pear-PEAR-rpmvars.patch - initialize $info[optional]

glen glen at pld-linux.org
Mon Oct 3 23:32:01 CEST 2005


Author: glen                         Date: Mon Oct  3 21:32:01 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initialize $info[optional]

---- Files affected:
SOURCES:
   php-pear-PEAR-rpmvars.patch (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-rpmvars.patch
diff -u SOURCES/php-pear-PEAR-rpmvars.patch:1.14 SOURCES/php-pear-PEAR-rpmvars.patch:1.15
--- SOURCES/php-pear-PEAR-rpmvars.patch:1.14	Mon Oct  3 22:36:19 2005
+++ SOURCES/php-pear-PEAR-rpmvars.patch	Mon Oct  3 23:31:56 2005
@@ -333,3 +333,16 @@
  						'php-pear-PEAR' => 1,
  					);
  
+--- ./usr/share/pear/PEAR/Command/Package.php	2005-10-03 23:35:27.000000000 +0300
++++ /usr/share/pear/PEAR/Command/Package.php	2005-10-03 23:39:42.000000000 +0300
+@@ -917,8 +917,9 @@
+ 		if (empty($info['subclass'])) {
+ 			$info['subclass'] = '%{nil}';
+ 		}
++
++		$info['optional'] = '';
+         if ($pf->getDeps()) {
+-			$info['optional'] = '';
+ 
+             if ($pf->getPackagexmlVersion() == '1.0') {
+                 $requires = $conflicts = array();
================================================================

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




More information about the pld-cvs-commit mailing list