[Fedora-packaging] For FPC : Change proposal to PHP Guidelines

Remi Collet Fedora at FamilleCollet.com
Tue Jul 14 16:38:22 UTC 2009


We have some pending minor issues/questions with PHP packaging we should
make clearer :

1/ use of /usr/share/php

=> 1 folder per library

2/ conditional in ABI check and in post/postun scriplet

This conditions are present to maintain compatibility with older PHP
version (5.1.6 on EL-5) and could be removed if package requires a
recent version (> 5.2)

3/ ABI check

With the update of PHP 5.3.0 in rawhide, I discover that a lot of C
extensions doesn't use ABI check, Guidelines set is mandatory for PECL

Package could be installed, but extension couldn't be load, with the
standard PHP error :

Module compiled with module API=20060613
PHP    compiled with module API=20090626

It seems clear it should be mandatory for all C extension.

See bugs :

cups	https://bugzilla.redhat.com/show_bug.cgi?id=511106
ice	https://bugzilla.redhat.com/show_bug.cgi?id=511068
graphviz https://bugzilla.redhat.com/show_bug.cgi?id=511092
uuid	https://bugzilla.redhat.com/show_bug.cgi?id=511115

Please review my change proposal


More information about the Fedora-packaging mailing list