Author: glen                         Date: Wed Feb 16 18:19:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- restart apache in %postun rather in %preun
- remove unneeded post,preun deps

---- Files affected:
SPECS:
   apache1-mod_watch.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_watch.spec
diff -u SPECS/apache1-mod_watch.spec:1.19 SPECS/apache1-mod_watch.spec:1.20
--- SPECS/apache1-mod_watch.spec:1.19   Thu Feb 10 02:49:12 2005
+++ SPECS/apache1-mod_watch.spec        Wed Feb 16 19:18:58 2005
@@ -11,7 +11,7 @@
 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
@@ -22,9 +22,6 @@
 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)
@@ -77,7 +74,7 @@
        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
@@ -112,6 +109,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2005/02/16 18:18:58  glen
+- restart apache in %postun rather in %preun
+- remove unneeded post,preun deps
+
 Revision 1.19  2005/02/10 01:49:12  glen
 - confdir enabled apache1
 - added ipv6 bcond
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache1-mod_watch.spec?r1=1.19&r2=1.20&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to