Req #19299 [Opn->Csd]: Handle max + exclude version
| From: | daniel dot oconnor at gmail dot com | Date: | Sun, 01 Apr 2012 14:24:58 +0000 |
| Subject: | Req #19299 [Opn->Csd]: Handle max + exclude version | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8489@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19299&edit=1
ID: 19299
Updated by: daniel.oconnor@gmail.com
Reported By: Fedora at FamilleCollet dot com
Summary: Handle max + exclude version
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: PEAR_Command_Packaging
Operating System: GNU/Linux (Fedora 16)
Package Version: 0.2.0
PHP Version: 5.4 RC (specify # in Description)
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2012-04-01 15:17:18] doconnor
(PS: feel absolutely free to send in pull requests)
------------------------------------------------------------------------
[2012-04-01 15:16:54] doconnor
So applying this breaks tests -
http://test.pear.php.net:8080/job/PEAR_Command_Packaging/33/testReport/junit/(ro
ot)/tests_/_var_lib_jenkins_workspace_PEAR_Command_Packaging_tests_make_rpm
_spec_test_nodocs_dupdeps_phpt/
------------------------------------------------------------------------
[2012-02-19 19:35:28] remicollet
Added #patch bug:19299;patch:max-exclude.patch;revision:1329680128;.
------------------------------------------------------------------------
[2012-02-19 19:35:00] remicollet
Description:
------------
The package from horde channel comes with
<package>
<name>Horde_Translation</name>
<channel>pear.horde.org</channel>
<min>1.0.0</min>
<max>2.0.0</max>
<exclude>2.0.0</exclude>
</package>
The min is lost.
The max + exclude should be handle as "<" instead of adding an awful
Conflicts.
Can you please consider the attached patch
P.S. 1 line per requires seems more "legible" (as required by
Guidelines)
Test script:
---------------
pear make-rpm-spec Horde_Exception-1.0.8.tgz
Expected result:
----------------
Requires: php-pear(pear.horde.org/Horde_Translation) >= 1.0.0
Requires: php-pear(pear.horde.org/Horde_Translation) < 2.0.0
Requires: php-pear(PEAR) >= 1.7.0
Actual result:
--------------
Requires: php-pear(pear.horde.org/Horde_Translation) <= 2.0.0,
php-pear(PEAR) >= 1.7.0
Conflicts: php-pear(pear.horde.org/Horde_Translation) = 2.0.0
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19299&edit=1