]> git.pld-linux.org Git - packages/apache-mod_watch.git/commitdiff
- rel 5 (rebuild with new apache) AC-branch AC-STABLE auto/ac/apache-mod_watch-4_03-5
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 22 Dec 2005 00:05:52 +0000 (00:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_watch.spec -> 1.26

apache-mod_watch.spec

index 9c5945583634e5995cc9dfd4dd1ccfa465763ce0..2401299952d8ed4819aabc8d2a24df25c5be1722 100644 (file)
@@ -5,7 +5,7 @@ Summary:        Apache module: Monitoring Interface for MRTG
 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
@@ -16,13 +16,12 @@ URL:                http://www.snert.com/Software/mod_watch/
 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
@@ -63,13 +62,10 @@ 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
 if [ "$1" = "0" ]; then
-       umask 027
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
        fi
This page took 0.069123 seconds and 4 git commands to generate.