[packages/mysql] - merged triggers for rpm.org

qboosh qboosh at pld-linux.org
Sat Oct 8 20:26:36 CEST 2022


commit 8741ee5cd9aa8e8a7408c727fc638d0d4fd3b206
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 8 20:27:08 2022 +0200

    - merged triggers for rpm.org

 mysql.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index cedc026..fc72271 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -684,7 +684,8 @@ fi
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
-%triggerpostun -- mysql < 4.0.20-2.4
+%triggerpostun -- mysql < 5.7.0
+# mysql < 4.0.20-2.4
 # For clusters in /etc/%{name}/clusters.conf
 if [ -f /etc/sysconfig/mysql ]; then
 	. /etc/sysconfig/mysql
@@ -699,7 +700,7 @@ if [ -f /etc/sysconfig/mysql ]; then
 	fi
 fi
 
-%triggerpostun -- mysql < 4.1.1
+# mysql < 4.1.1
 # For better compatibility with prevoius versions:
 for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/%{name}/clusters.conf); do
 	if echo "$config" | grep -q '^/'; then
@@ -738,7 +739,7 @@ done
 EOF
 #'
 
-%triggerpostun -- mysql < 5.1.0
+# mysql < 5.1.0
 configs=""
 for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/%{name}/clusters.conf); do
 	if echo "$config" | grep -q '^/'; then
@@ -777,7 +778,7 @@ for config in $configs; do
 done
 ) | %banner -e %{name}-5.1
 
-%triggerpostun -- mysql < 5.5.0
+# mysql < 5.5.0
 configs=""
 for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/%{name}/clusters.conf); do
 	if echo "$config" | grep -q '^/'; then
@@ -820,7 +821,7 @@ for config in $configs; do
 done
 ) | %banner -e %{name}-5.5
 
-%triggerpostun -- mysql < 5.7.0
+# mysql < 5.7.0
 configs=""
 for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/%{name}/clusters.conf); do
 	if echo "$config" | grep -q '^/'; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/8741ee5cd9aa8e8a7408c727fc638d0d4fd3b206



More information about the pld-cvs-commit mailing list