From dc8d01654b7c36f343c4902ba51c3e1fef884356 Mon Sep 17 00:00:00 2001 From: Balasubramanian Kandasamy Date: Wed, 10 Jul 2013 19:14:41 +0200 Subject: Updated spec file for Bug#17080138 --- support-files/mysql.spec.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index a4648ca0688..9364fb6b8d3 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -288,6 +288,8 @@ Group: Applications/Databases Requires: %{distro_requires} %if 0%{?commercial} Obsoletes: MySQL-server +%else +Obsoletes: MySQL-server-advanced %endif Obsoletes: mysql-server mysql-advanced mysql-server-advanced Obsoletes: MySQL-server-classic MySQL-server-community MySQL-server-enterprise @@ -323,6 +325,8 @@ Summary: MySQL - Client Group: Applications/Databases %if 0%{?commercial} Obsoletes: MySQL-client +%else +Obsoletes: MySQL-client-advanced %endif Obsoletes: mysql < %{version}-%{release} Obsoletes: mysql-advanced < %{version}-%{release} @@ -341,10 +345,11 @@ For a description of MySQL see the base MySQL RPM or http://www.mysql.com/ Summary: MySQL - Test suite Group: Applications/Databases %if 0%{?commercial} -Obsoletes: MySQL-test Requires: MySQL-client-advanced perl +Obsoletes: MySQL-test %else Requires: MySQL-client perl +Obsoletes: MySQL-test-advanced %endif Obsoletes: mysql-test mysql-test-advanced Obsoletes: mysql-bench MySQL-bench @@ -363,6 +368,8 @@ Summary: MySQL - Development header files and libraries Group: Applications/Databases %if 0%{?commercial} Obsoletes: MySQL-devel +%else +Obsoletes: MySQL-devel-advanced %endif Obsoletes: mysql-devel mysql-embedded-devel mysql-devel-advanced mysql-embedded-devel-advanced Obsoletes: MySQL-devel-classic MySQL-devel-community MySQL-devel-enterprise @@ -381,6 +388,8 @@ Summary: MySQL - Shared libraries Group: Applications/Databases %if 0%{?commercial} Obsoletes: MySQL-shared +%else +Obsoletes: MySQL-shared-advanced %endif Obsoletes: MySQL-shared-standard MySQL-shared-pro Obsoletes: MySQL-shared-pro-cert MySQL-shared-pro-gpl @@ -397,10 +406,11 @@ and applications need to dynamically load and use MySQL. Summary: MySQL - Embedded library Group: Applications/Databases %if 0%{?commercial} -Obsoletes: MySQL-embedded Requires: MySQL-devel-advanced +Obsoletes: MySQL-embedded %else Requires: MySQL-devel +Obsoletes: MySQL-embedded-advanced %endif Obsoletes: mysql-embedded mysql-embedded-advanced Obsoletes: MySQL-embedded-pro -- cgit v1.2.1