]> git.pld-linux.org Git - packages/apache1-mod_watch.git/commitdiff
- restart apache in %postun rather in %preun
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 18:18:58 +0000 (18:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove unneeded post,preun deps

Changed files:
    apache1-mod_watch.spec -> 1.20

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.059425 seconds and 4 git commands to generate.