SPECS: apache-mod_fcgid.spec - rebuild with new apache - fix %post...

glen glen at pld-linux.org
Thu Dec 22 00:39:12 CET 2005


Author: glen                         Date: Wed Dec 21 23:39:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rebuild with new apache
- fix %post script
- rel 2

---- Files affected:
SPECS:
   apache-mod_fcgid.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_fcgid.spec
diff -u SPECS/apache-mod_fcgid.spec:1.12 SPECS/apache-mod_fcgid.spec:1.13
--- SPECS/apache-mod_fcgid.spec:1.12	Tue Nov 16 22:58:22 2004
+++ SPECS/apache-mod_fcgid.spec	Thu Dec 22 00:39:06 2005
@@ -5,7 +5,7 @@
 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
@@ -17,17 +17,17 @@
 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
@@ -59,8 +59,6 @@
 %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
@@ -82,6 +80,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/12/21 23:39:06  glen
+- rebuild with new apache
+- fix %post script
+- rel 2
+
 Revision 1.12  2004/11/16 21:58:22  qboosh
 - with patch it needs apr1-based apache
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache-mod_fcgid.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list