]> git.pld-linux.org Git - packages/php-pear-PEAR.git/commitdiff
- export @class@ and @subclass@
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 18 Sep 2005 14:08:23 +0000 (14:08 +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.2

php-pear-PEAR-rpmvars.patch

index 022095cab66b9d2a1b5c3ccfeb610385e871ddd3..e56c0d1e98cd2bc6953352076d03b19954eb577c 100644 (file)
@@ -8,3 +8,17 @@
          if ($pf->getDeps()) {
              if ($pf->getPackagexmlVersion() == '1.0') {
                  $requires = $conflicts = array();
+--- ./usr/share/pear/PEAR/Command/Package.php  2005-09-18 16:42:13.000000000 +0300
++++ /usr/share/pear/PEAR/Command/Package.php   2005-09-18 16:57:39.000000000 +0300
+@@ -877,6 +877,11 @@
+         $info['package'] = $pf->getPackage();
+         $info['version'] = $pf->getVersion();
+         $info['release_license'] = $pf->getLicense();
++        $info['release_state'] = $pf->getState();
++              list($info['class'], $info['subclass']) = explode('_', $info['package'], 2);
++              if (empty($info['subclass'])) {
++                      $info['subclass'] = '%{nil}';
++              }
+         if ($pf->getDeps()) {
+             if ($pf->getPackagexmlVersion() == '1.0') {
+                 $requires = $conflicts = array();
This page took 0.038401 seconds and 4 git commands to generate.