]> git.pld-linux.org Git - packages/apache1-mod_watch.git/blobdiff - apache1-mod_watch.spec
- restart apache in %postun rather in %preun
[packages/apache1-mod_watch.git] / apache1-mod_watch.spec
index f038e8e17864f41cbd9df7a2160cb0abaa46919f..19074dcfccddf67a135fdfe9fef9dc863483b166 100644 (file)
@@ -10,7 +10,7 @@ Summary:      Apache module: Monitoring Interface for MRTG
 Summary(pl):   ModuĀ³ do apache: Interfejs do monitorowania za pomocĀ± MRTG
 Name:          apache1-mod_%{mod_name}
 Version:       3.18
-Release:       1.2
+Release:       1.4
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.snert.com/Software/download/mod_watch%(echo %{version} | tr -d .).tgz
@@ -21,9 +21,6 @@ URL:          http://www.snert.com/Software/mod_watch/
 BuildRequires: %{apxs}
 BuildRequires: apache1-devel >= 1.3.33-2
 %{?with_ipv6:BuildRequires:    apache1(ipv6)-devel}
-Requires(post,preun):  %{apxs}
-Requires(post,preun):  grep
-Requires(preun):       fileutils
 Requires:      apache1 >= 1.3.33-2
 Obsoletes:     apache-mod_%{mod_name} <= %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -76,7 +73,7 @@ else
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
 fi
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
This page took 0.093303 seconds and 4 git commands to generate.