SPECS: apache-mod_watch.spec - rel 5 (rebuild with new apache)

glen glen at pld-linux.org
Thu Dec 22 01:05:57 CET 2005


Author: glen                         Date: Thu Dec 22 00:05:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 5 (rebuild with new apache)

---- Files affected:
SPECS:
   apache-mod_watch.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_watch.spec
diff -u SPECS/apache-mod_watch.spec:1.25 SPECS/apache-mod_watch.spec:1.26
--- SPECS/apache-mod_watch.spec:1.25	Mon Dec 12 14:44:44 2005
+++ SPECS/apache-mod_watch.spec	Thu Dec 22 01:05:52 2005
@@ -6,7 +6,7 @@
 Summary(pl):	Moduł do apache: Interfejs do monitorowania za pomocą MRTG
 Name:		apache-mod_%{mod_name}
 Version:	4.03
-Release:	4
+Release:	5
 License:	BSD
 Group:		Networking/Daemons
 Source0:	http://www.snert.com/Software/download/mod_watch%(echo %{version} | tr -d .).tgz
@@ -17,13 +17,12 @@
 BuildRequires:	%{apxs}
 BuildRequires:	apache-devel >= 2.0.52-2
 BuildRequires:	rpm-perlprov
-Requires(post,preun):	grep
-Requires(preun):	fileutils
+Requires:	apache(modules-api) = %apache_modules_api
 Requires:	apache >= 2.0.52-2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR)
-%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR)
+%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)
 
 %description
 This module will watch and collect the bytes, requests, and documents
@@ -64,13 +63,10 @@
 %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
 if [ "$1" = "0" ]; then
-	umask 027
 	if [ -f /var/lock/subsys/httpd ]; then
 		/etc/rc.d/init.d/httpd restart 1>&2
 	fi
@@ -89,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2005/12/22 00:05:52  glen
+- rel 5 (rebuild with new apache)
+
 Revision 1.25  2005/12/12 13:44:44  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache-mod_watch.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list