]> review.fuel-infra Code Review - packages/trusty/mysql-wsrep-5.6.git/commitdiff
MySQL client metapackage and break condition 67/35867/2 8.0
authorIvan Suzdal <isuzdal@mirantis.com>
Thu, 6 Jul 2017 13:34:45 +0000 (16:34 +0300)
committerDenis V. Meltsaykin <dmeltsaykin@mirantis.com>
Fri, 14 Jul 2017 10:05:58 +0000 (13:05 +0300)
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
debian/control

index 9e5573fa5ddbc50603653a54466830027608c3ac..c04f0ea6ae8ab0fbc488ebfe16bb9c6af872bea6 100644 (file)
@@ -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 <mos-linux@mirantis.com>  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
index cd547330b47dddcb96ec8bcc559b302e92d07475..c72146a130061c08a14ec8529668aeacb87aaa30 100644 (file)
@@ -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