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

Joe Orton jorton at redhat.com
Mon Jul 16 13:05:34 UTC 2007


On Sun, Jul 15, 2007 at 05:19:16PM +0200, Remi Collet wrote:
> Joe Orton a écrit :
> 
> > %php_extdir %{_libdir}/php/modules
> > 
> > added to macros.php, correct?
> 
> Yes.
> or :
> %php_extdir %(%{_bindir}/php  --extension-dir)

It's not like this is going to change often :) %php_extdir and 
%pecl_*install are now in dist-fc7; how does it look?

> > Yeah :) I'd rather fix that bug than workaround it I think.
> 
> Patch proposed upstream... waiting.
> http://pear.php.net/bugs/bug.php?id=11517

Thanks for chasing that!

> I Think i will propose to use something like :
> 
> %post
> %if 0%{?pecl_install:1}
> %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
> %endif

+1 to that.

joe




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