Bug 173270
| Summary: | "pear makerpm" generates flawed RPMs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Josh Kelley <joshkel> | ||||
| Component: | php-pear | Assignee: | Joe Orton <jorton> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | rpm | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-12-12 16:18:59 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Josh Kelley
2005-11-15 20:05:04 UTC
Coincidental with this bug, I filed a separate bug upstream including a proposed patch to the 'post/postun' issue which has been accepted upstream: http://pear.php.net/bugs/bug.php?id=5959 . Works for me but any review by anyone else appreciated. An additional problem with "pear makerpm" (file naming conventions) is documented in bug #173802 I am currently hacking around with PEAR wrt RPM compatibility and have filed a number of other related issues: bug #173804 - php core rpm does not have Provides bug #173806 - php-pear does not have Provides: bug #173808 - php-pear has too much bundled in it bug #173810 - php-pear should be built separately to main PHP package Created attachment 121298 [details]
patch for template.spec that fixes post/postun problem
applies to php-pear-5.0.4-10.5
Another problem (from upstream, not FC/RH specific) with "pear makerpm" (at least versions included with current stable PHP) is lack of generation of dependencies on other PEAR packages. See bug #173814 for more info and fix. Patch for post/postun issue is in PEAR 1.4.5 upstream. Since this bug is already turning into a meta-bug for "all the things that are wrong with PEAR and RPMs" (perhaps we should actually turn it into a proper meta bug, or create one?), here's another: bug #173980 - RPM errors when packaging doc files in some packages. All the issues listed in this particular bug are fixed in php-pear-1.4.5-3. There are still some outstanding issues related to PHP/PEAR RPM packaging as mentioned in bugs referenced above, but I think this bug can be closed. Great. Thanks a lot for pushing this stuff upstream! |