Author: glen                         Date: Wed Feb 16 18:18:37 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_jk.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_jk.spec
diff -u SPECS/apache1-mod_jk.spec:1.7 SPECS/apache1-mod_jk.spec:1.8
--- SPECS/apache1-mod_jk.spec:1.7       Thu Feb 10 19:04:01 2005
+++ SPECS/apache1-mod_jk.spec   Wed Feb 16 19:18:32 2005
@@ -5,7 +5,7 @@
 Summary(pl):   Moduł Apache'a obsługujący komunikację między Tomcatem a 
Apachem 1.3.x
 Name:          apache1-mod_%{mod_name}
 Version:       1.2.8
-Release:       1.1
+Release:       1.2
 License:       Apache
 Group:         Networking/Daemons
 Source0:       
http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-%{version}/jakarta-tomcat-connectors-%{version}-src.tar.gz
@@ -20,10 +20,6 @@
 BuildRequires: autoconf
 BuildRequires: perl-base
 Requires:      apache1 >= 1.3.33-2
-Requires(post,preun):  %{apxs}
-Requires(post,preun):  %{__perl}
-Requires(post,preun):  grep
-Requires(preun):       fileutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     jakarta-tomcat-connectors-jk
 
@@ -72,7 +68,7 @@
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -92,6 +88,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/02/16 18:18:32  glen
+- restart apache in %postun rather in %preun
+- remove unneeded post,preun deps
+
 Revision 1.7  2005/02/10 18:04:01  glen
 - confdir enabled apache1 (no triggers as it wasn't on ftp)
 - unification; cosmetics
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache1-mod_jk.spec?r1=1.7&r2=1.8&f=u


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

Reply via email to