|
|
@@ -39,7 +39,7 @@ Class: BASE
|
|
|
Group: Web
|
|
|
License: PHP
|
|
|
Version: %{V_php}
|
|
|
-Release: 20080114
|
|
|
+Release: 20080312
|
|
|
|
|
|
# package options
|
|
|
%option with_suhosin no
|
|
|
@@ -81,6 +81,7 @@ Release: 20080114
|
|
|
%option with_snmp no
|
|
|
%option with_sqlite no
|
|
|
%option with_ssl no
|
|
|
+%option with_tidy no
|
|
|
%option with_versioning no
|
|
|
%option with_wddx no
|
|
|
%option with_xml no
|
|
|
@@ -257,6 +258,10 @@ PreReq: MTA
|
|
|
BuildPreReq: libxml
|
|
|
PreReq: libxml
|
|
|
%endif
|
|
|
+%if "%{with_tidy}" == "yes"
|
|
|
+BuildPreReq: tidy
|
|
|
+PreReq: tidy
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -527,6 +532,11 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
%if "%{with_iconv}" == "yes"
|
|
|
--with-iconv=%{l_prefix} \
|
|
|
+%endif
|
|
|
+%if "%{with_tidy}" == "yes"
|
|
|
+ --with-tidy=%{l_prefix} \
|
|
|
+%else
|
|
|
+ --without-tidy \
|
|
|
%endif
|
|
|
--with-apxs2=%{l_prefix}/sbin/apxs \
|
|
|
--disable-cli \
|