PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Structures_Graph » Bug #5594

proper captialization to PEAR dependency

Details

Request #5594proper captialization to PEAR dependency
Submitted2005-10-03 22:22 UTC
Fromglen at delfi dot ee
Assignedsergiosgc
StatusClosed
PackageStructures_Graph
PHP Version5.0.5
OSPLD Linux
Roadmaps(Not assigned)

Comments

[2005-10-03 22:22 UTC] glen at delfi dot ee

Description:
------------
i'm trying to produce .spec file with pear makerpm
command. but as the package.xml contains dependency to
Pear, not PEAR the requires line is also generated with
bad captialization.

please apply this patch and make new release of this
package.

--- package.xml~ 2004-06-17 13:39:41.000000000
+0300
+++ package.xml 2005-10-04 01:20:26.000000000 +0300
@@ -22,7 +22,7 @@
<notes>Version 1.0.1 fixes a bug in Node::connectTo.
Added end user documentation to the package.</notes>
<deps>
- <dep type="pkg" rel="ge" version="1.2">Pear</dep>
+ <dep type="pkg" rel="ge" version="1.2">PEAR</dep>
</deps>
<filelist>
<file role="php"
md5sum="60a75079fc66d561bc94bb7cbaaaf7c7"
name="Structures/Graph/Manipulator/TopologicalSorter.php"/>

Test script:
---------------
$ pear download Structures_Graph
downloading Structures_Graph-1.0.1.tgz ...
Starting to download Structures_Graph-1.0.1.tgz (7,060 bytes)
.....done: 7,060 bytes
File Structures_Graph-1.0.1.tgz downloaded

$ pear makerpm Structures_Graph-1.0.1.tgz
Wrote RPM spec file php-pear-Structures_Graph-1.0.1.spec

$ grep Pear php-pear-Structures_Graph-1.0.1.spec
Requires: php-pear-Pear >= 1.2

Expected result:
----------------
$ grep Pear php-pear-Structures_Graph-1.0.1.spec
Requires: php-pear-PEAR >= 1.2

[2005-12-09 12:01 UTC] sergiosgc at php dot net

This bug has been fixed in CVS.

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.