apache-php/apache-php.spec php/php.spec

Git Service User git at kolabsys.com
Tue Mar 1 19:37:01 CET 2011


 apache-php/apache-php.spec |   11 +++++++++++
 php/php.spec               |    6 ++++++
 2 files changed, 17 insertions(+)

New commits:
commit 45cb9095b11cd0e604de9b192bc88d2daf5bbaad
Author: Christoph Wickert <wickert at kolabsys.com>
Date:   Tue Mar 1 19:36:41 2011 +0100

    apache-php and php: Bring back with_spl for smooth upgrades (bugzilla.kolabsys.com #47)

diff --git a/apache-php/apache-php.spec b/apache-php/apache-php.spec
index d501c3f..c074876 100644
--- a/apache-php/apache-php.spec
+++ b/apache-php/apache-php.spec
@@ -79,6 +79,7 @@ Release:      20101230_kolab1
 %option       with_snmp                 no
 %option       with_soap                 no
 %option       with_sqlite               no
+%option       with_spl                  no
 %option       with_ssl                  no
 %option       with_tidy                 no
 %option       with_versioning           no
@@ -258,6 +259,11 @@ PreReq:       MTA
 BuildPreReq:  libxml
 PreReq:       libxml
 %endif
+%if "%{with_spl}" == "yes"
+        --enable-spl \
+%else
+        --disable-spl \
+%endif
 %if "%{with_tidy}" == "yes"
 BuildPreReq:  tidy
 PreReq:       tidy
@@ -531,6 +537,11 @@ AutoReqProv:  no
 %if "%{with_iconv}" == "yes"
         --with-iconv=%{l_prefix} \
 %endif
+%if "%{with_spl}" == "yes"
+        --enable-spl \
+%else
+        --disable-spl \
+%endif
 %if "%{with_tidy}" == "yes"
         --with-tidy=%{l_prefix} \
 %else
diff --git a/php/php.spec b/php/php.spec
index ded346b..282ea15 100644
--- a/php/php.spec
+++ b/php/php.spec
@@ -79,6 +79,7 @@ Release:      20101230_kolab1
 %option       with_snmp                 no
 %option       with_soap                 no
 %option       with_sqlite               no
+%option       with_spl                  no
 %option       with_ssl                  no
 %option       with_tidy                 no
 %option       with_versioning           no
@@ -523,6 +524,11 @@ AutoReqProv:  no
 %if "%{with_iconv}" == "yes"
         --with-iconv=%{l_prefix} \
 %endif
+%if "%{with_spl}" == "yes"
+        --enable-spl \
+%else
+        --disable-spl \
+%endif
 %if "%{with_tidy}" == "yes"
         --with-tidy=%{l_prefix} \
 %else





More information about the commits mailing list