MDEV-13589 libmariadbclient18 is broken when using mariadb repo instead of debian's

put libmariadbclient18 symlinks into libmariadbclient18.deb package,
not into libmariadb3.deb, because installing/reinstalling
libmariadbclient18.deb must recreate these symlinks.
This commit is contained in:
Sergei Golubchik 2017-09-10 13:50:05 +02:00
parent 0757a1b3e2
commit b5ead3a658
4 changed files with 12 additions and 12 deletions

18
debian/control vendored
View file

@ -48,13 +48,9 @@ Conflicts: mariadb-galera-server-10.0 (<< 10.0.5),
mariadb-server-5.2, mariadb-server-5.2,
mariadb-server-5.3, mariadb-server-5.3,
mariadb-server-5.5 (<< 5.5.33) mariadb-server-5.5 (<< 5.5.33)
Replaces: libmariadbclient18, Replaces: libmysqlclient19,
libmysqlclient18,
libmysqlclient19,
libmysqlclient20 libmysqlclient20
Provides: libmariadbclient18, Provides: libmysqlclient19,
libmysqlclient18,
libmysqlclient19,
libmysqlclient20 libmysqlclient20
Description: MariaDB database client library Description: MariaDB database client library
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
@ -68,27 +64,29 @@ Package: libmariadbclient18
Section: libs Section: libs
Architecture: any Architecture: any
Depends: libmariadb3 (= ${binary:Version}), ${misc:Depends} Depends: libmariadb3 (= ${binary:Version}), ${misc:Depends}
Replaces: libmariadbclient18
Provides: libmariadbclient18
Description: Virtual package to satisfy external depends Description: Virtual package to satisfy external depends
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and language in the world. The main goals of MariaDB are speed, robustness and
ease of use. ease of use.
. .
This is an empty package that depends on the libmariadb3 This package provides compatibility symlinks for libmariadb3
package.
Package: libmysqlclient18 Package: libmysqlclient18
Section: libs Section: libs
Architecture: any Architecture: any
Depends: libmariadb3 (= ${binary:Version}), ${misc:Depends} Depends: libmariadb3 (= ${binary:Version}), ${misc:Depends}
Replaces: libmysqlclient18
Provides: libmysqlclient18
Description: Virtual package to satisfy external depends Description: Virtual package to satisfy external depends
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and language in the world. The main goals of MariaDB are speed, robustness and
ease of use. ease of use.
. .
This is an empty package that depends on the libmariadb3 This package provides compatibility symlinks for libmariadb3
package.
Package: libmariadb-dev Package: libmariadb-dev
Architecture: any Architecture: any

View file

@ -1,5 +1,5 @@
usr/lib/*/libmariadbclient.so.* usr/lib/*/libmysqlclient.so.19
usr/lib/*/libmysqlclient.so.* usr/lib/*/libmysqlclient.so.20
usr/lib/*/libmariadb.so.* usr/lib/*/libmariadb.so.*
usr/lib/mysql/plugin/dialog.so usr/lib/mysql/plugin/dialog.so
usr/lib/mysql/plugin/mysql_clear_password.so usr/lib/mysql/plugin/mysql_clear_password.so

1
debian/libmariadbclient18.install vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/*/libmariadbclient.so.18

1
debian/libmysqlclient18.install vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/*/libmysqlclient.so.18