SPECS: apache.spec - use %%banner macro instead of `echo' (not tes...

twittner twittner at pld-linux.org
Fri Jul 8 22:43:03 CEST 2005


Author: twittner                     Date: Fri Jul  8 20:43:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %%banner macro instead of `echo' (not tested)
- formatting %%banner messages

---- Files affected:
SPECS:
   apache.spec (1.399 -> 1.400) 

---- Diffs:

================================================================
Index: SPECS/apache.spec
diff -u SPECS/apache.spec:1.399 SPECS/apache.spec:1.400
--- SPECS/apache.spec:1.399	Fri Jul  8 19:54:24 2005
+++ SPECS/apache.spec	Fri Jul  8 22:42:57 2005
@@ -1020,24 +1020,27 @@
 fi
 
 %triggerpostun -- %{name} <= 2.0.50-6
-echo "WARNING!!!"
-echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
-echo "If you want to have the same functionality do:"
-echo "poldek --upgrade %{name}-mod_autoindex"
-echo
+%banner %{name}-2.0.50-6 << EOF
+WARNING!!!
+Since apache-2.0.50-6 autoindex module has been separated to package
+%{name}-mod_autoindex If you want to have the same functionality do:
+poldek --upgrade %{name}-mod_autoindex
+EOF
 
 %triggerpostun -- %{name} <= 2.0.54-2
-echo '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+%banner %{name}-2.0.54-2 << EOF
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !!!                                                      !!!
 !!! WARNING!!!                                           !!!
 !!!                                                      !!!
-!!! CGI demo/test programs -  printenv, test-cgi  - have !!!
+!!! CGI demo/test programs - printenv and test-cgi, have !!!
 !!! been released from package apache into separate      !!!
 !!! subpackage apache-cgi_test. If you need printenv     !!!
 !!! and/or test-cgi, please install apache-cgi_test      !!!
 !!! package, e.g. by running poldek -Uv apache-cgi_test  !!!
 !!!                                                      !!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+EOF
 
 %post mod_actions
 if [ -f /var/lock/subsys/httpd ]; then
@@ -1825,6 +1828,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.400  2005/07/08 20:42:57  twittner
+- use %%banner macro instead of `echo' (not tested)
+- formatting %%banner messages
+
 Revision 1.399  2005/07/08 17:54:24  paszczus
 - should be s/form/from/g as i think
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache.spec?r1=1.399&r2=1.400&f=u




More information about the pld-cvs-commit mailing list