Summary(pl): Binarnie kompatybilna alternatywa dla modu³u Apache'a mod_fastcgi
Name: apache-mod_%{mod_name}
Version: 1.03
-Release: 1
+Release: 2
License: GPL v2
Group: Networking/Daemons
Source0: http://fastcgi.coremail.cn/mod_%{mod_name}.%{version}.tar.gz
BuildRequires: apache-devel >= 2.0.52-2
BuildRequires: libtool
BuildRequires: sed >= 4.0
-Requires(post,preun): %{apxs}
+Requires: apache(modules-api) = %apache_modules_api
Requires: apache >= 2.0.52-2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _sysconfdir %(%{apxs} -q SYSCONFDIR)
-%define _pkglibdir %(%{apxs} -q LIBEXECDIR)
+%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
%description
A binary compatibility alternative to Apache module mod_fastcgi.
-mod_fcgid has a new process management strategy, which concentrates
-on reducing the number of fastcgi server, and kick out the corrupt
+mod_fcgid has a new process management strategy, which concentrates on
+reducing the number of fastcgi server, and kick out the corrupt
fastcgi server as soon as possible.
%description -l pl
%post
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
-else
- echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
fi
%preun