SPECS: php.spec - xml needs to be loaded before wddx

arekm arekm at pld-linux.org
Thu Nov 24 11:17:32 CET 2005


Author: arekm                        Date: Thu Nov 24 10:17:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- xml needs to be loaded before wddx

---- Files affected:
SPECS:
   php.spec (1.511 -> 1.512) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.511 SPECS/php.spec:1.512
--- SPECS/php.spec:1.511	Wed Nov 16 12:07:20 2005
+++ SPECS/php.spec	Thu Nov 24 11:17:27 2005
@@ -1838,7 +1838,10 @@
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
 for so in modules/*.so; do
 	mod=$(basename $so .so)
-	cat > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/${mod}.ini <<EOF
+	conf="%{_sysconfdir}/conf.d/${mod}.ini"
+	# xml needs to be loaded before wddx
+	[ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
+	cat > $RPM_BUILD_ROOT${conf} <<EOF
 ; Enable ${mod} extension module
 extension=${mod}.so
 EOF
@@ -2988,7 +2991,7 @@
 %if %{with wddx}
 %files wddx
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/wddx.ini
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
 %attr(755,root,root) %{extensionsdir}/wddx.so
 %endif
 
@@ -3025,6 +3028,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.512  2005/11/24 10:17:27  arekm
+- xml needs to be loaded before wddx
+
 Revision 1.511  2005/11/16 11:07:20  arekm
 - rel 17; fix bug 33720 (mbstring)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.511&r2=1.512&f=u




More information about the pld-cvs-commit mailing list