summaryrefslogtreecommitdiff
path: root/support-files/mysql.spec.sh
diff options
context:
space:
mode:
authorBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2013-03-06 17:05:32 +0100
committerBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2013-03-06 17:05:32 +0100
commit0fd024f6ee76d1fd78f50dadd50826a14d7ae1e9 (patch)
tree069ae87ce863da4ebe8b871e76142ef787db38db /support-files/mysql.spec.sh
parent673c68a925c398cbceaed0d3f573138fdc09d811 (diff)
parentf3abc36db615bf0f46da4f6b51e7cbc8b151b7cb (diff)
downloadmariadb-git-0fd024f6ee76d1fd78f50dadd50826a14d7ae1e9.tar.gz
Added fix for Bug#16445097
Diffstat (limited to 'support-files/mysql.spec.sh')
-rw-r--r--support-files/mysql.spec.sh25
1 files changed, 19 insertions, 6 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 22dd3b87db1..b5bee9915b7 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -286,10 +286,13 @@ documentation and the manual for more information.
Summary: MySQL: a very fast and reliable SQL database server
Group: Applications/Databases
Requires: %{distro_requires}
+Obsoletes: MySQL < %{version}-%{release}
+Obsoletes: MySQL-server < %{version}-%{release}
+Obsoletes: MySQL-server-advanced < %{version}-%{release}
Obsoletes: mysql 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
-Provides: msqlormysql MySQL MySQL-server
+Provides: msqlormysql MySQL MySQL-server MySQL-server-advanced
Provides: mysql
%description -n MySQL-server%{product_suffix}
@@ -321,9 +324,11 @@ package "MySQL-client%{product_suffix}" as well!
Summary: MySQL - Client
Group: Applications/Databases
Obsoletes: mysql mysql-advanced
+Obsoletes: MySQL-client < %{version}-%{release}
+Obsoletes: MySQL-client-advanced < %{version}-%{release}
Obsoletes: MySQL-client-classic MySQL-client-community MySQL-client-enterprise
Obsoletes: MySQL-client-advanced-gpl MySQL-client-enterprise-gpl
-Provides: MySQL-client
+Provides: MySQL-client MySQL-client-advanced
Provides: mysql
%description -n MySQL-client%{product_suffix}
@@ -338,9 +343,11 @@ Group: Applications/Databases
Requires: MySQL-client perl
Conflicts: mysql-test mysql-test-advanced
Obsoletes: mysql-bench MySQL-bench
+Obsoletes: MySQL-test < %{version}-%{release}
+Obsoletes: MySQL-test-advanced < %{version}-%{release}
Obsoletes: MySQL-test-classic MySQL-test-community MySQL-test-enterprise
Obsoletes: MySQL-test-advanced-gpl MySQL-test-enterprise-gpl
-Provides: MySQL-test
+Provides: MySQL-test MySQL-test-advanced
AutoReqProv: no
%description -n MySQL-test%{product_suffix}
@@ -353,9 +360,11 @@ For a description of MySQL see the base MySQL RPM or http://www.mysql.com/
Summary: MySQL - Development header files and libraries
Group: Applications/Databases
Conflicts: mysql-devel mysql-embedded-devel mysql-devel-advanced mysql-embedded-devel-advanced
+Obsoletes: MySQL-devel < %{version}-%{release}
+Obsoletes: MySQL-devel-advanced < %{version}-%{release}
Obsoletes: MySQL-devel-classic MySQL-devel-community MySQL-devel-enterprise
Obsoletes: MySQL-devel-advanced-gpl MySQL-devel-enterprise-gpl
-Provides: MySQL-devel
+Provides: MySQL-devel MySQL-devel-advanced
%description -n MySQL-devel%{product_suffix}
This package contains the development header files and libraries necessary
@@ -369,10 +378,12 @@ Summary: MySQL - Shared libraries
Group: Applications/Databases
Obsoletes: MySQL-shared-standard MySQL-shared-pro
Obsoletes: MySQL-shared-pro-cert MySQL-shared-pro-gpl
+Obsoletes: MySQL-shared < %{version}-%{release}
+Obsoletes: MySQL-shared-advanced < %{version}-%{release}
Obsoletes: MySQL-shared-pro-gpl-cert
Obsoletes: MySQL-shared-classic MySQL-shared-community MySQL-shared-enterprise
Obsoletes: MySQL-shared-advanced-gpl MySQL-shared-enterprise-gpl
-Provides: MySQL-shared
+Provides: MySQL-shared MySQL-shared-advanced
%description -n MySQL-shared%{product_suffix}
This package contains the shared libraries (*.so*) which certain languages
@@ -385,9 +396,11 @@ Group: Applications/Databases
Requires: MySQL-devel
Conflicts: mysql-embedded mysql-embedded-advanced
Obsoletes: MySQL-embedded-pro
+Obsoletes: MySQL-embedded < %{version}-%{release}
+Obsoletes: MySQL-embedded-advanced < %{version}-%{release}
Obsoletes: MySQL-embedded-classic MySQL-embedded-community MySQL-embedded-enterprise
Obsoletes: MySQL-embedded-advanced-gpl MySQL-embedded-enterprise-gpl
-Provides: MySQL-embedded
+Provides: MySQL-embedded MySQL-embedded-advanced
%description -n MySQL-embedded%{product_suffix}
This package contains the MySQL server as an embedded library.