cvs: pear-core / package-PEAR.xml package2.xml /PEAR/PackageFile v2.php

From: Date: Mon, 23 Jan 2006 17:50:45 +0000
Subject: cvs: pear-core / package-PEAR.xml package2.xml /PEAR/PackageFile v2.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-37725@lists.php.net to get a copy of this message
cellog Mon Jan 23 17:50:45 2006 UTC Modified files: /pear-core package-PEAR.xml package2.xml /pear-core/PEAR/PackageFile v2.php Log: * fix Bug #6537: wrong export compatible v1 dependencies list with exclude limit http://cvs.php.net/viewcvs.cgi/pear-core/package-PEAR.xml?r1=1.333&r2=1.334&diff_format=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.333 pear-core/package-PEAR.xml:1.334 --- pear-core/package-PEAR.xml:1.333 Mon Jan 23 17:46:57 2006 +++ pear-core/package-PEAR.xml Mon Jan 23 17:50:45 2006 @@ -87,6 +87,7 @@ * fix Bug #6445: PEAR::registerShutdownFunc doesn't work in static calls * fix Bug #6480: pear install --installroot option fails for pecl packages [timj] * fix Bug #6510: status active of a maintainer cannot be change + * fix Bug #6537: wrong export compatible v1 dependencies list with exclude limit * fix Bug #6559: pear should ignore safemode/open_basedir </notes> <provides type="class" name="OS_Guess"/> http://cvs.php.net/viewcvs.cgi/pear-core/package2.xml?r1=1.226&r2=1.227&diff_format=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.226 pear-core/package2.xml:1.227 --- pear-core/package2.xml:1.226 Mon Jan 23 17:46:57 2006 +++ pear-core/package2.xml Mon Jan 23 17:50:45 2006 @@ -92,6 +92,7 @@ * fix Bug #6445: PEAR::registerShutdownFunc doesn't work in static calls * fix Bug #6480: pear install --installroot option fails for pecl packages [timj] * fix Bug #6510: status active of a maintainer cannot be change + * fix Bug #6537: wrong export compatible v1 dependencies list with exclude limit * fix Bug #6559: pear should ignore safemode/open_basedir </notes> <contents> http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/PackageFile/v2.php?r1=1.124&r2=1.125&diff_format=u Index: pear-core/PEAR/PackageFile/v2.php diff -u pear-core/PEAR/PackageFile/v2.php:1.124 pear-core/PEAR/PackageFile/v2.php:1.125 --- pear-core/PEAR/PackageFile/v2.php:1.124 Mon Jan 23 17:46:57 2006 +++ pear-core/PEAR/PackageFile/v2.php Mon Jan 23 17:50:45 2006 @@ -15,7 +15,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: v2.php,v 1.124 2006/01/23 17:46:57 cellog Exp $ + * @version CVS: $Id: v2.php,v 1.125 2006/01/23 17:50:45 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -1669,14 +1669,24 @@ $s1['optional'] = $optional; $ret[] = $s1; } elseif (isset($dep['min'])) { - $s['rel'] = 'ge'; + if (isset($dep['exclude']) && + $dep['exclude'] == $dep['min']) { + $s['rel'] = 'gt'; + } else { + $s['rel'] = 'ge'; + } $s['version'] = $dep['min']; $s['optional'] = $optional; if ($dtype != 'php') { $s['name'] = $dep['name']; } } elseif (isset($dep['max'])) { - $s['rel'] = 'le'; + if (isset($dep['exclude']) && + $dep['exclude'] == $dep['max']) { + $s['rel'] = 'lt'; + } else { + $s['rel'] = 'le'; + } $s['version'] = $dep['max']; $s['optional'] = $optional; if ($dtype != 'php') {

« previous php.pear.cvs (#37725) next »