SPECS (MYSQL_5_0): mysql.spec - never use '<=' in trigger comparis...

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


Author: glen                         Date: Wed Feb  6 20:44:15 2008 GMT
Module: SPECS                         Tag: MYSQL_5_0
---- Log message:
- never use '<=' in trigger comparision; rel 3

---- Files affected:
SPECS:
   mysql.spec (1.353.2.32 -> 1.353.2.33) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.353.2.32 SPECS/mysql.spec:1.353.2.33
--- SPECS/mysql.spec:1.353.2.32	Wed Feb  6 21:43:19 2008
+++ SPECS/mysql.spec	Wed Feb  6 21:44:09 2008
@@ -25,7 +25,7 @@
 Summary(zh_CN.UTF-8):	MySQLć•°ćŽĺş“ćœĺŠĄĺ™¨
 Name:		mysql
 Version:	5.0.51a
-Release:	2
+Release:	3
 License:	GPL + MySQL FLOSS Exception
 Group:		Applications/Databases
 #Source0:	ftp://ftp.mysql.com/pub/mysql/src/%{name}-%{version}.tar.gz
@@ -689,9 +689,9 @@
 %post   libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
-%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
+if [ -f /etc/sysconfig/mysql ]; then
 	. /etc/sysconfig/mysql
 	if [ -n "$MYSQL_DB_CLUSTERS" ]; then
 		for i in "$MYSQL_DB_CLUSTERS"; do
@@ -704,7 +704,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
@@ -962,6 +962,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.353.2.33  2008-02-06 20:44:09  glen
+- never use '<=' in trigger comparision; rel 3
+
 Revision 1.353.2.32  2008-02-06 20:43:19  glen
 - convert to utf8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysql.spec?r1=1.353.2.32&r2=1.353.2.33&f=u



More information about the pld-cvs-commit mailing list