|
|
@@ -33,7 +33,7 @@ Class: PLUS
|
|
|
Group: Web
|
|
|
License: ASF
|
|
|
Version: 2.2.4
|
|
|
-Release: 20070529
|
|
|
+Release: 20070530
|
|
|
|
|
|
# package options (generic)
|
|
|
%option with_mpm prefork
|
|
|
@@ -54,7 +54,6 @@ Release: 20070529
|
|
|
%option with_mod_memcache no
|
|
|
%option with_mod_filecache no
|
|
|
%option with_mod_expires no
|
|
|
-%option with_shared_core no
|
|
|
|
|
|
# fixing implicit inter-module dependencies and correlations
|
|
|
%if "%{with_mod_memcache}" == "yes" || "%{with_mod_diskcache}" == "yes"
|
|
|
@@ -213,9 +212,7 @@ Conflicts: apache
|
|
|
%if "%{with_mod_expires}" == "yes"
|
|
|
--enable-expires \
|
|
|
%endif
|
|
|
-%if "%{with_shared_core}" == "yes"
|
|
|
--enable-so \
|
|
|
-%endif
|
|
|
--enable-speling \
|
|
|
--enable-rewrite \
|
|
|
--enable-headers \
|
|
|
@@ -224,6 +221,7 @@ Conflicts: apache
|
|
|
--enable-vhost-alias \
|
|
|
--enable-auth-dbm \
|
|
|
--disable-shared \
|
|
|
+ --with-included-apr \
|
|
|
--with-dbm=db42 \
|
|
|
--with-berkeley-db=%{l_prefix} \
|
|
|
--with-expat=%{l_prefix} \
|
|
|
@@ -253,11 +251,10 @@ Conflicts: apache
|
|
|
rm -fr $RPM_BUILD_ROOT%{l_prefix}/etc/apache2/{extra,original}
|
|
|
) || exit $?
|
|
|
|
|
|
-%if "%{with_shared_core}" == "yes"
|
|
|
+ # adjust GNU libtool configuration
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;^build_libtool_libs=no;build_libtool_libs=yes;' \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/apache2/build/libtool
|
|
|
-%endif
|
|
|
|
|
|
# install shell environment script
|
|
|
%{l_shtool} install -c -m 644 %{l_value -s -a} \
|
|
|
@@ -287,9 +284,8 @@ Conflicts: apache
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
|
|
|
# strip down installation
|
|
|
- rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/apr*
|
|
|
- rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/libapr*
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
|
|
|
+ strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* >/dev/null 2>&1 || true
|
|
|
( cd $RPM_BUILD_ROOT%{l_prefix}/share/apache2/manual
|
|
|
find . -name "*.xml" -print | xargs rm -f
|
|
|
find . -name "*.xml.*" -print | xargs rm -f
|