From 7f7d79e0816961acec585dbfb7f0c4b1f2a089af Mon Sep 17 00:00:00 2001 From: Ivan Suzdal Date: Thu, 6 Jul 2017 16:34:45 +0300 Subject: [PATCH] MySQL client metapackage and break condition This patch introduces two changes: - added the break condition statement for mysql-server-wsrep-core-5.6 which is needed to allow easy upgrades from pre 5.6 mysql-wsrep - added the libmysqlclient18 metapackage which is needed to avoid conflicts during installation of 3rd-party packages which depend on the real libmysqlclient18 package and cannot be satisfied with the virtual one Closes-Bug: #1651182 Change-Id: Id3794f47ec6d45cdaeaba9943cb89e9eb22c202c --- debian/changelog | 7 +++++++ debian/control | 12 +++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9e5573fa..c04f0ea6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mysql-wsrep-5.6 (5.6.35-0~u14.04+mos2) mos; urgency=low + + * Add Break for mysql-server-wsrep-core-5.6 + * Introduce libmysqlclient18 + + -- Ivan Suzdal Thu, 06 Jul 2017 16:34:26 +0300 + mysql-wsrep-5.6 (5.6.35-0~u14.04+mos1) mos; urgency=low * New release from codership merged with diff --git a/debian/control b/debian/control index cd547330..c72146a1 100644 --- a/debian/control +++ b/debian/control @@ -30,8 +30,6 @@ Section: libs Architecture: any Depends: mysql-wsrep-common-5.6, ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} -Replaces: libmysqlclient18 -Provides: libmysqlclient18 Multi-Arch: same Description: MySQL database client library MySQL is a fast, stable and true multi-user, multi-threaded SQL database @@ -41,6 +39,13 @@ Description: MySQL database client library . This package includes the client library. +Package: libmysqlclient18 +Architecture: any +Depends: mysql-wsrep-libmysqlclient18 (= ${binary:Version}) +Description: libmysqlclient18 metapackage + Provides a "real" package instead of the virtual one to satisfy + dependencies of third-party applications. + Package: mysql-wsrep-libmysqlclient-dev Architecture: any Section: libdevel @@ -141,7 +146,8 @@ Breaks: mysql-server-5.5, mysql-server-5.6, mysql-server-core-5.5, mysql-server-core-5.6, - virtual-mysql-server + virtual-mysql-server, + mysql-server-wsrep-core-5.6 Replaces: mysql-server-5.5, mysql-server-5.6, virtual-mysql-server, mysql-server-wsrep-core-5.6, mysql-wsrep-common-5.6 Description: MySQL database wsrep server binaries and system database setup MySQL is a fast, stable and true multi-user, multi-threaded SQL database -- 2.45.2