Bug 183227

Summary: PHP API needs encoding as a Provide ( php-api php(API) )
Product: [Fedora] Fedora Reporter: Tim Jackson <rpm>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 5.1.2-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-28 17:02:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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)