SPECS: mysql.spec - never use '<=' in trigger comparision; rel 7
glen
glen at pld-linux.org
Wed Feb 6 21:42:12 CET 2008
Author: glen Date: Wed Feb 6 20:42:12 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- never use '<=' in trigger comparision; rel 7
---- Files affected:
SPECS:
mysql.spec (1.399 -> 1.400)
---- Diffs:
================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.399 SPECS/mysql.spec:1.400
--- SPECS/mysql.spec:1.399 Fri Feb 1 18:13:34 2008
+++ SPECS/mysql.spec Wed Feb 6 21:42:07 2008
@@ -34,7 +34,7 @@
Summary(zh_CN.UTF-8): MySQL数据库服务器
Name: mysql
Version: 5.1.22
-Release: 6
+Release: 7
License: GPL + MySQL FLOSS Exception
Group: Applications/Databases
#Source0Download: http://dev.mysql.com/downloads/mysql/5.1.html#source
@@ -712,10 +712,7 @@
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
-%if 0
-# rpm 4.4.9 is broken, it invokes the first trigger (4.0.20-2) three times
-# instead all of them (or only last one if compared to 4.4.2).
-%triggerpostun -- mysql <= 4.0.20-2
+%triggerpostun -- mysql < 4.0.20-2.4
# For clusters in /etc/mysql/clusters.conf
if [ -f /etc/sysconfig/mysql ]; then
. /etc/sysconfig/mysql
@@ -730,7 +727,7 @@
fi
fi
-%triggerpostun -- mysql <= 4.1.1
+%triggerpostun -- mysql < 4.1.1
# For better compatibility with prevoius versions:
for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/mysql/clusters.conf); do
if echo "$config" | grep -q '^/'; then
@@ -769,8 +766,6 @@
EOF
#'
-%endif
-
%triggerpostun -- mysql < 5.1.0
configs=""
for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/mysql/clusters.conf); do
@@ -1038,6 +1033,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.400 2008-02-06 20:42:07 glen
+- never use '<=' in trigger comparision; rel 7
+
Revision 1.399 2008-02-01 17:13:34 qboosh
- mysql_config insanity needs fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysql.spec?r1=1.399&r2=1.400&f=u
More information about the pld-cvs-commit
mailing list