]> git.pld-linux.org Git - packages/apache-mod_fcgid.git/commitdiff
- rebuild with new apache auto/ac/apache-mod_fcgid-1_03-2
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 21 Dec 2005 23:39:06 +0000 (23:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix %post script
- rel 2

Changed files:
    apache-mod_fcgid.spec -> 1.13

apache-mod_fcgid.spec

index 8fe11a082d3c9b2387eae2b5ba42ff729e03f477..4ebd5931e4ad7d9efa58ea5e1b76205a194c1fb8 100644 (file)
@@ -4,7 +4,7 @@ Summary:        A binary compatibility alternative to Apache module mod_fastcgi
 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
@@ -16,17 +16,17 @@ BuildRequires:      %{apxs}
 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
@@ -58,8 +58,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.087592 seconds and 4 git commands to generate.