SPECS: lms.spec - never use '<=' in trigger comparision (well just...

glen glen at pld-linux.org
Wed Feb 6 21:21:12 CET 2008


Author: glen                         Date: Wed Feb  6 20:21:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- never use '<=' in trigger comparision (well just drop old triggers); rel 2

---- Files affected:
SPECS:
   lms.spec (1.103 -> 1.104) 

---- Diffs:

================================================================
Index: SPECS/lms.spec
diff -u SPECS/lms.spec:1.103 SPECS/lms.spec:1.104
--- SPECS/lms.spec:1.103	Sun Dec 16 23:37:07 2007
+++ SPECS/lms.spec	Wed Feb  6 21:21:07 2008
@@ -13,7 +13,7 @@
 Summary(pl.UTF-8):	System Zarządzania Siecią Lokalną
 Name:		lms
 Version:	%{lmsver}.%{lmssubver}
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking/Utilities
 Source0:	http://www.lms.org.pl/download/%{lmsver}/%{name}-%{version}.tar.gz
@@ -258,34 +258,6 @@
 %triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
-%triggerpostun -- %{name} <= 1.0.4
-echo "WARNING!!!"
-echo "_READ_ and upgrade LMS database:"
-echo "MySQL: /usr/share/doc/%{name}-%{version}/UPGRADE-1.0-1.5.mysql.gz"
-echo "PostgreSQL: /usr/share/doc/%{name}-%{version}/UPGRADE-1.0-1.5.pgsql.gz"
-
-%triggerpostun -- %{name} <= 1.2.0
-echo "BEWARE:"
-echo "Automatic upgrade from LMS<= 1.2.0 is NO LONGER SUPPORTED by lms team"
-echo "You are advised to upgrade it manually"
-echo
-
-%triggerpostun -- %{name} < 1.6.6-1.4
-# nuke very-old config location (this mostly for Ra)
-if [ -f /etc/httpd/httpd.conf ]; then
-	sed -i -e "/^Include.*%{name}.conf/d" /etc/httpd/httpd.conf
-fi
-
-# migrate from httpd (apache2) config dir
-if [ -f /etc/httpd/%{name}.conf.rpmsave ]; then
-	cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew}
-	mv -f /etc/httpd/%{name}.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf
-fi
-
-rm -f /etc/httpd/httpd.conf/99_%{name}.conf
-/usr/sbin/webapp register httpd %{_webapp}
-%service -q httpd reload
-
 %files
 %defattr(644,root,root,755)
 %doc doc/{AUTHORS,ChangeLog,INSTALL,README*,lms*}
@@ -361,6 +333,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104  2008-02-06 20:21:07  glen
+- never use '<=' in trigger comparision (well just drop old triggers); rel 2
+
 Revision 1.103  2007-12-16 22:37:07  dzeus
 - up to 1.10.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lms.spec?r1=1.103&r2=1.104&f=u



More information about the pld-cvs-commit mailing list