List:Commits« Previous MessageNext Message »
From:Balasubramanian Kandasamy Date:July 10 2013 4:03pm
Subject:bzr push into mysql-5.6 branch (balasubramanian.kandasamy:5289 to 5290)
Bug#17080138
View as plain text  
 5290 Balasubramanian Kandasamy	2013-07-10
      Updated spec file for Bug#17080138

    modified:
      support-files/mysql.spec.sh
 5289 Balasubramanian Kandasamy	2013-07-10
      Cleaned up spec file to handle advanced to community downgrade

    modified:
      support-files/mysql.spec.sh
=== modified file 'support-files/mysql.spec.sh'
--- a/support-files/mysql.spec.sh	2013-07-10 14:21:04 +0000
+++ b/support-files/mysql.spec.sh	2013-07-10 16:02:48 +0000
@@ -286,6 +286,11 @@ documentation and the manual for more in
 Summary:        MySQL: a very fast and reliable SQL database server
 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
 Obsoletes:      MySQL-server-advanced-gpl MySQL-server-enterprise-gpl
@@ -318,6 +323,11 @@ package "MySQL-client%{product_suffix}"
 %package -n MySQL-client%{product_suffix}
 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}
 Obsoletes:      MySQL-client-classic MySQL-client-community MySQL-client-enterprise
@@ -335,8 +345,10 @@ Summary:        MySQL - Test suite
 Group:          Applications/Databases
 %if 0%{?commercial}
 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-test-classic MySQL-test-community MySQL-test-enterprise
@@ -352,6 +364,11 @@ For a description of MySQL see the base
 %package -n MySQL-devel%{product_suffix}
 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
 Obsoletes:      MySQL-devel-advanced-gpl MySQL-devel-enterprise-gpl
@@ -366,6 +383,11 @@ For a description of MySQL see the base
 %package -n MySQL-shared%{product_suffix}
 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
 Obsoletes:      MySQL-shared-pro-gpl-cert
@@ -382,8 +404,10 @@ Summary:        MySQL - Embedded library
 Group:          Applications/Databases
 %if 0%{?commercial}
 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

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.6 branch (balasubramanian.kandasamy:5289 to 5290)Bug#17080138Balasubramanian Kandasamy20 Aug