SPECS (DEVEL): poldek.spec - never use '<=' in trigger comparision...

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


Author: glen                         Date: Wed Feb  6 20:49:15 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- never use '<=' in trigger comparision (drop old triggers)

---- Files affected:
SPECS:
   poldek.spec (1.277.2.3.2.17 -> 1.277.2.3.2.18) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.277.2.3.2.17 SPECS/poldek.spec:1.277.2.3.2.18
--- SPECS/poldek.spec:1.277.2.3.2.17	Sun Jan 13 15:16:41 2008
+++ SPECS/poldek.spec	Wed Feb  6 21:49:10 2008
@@ -8,7 +8,7 @@
 %define	ver_db	4.2.50-1
 %define	ver_rpm	4.4.1
 %define	snap	20070703.00
-%define	rel		9.4
+%define	rel		9.5
 Summary:	RPM packages management helper tool
 Summary(pl.UTF-8):	Pomocnicze narzędzie do zarządzania pakietami RPM
 Name:		poldek
@@ -262,19 +262,6 @@
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
-%triggerpostun -- poldek <= 0.18.3-5
-if [ -f /etc/poldek.conf ]; then
-	sed -i -e '/^promoteepoch:.*yes/s/^/#/' /etc/poldek.conf
-fi
-
-# otherwise don't touch
-%ifarch i386 i586 i686 ppc sparc alpha amd64 athlon
-%triggerpostun -- poldek <= 0.18.7-1
-if [ -f /etc/poldek.conf ]; then
-	sed -i -e 's://ftp.pld-linux.org://ftp.ac.pld-linux.org:g' /etc/poldek.conf
-fi
-%endif
-
 %triggerpostun -- poldek < 0.19.0-1.20050613.22.0
 if [ -f /etc/poldek.conf.rpmsave ]; then
 	awk '/^source/ {
@@ -361,6 +348,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.277.2.3.2.18  2008-02-06 20:49:10  glen
+- never use '<=' in trigger comparision (drop old triggers)
+
 Revision 1.277.2.3.2.17  2008-01-13 14:16:41  glen
 - disable dir deps, rel 9.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/poldek.spec?r1=1.277.2.3.2.17&r2=1.277.2.3.2.18&f=u



More information about the pld-cvs-commit mailing list