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

---- Files affected:
SPECS:
   apache1.spec (1.74 -> 1.75) 

---- Diffs:

================================================================
Index: SPECS/apache1.spec
diff -u SPECS/apache1.spec:1.74 SPECS/apache1.spec:1.75
--- SPECS/apache1.spec:1.74     Tue Feb 15 13:07:55 2005
+++ SPECS/apache1.spec  Wed Feb 16 19:20:31 2005
@@ -30,7 +30,7 @@
 Summary(zh_CN):        Internet ÉĎÓŚÓĂ×îšăˇşľÄ Web ˇţÎńłĚĐňĄŁ
 Name:          apache1
 Version:       1.3.33
-Release:       2.4
+Release:       2.6
 License:       Apache Group
 Group:         Networking/Daemons
 Source0:       http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
@@ -657,7 +657,6 @@
 Summary:       Apache module with Web proxy
 Summary(pl):   Moduł dodający obsługę serwera proxy
 Group:         Networking/Daemons
-Requires(post,preun):  %{name}(EAPI) = %{version}-%{release}
 Requires(triggerpostun):       %{apxs}
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache-mod_proxy = %{version}-%{release}
@@ -693,7 +692,6 @@
 Summary:       Server status report module for apache
 Summary(pl):   Moduł dostarczający informacje statystyczne o serwerze.
 Group:         Networking/Daemons
-Requires(post,preun):  %{name}(EAPI) = %{version}-%{release}
 Requires(triggerpostun):       %{apxs}
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache-mod_status = %{version}-%{release}
@@ -755,7 +753,6 @@
 Summary:       Apache module for dynamically configured mass virtual hosting
 Summary(pl):   Moduł dodający obsługę hostów wirtualnych.
 Group:         Networking/Daemons
-Requires(post,preun):  %{name}(EAPI) = %{version}-%{release}
 Requires(triggerpostun):       %{apxs}
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache-mod_vhost_alias = %{version}-%{release}
@@ -1008,7 +1005,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_actions
+%postun mod_actions
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1022,7 +1019,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_auth
+%postun mod_auth
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1036,7 +1033,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_auth_anon
+%postun mod_auth_anon
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1050,7 +1047,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_auth_db
+%postun mod_auth_db
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1069,7 +1066,7 @@
        fi
 fi
 
-%preun mod_auth_digest
+%postun mod_auth_digest
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1081,7 +1078,7 @@
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
-%preun mod_autoindex
+%postun mod_autoindex
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1101,7 +1098,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_define
+%postun mod_define
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1115,7 +1112,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_digest
+%postun mod_digest
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1129,7 +1126,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_dir
+%postun mod_dir
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1143,7 +1140,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_expires
+%postun mod_expires
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1157,7 +1154,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_headers
+%postun mod_headers
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1171,7 +1168,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_imap
+%postun mod_imap
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1185,7 +1182,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_info
+%postun mod_info
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1199,7 +1196,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_log_forensic
+%postun mod_log_forensic
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1213,7 +1210,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_mmap_static
+%postun mod_mmap_static
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1227,7 +1224,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_proxy
+%postun mod_proxy
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1247,7 +1244,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_rewrite
+%postun mod_rewrite
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1261,7 +1258,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_status
+%postun mod_status
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1281,7 +1278,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_unique_id
+%postun mod_unique_id
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1295,7 +1292,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_usertrack
+%postun mod_usertrack
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1309,7 +1306,7 @@
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP 
daemon."
 fi
 
-%preun mod_vhost_alias
+%postun mod_vhost_alias
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
@@ -1849,6 +1846,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.75  2005/02/16 18:20:31  glen
+- restart apache in %postun for modules rather in %preun
+- remove unneeded post,preun deps
+
 Revision 1.74  2005/02/15 12:07:55  glen
 - Provide apache-modname for each module
 - swap order mod_autoindex scripts with mod_auth_digest
================================================================

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


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

Reply via email to