]> git.pld-linux.org Git - packages/php.git/blobdiff - php.spec
- fixed conditionals for xslt and wddx
[packages/php.git] / php.spec
index 0ec05bd3ab37b2ec92913ae0345e3043f1d6ccc4..027fd025b35576c6aeb46a232a2cb13e53691c1d 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -86,9 +86,9 @@ BuildRequires:        curl-devel
 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
 BuildRequires: openssl-devel >= 0.9.6a
 %endif
-BuildRequires: sablotron-devel
-BuildRequires: expat-devel
-BuildRequires: w3c-libwww-devel
+{?_with_xslt:BuildRequires:    sablotron-devel}
+{?_with_xslt:BuildRequires:    expat-devel}
+{?_with_xslt:BuildRequires:    w3c-libwww-devel}
 Prereq:                apache(EAPI) >= 1.3.9
 Prereq:                perl
 Prereq:                %{_sbindir}/apxs
@@ -883,7 +883,7 @@ for i in cgi apxs ; do
        --with-dom=shared \
     %{?_with_xslt:--enable-xslt=shared} \
     %{?_with_xslt:--with-xslt-sablot=shared} \
-    %{?_with_xslt:--enable-wddx=shared} \
+    %{?_with_wddx:--enable-wddx=shared} \
        --with-pear=%{peardir}
 done
 
This page took 0.030046 seconds and 4 git commands to generate.