~ignacio-nin/percona-server/5.5-nonconflicting-libmysqlclient

Move libmysqlclient.so from the shared package to the devel package

This commit is part of a series of fixes in all the branches of Percona-Server
and Percona-XtraDB-Cluster, for which the goal is to stop including
libmysqlclient.so and libmysqlclient_r.so in the shared packages and include
it in the devel package.

Also for the Percona-Server-shared-compat package for rhel5, have it Obsolete:
mysql instead of mysql-libs -- this is because the package which contains the
shared library in rhel5 is mysql, not mysql-libs.

Rationale:
Following the model of the upstream (MySQL) packages, a copy of the versioned
library -- libmysqlclient.so.15 for 5.0, libmysqlclient.so.16 for 51 and
libmysqlclient.so.18 for 5.5 -- was included in the shared package with name
libmysqlclient.so.

This creates the problem of making the library packages not compatible to each
other, making it impossible to have PS-shared-51 and PS-shared-55 installed at
the same time, for example. Upstream solved this problem by providing a
shared-compat package (which we also include), containing all the older
versions of the libraries.

This solution is acceptable for manual installation, however it doesn't play
good with our repositories. Since we include all of our software in the same
repository, there are many combinations possible that you can choose. As long
as the user stuck to a particular version, this wouldn't cause trouble -- but
it's impossible to avoid when installing a package that depends on a particular
libmysqlclient.so version, like php-mysql, or percona-toolkit (indirectly via
perl-DBD-mysql). In rhel6, these packages depend on the 5.1 version of the
library, so if Percona-Server-5.5 was installed, the shared package for the 5.1
version got selected by yum but it would conflict at the file level on
libmysqlclient.so. In rhel5 the situation would be even worse, since these
packages depend on the 5.0 version of the library, making 5.1 and 5.5 difficult
to install unless the user would select specifically
Percona-Server-shared-compat. Having 5.1 or 5.5 depend directly on
PS-shared-compat only introduced further problems.

The solution proposed hereby is to follow the model of the distributions, and
have the packages not install libmysqlclient.so, but only the versioned
libraries. The distro packages are prepared to link against the versioned
libraries only, so not having the unversioned libraries should not be a problem
for installing packages. The unversiones libraries are installed in the -devel
packages, since these are needed for linking new programs against it.

This way, PS 5.1, PS 5.5 and PXC can be installed alonside the shared package
for 5.0 (Percona-SQL-shared-50) in rhel5 and 5.1 (Percona-Server-shared-51) in
rhel6, allowing for any combination of software and seamless installs of
percona-toolkit or any other package that would depend on a specific package.

Filename Latest Rev Last Changed Committer Comment Size
..
build 298.1.4 11 years ago Stewart Smith merge 5.1.63.13.4 release branch from 5.1. Resolve Diff
doc 288.2.1 11 years ago Stewart Smith merge theme-makefile-5.1 from 5.1 tree. This basic Diff
HandlerSocket-Plugin-for-MySQL 333.3.1 11 years ago Ignacio Nin Merge HandlerSocket update from 5.1 See merged co Diff
Percona-Server 239.4.1 11 years ago Alexey Kopytov Null merge from 5.1 to reconcile our 5.1 and 5.5 b Diff
python-for-subunit2junitxml 175.1.1 12 years ago Stewart Smith add subunit2junitxml and needed libraries Diff
UDF 33.3.1 13 years ago Aleksandr Kuzminsky RPM .spec file is added to build Percona Server ba Diff
.bzrignore 288.2.10 11 years ago Stewart Smith merge 5.1 fix for merged lp:~hrvojem/percona-serve 22 bytes Diff Download File
COPYING.innodb-deadlock-count-patch 10 13 years ago Oleg Tsarev propogate Oleg's patches 1.6 KB Diff Download File
COPYING.show_temp_51 10 13 years ago Oleg Tsarev propogate Oleg's patches 1.6 KB Diff Download File
handlersocket.patch 333.3.1 11 years ago Ignacio Nin Merge HandlerSocket update from 5.1 See merged co 1.2 KB Diff Download File
Makefile 401 11 years ago Ignacio Nin Update versions to 5.5.29-29.4 3.2 KB Diff Download File
README.HandlerSocket 333.3.1 11 years ago Ignacio Nin Merge HandlerSocket update from 5.1 See merged co 508 bytes Diff Download File
File subunit2junitxml 175.1.1 12 years ago Stewart Smith add subunit2junitxml and needed libraries 2.2 KB Diff Download File
File uninstall_tests.sh 10 13 years ago Oleg Tsarev propogate Oleg's patches 629 bytes Diff Download File