]> git.pld-linux.org Git - packages/php-pear-PEAR.git/commitdiff
- package v1.0 does not have any channel information, assume pecl packages for all...
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Oct 2005 20:10:56 +0000 (20:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-PEAR-rpmvars.patch -> 1.13

php-pear-PEAR-rpmvars.patch

index 51388f9c336df170e970b774c80604f11c2038a9..98036bcea9cb97d382f2262131dd08fb82a13e2b 100644 (file)
  
                                                if (isset($dep['channel']) && $dep['channel'] != 'pear.php.net' &&
                                                          $dep['channel'] != 'pecl.php.net') {
+--- ./usr/share/pear/PEAR/Command/Package.php  2005-10-03 12:01:39.000000000 +0300
++++ /usr/share/pear/PEAR/Command/Package.php   2005-10-03 23:04:41.000000000 +0300
+@@ -946,7 +946,12 @@
+                                                       $chan = &$reg->getChannel($dep['channel']);
+                                                       $package = strtoupper($chan->getAlias()) . '::' . $dep['name'];
+                                               } else {
+-                                                      $package = 'php-pear-' . $dep['name'];
++                                                      // assume lowercased package name as pecl
++                                                      if (strtolower($dep['name']) == $dep['name']) {
++                                                              $package = 'php-pecl-' . $dep['name'];
++                                                      } else {
++                                                              $package = 'php-pear-' . $dep['name'];
++                                                      }
+                                               }
+                     }
+                     $trans = array(
This page took 0.028425 seconds and 4 git commands to generate.