]> git.pld-linux.org Git - packages/mysql.git/blobdiff - mysql.spec
- never use '<=' in trigger comparision; rel 7
[packages/mysql.git] / mysql.spec
index c114f045188a780998acd0c68d6aed6bd6b45ccb..146a1ed45e253cba1646c14a75fc548cbbc7c768 100644 (file)
@@ -33,7 +33,7 @@ Summary(uk.UTF-8):    MySQL - швидкий SQL-сервер
 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
@@ -711,10 +711,7 @@ fi
 %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
@@ -729,7 +726,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
@@ -768,8 +765,6 @@ done
 EOF
 #'
 
-%endif
-
 %triggerpostun -- mysql < 5.1.0
 configs=""
 for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/mysql/clusters.conf); do
This page took 0.026519 seconds and 4 git commands to generate.