[packages/percona-server/v5.0.x: 50/202] - never use '<=' in trigger comparision; rel 3

glen glen at pld-linux.org
Wed Oct 21 16:13:14 CEST 2015


commit 885918e3438e7f01a591fbae5a7b472c232f79bd
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Feb 6 20:44:09 2008 +0000

    - never use '<=' in trigger comparision; rel 3
    
    Changed files:
        mysql.spec -> 1.353.2.33

 mysql.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index 5bd3469..f49ca29 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -24,7 +24,7 @@ Summary(uk.UTF-8):	MySQL - швидкий SQL-сервер
 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
@@ -688,9 +688,9 @@ fi
 %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
@@ -703,7 +703,7 @@ if [ -f "/etc/sysconfig/mysql" ]; then
 	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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22



More information about the pld-cvs-commit mailing list