Your patch doesn't work for Cooker:

(from mozilla.spec)
* Thu Nov 28 2002 Frederic Crozat <fcrozat@@mandrakesoft.com> 0:1.2-1mdk
- Release 1.2
- Remove source1 & patch22 : we don't ship libjs anymore

I'll take the js package from hgomez and put it in contribs.

Jean-Michel


Le dim 12/01/2003 � 18:25, Oden Eriksson a �crit :
> Hi.
> 
> Here's my fix for php-xslt
> 
> -- 
> Regards // Oden Eriksson, Deserve-IT.com
> ----
> 

> --- php-xslt.spec     2003-01-08 03:19:56.000000000 +0100
> +++ php-xslt.spec.oden        2003-01-12 21:27:33.000000000 +0100
> @@ -2,7 +2,7 @@
>  %define _docdir %{_datadir}/doc/%{name}-%{version}
>  %{expand:%(cat /usr/src/php-devel/PHP_BUILD||(echo -e "error: failed build 
>dependencies:\n        php-devel >= 430 (4.3.0) is needed by this package." 
>>/dev/stderr;kill -2 $PPID))}
>  
> -%define release 1mdk
> +%define release 2mdk
>  
>  %define realname XSLT
>  %define modname xslt
> @@ -10,11 +10,10 @@
>  %define soname %{modname}.so
>  %define inifile 52_%{modname}.ini
>  %define mod_src "xslt.c sablot.c" 
> -%define mod_lib "-lsablot -lexpat" 
> +%define mod_lib "-lsablot -lexpat -ljs -lstdc++ -lgcc"
>  %define mod_def "-DCOMPILE_DL_XSLT -DHAVE_XSLT -DHAVE_SABLOT_BACKEND -DHAVE_DLFCN_H 
>-DHAVE_LIBEXPAT2 -DHAVE_SABLOT_SET_ENCODING"
> -%define rlibs libexpat0 libsablotron0 >= 0.90
> -%define blibs libexpat0-devel libsablotron0-devel
> -
> +%define rlibs libexpat0 libsablotron0 >= 0.90 libjs >= 1.1 libstdc++5 libgcc1
> +%define blibs libexpat0-devel libsablotron0-devel libjs >= 1.1 libstdc++5-devel 
>libgcc1
>  
>  Summary:     The %{realname} module for PHP
>  Name:                php-%{modname}
> @@ -85,6 +84,9 @@
>  %config(noreplace) %{_sysconfdir}/php/%{inifile}
>  
>  %changelog
> +* Sun Jan 12 2003 Oden Eriksson <[EMAIL PROTECTED]> 4.3.0-2mdk
> +- enable JavaScript support
> +
>  * Sun Jan  5 2003 Jean-Michel Dault <[EMAIL PROTECTED]> 4.3.0-1mdk
>  - New 4.3.0 release
>  - Totally macroize based on suggestions from Alexander Skwar


Reply via email to