Bug 183227 - PHP API needs encoding as a Provide ( php-api php(API) )
Summary: PHP API needs encoding as a Provide ( php-api php(API) )
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2006-02-27 16:50 UTC by Tim Jackson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 5.1.2-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-02-28 17:02:51 UTC
Type: ---

Attachments (Terms of Use)

Description Tim Jackson 2006-02-27 16:50:07 UTC
PHP binary modules that are compiled against PHP will break and need recompiling
when the PHP internal API version changes.

Clearly this dependency ought to be encoded in the RPM database to avoid
unexpected breakage of apps. Therefore the Core PHP package should have a
Provide of php(API), php-api or something similar with a version number
appropriate to the API that it contains. e.g.:

Provides: php(API) = 20020918

Bug #170131 and http://marc.theaimsgroup.com/?t=113745441400005 have references
to this problem.

Comment 1 Joe Orton 2006-02-28 17:02:51 UTC
Good idea.  "php-api = <integer>" added for 5.1.2-5.

Comment 2 Tim Jackson 2006-05-23 17:40:19 UTC
on reflection this should probably have been:

php-devel Provides php-api


php Provides php-abi

No doubt someone will moan about the API/ABI thing at some point :)

(actually, come to think of it, php-devel doesn't Provide anything...maybe
that's a new bug)

Note You need to log in before you can comment on or make changes to this bug.