From 48f915969aa843670d573819db08bd06bd4ec4a3 Mon Sep 17 00:00:00 2001 From: Ivan Suzdal Date: Tue, 29 Sep 2015 19:04:40 +0300 Subject: [PATCH] [fix] Fix Provides and Obsoletes for packages Change-Id: I7cd9a5e45af0774bcabc1f65d73bd902bd13c42a --- mysql.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mysql.spec b/mysql.spec index c8ec694..0c73592 100644 --- a/mysql.spec +++ b/mysql.spec @@ -200,7 +200,7 @@ Name: MySQL%{product_suffix} Summary: MySQL: a very fast and reliable SQL database server Group: Applications/Databases Version: 5.6.23_wsrep_25.10 -Release: %{release}%{?dist}~mos8.0.1 +Release: %{release}%{?dist}~mos8.0.2 # Distribution: %{distro_description} License: Copyright (c) 2000, 2015, %{mysql_vendor}. All rights reserved. Under %{license_type} license as shown in the Description field. Source: mysql-5.6.23.tar.gz @@ -294,6 +294,7 @@ Obsoletes: MySQL-server-advanced-gpl MySQL-server-enterprise-gpl Obsoletes: mariadb-libs mariadb-server Provides: mysql-server = %{version}-%{release} Provides: mysql-server%{?_isa} = %{version}-%{release} +Provides: MySQL-server-wsrep %description -n mysql-wsrep-server%{product_suffix} The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, @@ -336,6 +337,7 @@ Obsoletes: MySQL-client-classic MySQL-client-community MySQL-client-enterpr Obsoletes: MySQL-client-advanced-gpl MySQL-client-enterprise-gpl Provides: mysql = %{version}-%{release} Provides: mysql%{?_isa} = %{version}-%{release} +Provides: MySQL-client-wsrep %description -n mysql-wsrep-client%{product_suffix} This package contains the standard MySQL clients and administration tools. @@ -361,6 +363,7 @@ Obsoletes: MySQL-test-classic MySQL-test-community MySQL-test-enterprise Obsoletes: MySQL-test-advanced-gpl MySQL-test-enterprise-gpl Provides: mysql-test = %{version}-%{release} Provides: mysql-test%{?_isa} = %{version}-%{release} +Provides: MySQL-test-wsrep AutoReqProv: no %description -n mysql-wsrep-test%{product_suffix} @@ -383,6 +386,7 @@ Obsoletes: MySQL-devel-classic MySQL-devel-community MySQL-devel-enterprise Obsoletes: MySQL-devel-advanced-gpl MySQL-devel-enterprise-gpl Provides: mysql-devel = %{version}-%{release} Provides: mysql-devel%{?_isa} = %{version}-%{release} +Provides: MySQL-devel-wsrep %description -n mysql-wsrep-devel%{product_suffix} This package contains the development header files and libraries necessary @@ -399,11 +403,14 @@ Obsoletes: MySQL-shared %else Obsoletes: MySQL-shared-advanced %endif +Provides: mysql-libs +Provides: MySQL-shared-wsrep Obsoletes: MySQL-shared-standard MySQL-shared-pro Obsoletes: MySQL-shared-pro-cert MySQL-shared-pro-gpl 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 +Obsoletes: mariadb-libs %description -n mysql-wsrep-shared%{product_suffix} This package contains the shared libraries (*.so*) which certain languages @@ -1228,6 +1235,9 @@ echo "=====" >> $STATUS_HISTORY # merging BK trees) ############################################################################## %changelog +* Tue Sep 29 2015 Ivan Suzdal - 5.6.23-25.10%{?dist}~mos8.0.2 +- Add Obsoletes and Provide for packages + * Thu Sep 24 2015 Ivan Suzdal - 5.6.23-25.10%{?dist}~mos8.0.1 - Bump release version -- 2.32.3