[Fedora-php-devel-list] Register PECl extensions ?

Remi Collet Fedora at FamilleCollet.com
Tue Jul 10 18:42:19 UTC 2007


Joe Orton a écrit :
> Would it be useful to define some macros for the "pecl install"/"pecl 
> uninstall" %post/postun invocations in macros.pear?
>
> %define pecl_install %{__pecl} install --nodeps --soft --force --register-only --nobuild
> %define pecl_uninstall %{__pecl} uninstall --nodeps --ignore-errors --register-only
>
> ?
>
>   
First idea is to add the missing "php/pecl_extdir" (php-config
--extension-dir) which is needed in all extension package (probably in
macros.php rather than in macros.pear...).

pecl_(un)install macro (and probably  pear_(un)install too) could be usefull
when a new PEAR version changes options :
for example php-pear 1.6.1 requires  "-d download_dir=$(mktemp -d)" to
work (ok, it's probably a bug)

This will avoid to break build system or need to update all extension
spec files on php-pear update.

But this will requires a Guidelines update...

Remi

P.S. : Joe does this mean you are favorable to the "register" of pecl
extension ?


> joe
>
> _______________________________________________
> Fedora-php-devel-list mailing list
> Fedora-php-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-php-devel-list
>
>
>   




More information about the Fedora-php-devel-list mailing list