From 19fb2f1a3d950a87eb3fe5a4f0eefd47f4971722 Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkraenzer Date: Wed, 19 Feb 2014 17:50:09 +0100 Subject: [PATCH] Fix transition from mysql --- mariadb.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index 91f9281..e250f97 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -5,7 +5,7 @@ Name: mariadb Version: 10.0.8 -Release: 1 +Release: 2 Source0: http://mirrors.fe.up.pt/pub/mariadb/mariadb-%{version}/kvm-tarbake-jaunty-x86/mariadb-%{version}.tar.gz Source100: mysqld.service Source101: mysqld-prepare-db-dir @@ -37,6 +37,7 @@ BuildRequires: wrap-devel BuildRequires: pam-devel # For plugin/ha_oqgraph.so BuildRequires: boost-devel +Obsoletes: mysql < 5.7 %description The MariaDB database, a drop-in replacement for MySQL. @@ -71,6 +72,7 @@ Development files for the MariaDB database. Summary: Static libraries for the MariaDB database Provides: %{name}-static-devel = %{EVRD} Group: Development/Other +Obsoletes: mysql-static-devel < 5.7 %description -n %{staticpackage} Static libraries for the MariaDB database. @@ -83,6 +85,7 @@ Static libraries for the MariaDB database. %package plugin Summary: MariaDB plugins Group: Databases +Obsoletes: mysql-plugin < 5.7 %description plugin Plugins for the MariaDB database. @@ -150,6 +153,7 @@ for both hard disk drives and flash memory. %package test Summary: MariaDB test suite Group: System/Servers +Obsoletes: mysql-test < 5.7 %description test MariaDB test suite. @@ -170,6 +174,7 @@ Summary: MariaDB server Group: System/Servers Requires: %{name}-common = %{EVRD} Requires: %{name}-plugin = %{EVRD} +Obsoletes: mysql-server < 5.7 %description server The MariaDB server. For a full MariaDB database server, install @@ -277,6 +282,7 @@ Tool to convert code written for mSQL to MySQL/MariaDB. Summary: Common files needed by both the MariaDB server and client Group: System/Servers BuildArch: noarch +Obsoletes: mysql-common < 5.7 %description common Common files needed by both the MariaDB server and client. @@ -318,6 +324,7 @@ Common files needed by both the MariaDB server and client. %package client Summary: MariaDB command line client Group: Databases +Obsoletes: mysql-client < 5.7 %description client MariaDB command line client.