Merge lp:~ignacio-nin/percona-server/5.0-nonconflicting-libmysqlclient into lp:~percona-dev/percona-server/release-5.0.92

Proposed by Ignacio Nin
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: 89
Merge reported by: Ignacio Nin
Merged at revision: not available
Proposed branch: lp:~ignacio-nin/percona-server/5.0-nonconflicting-libmysqlclient
Merge into: lp:~percona-dev/percona-server/release-5.0.92
Diff against target: 27 lines (+5/-1)
1 file modified
build/percona-sql-50.spec (+5/-1)
To merge this branch: bzr merge lp:~ignacio-nin/percona-server/5.0-nonconflicting-libmysqlclient
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+152542@code.launchpad.net

Description of the change

Changes for solving the RPM shared packages related bugs.

This works together with lp:~ignacio-nin/percona-server/5.1-nonconflicting-libmysqlclient, lp:~ignacio-nin/percona-server/5.5-nonconflicting-libmysqlclient and lp:~ignacio-nin/percona-xtradb-cluster/5.5.29-nonconflicting-libmysqlclient for the products becoming compatible when installing the percona-server-shared package.

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Why do we have to fix this for 5.0? Does this mean we'd have to make a new 5.0 release?

review: Needs Information
Revision history for this message
Ignacio Nin (ignacio-nin) wrote :

> Why do we have to fix this for 5.0? Does this mean we'd have to make a new 5.0
> release?

Since the 5.0 packages still live in the repositories, this fix was needed to make it compatible with the 5.1 and 5.5 packages.

Furthermore, CentOS 5 ships libmysqlclient from 5.0, so all packages are linked to libmysqlclient.so.15 and our Percona-SQL-shared-50 gets called in when something depends on libmysqlclient.so.15.

However I wouldn't consider this a new release since there's no new code (it's 5.0.92 still), just a minor update to the packages.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'build/percona-sql-50.spec'
--- build/percona-sql-50.spec 2012-04-19 19:01:53 +0000
+++ build/percona-sql-50.spec 2013-03-09 01:24:20 +0000
@@ -148,6 +148,9 @@
148Packager: Percona Build Team <info@percona.com>148Packager: Percona Build Team <info@percona.com>
149Vendor: %{mysql_vendor}149Vendor: %{mysql_vendor}
150Provides: msqlormysql MySQL-server mysql Percona-SQL150Provides: msqlormysql MySQL-server mysql Percona-SQL
151%if "%{redhat_version}" == "5"
152Obsoletes: mysql
153%endif
151BuildRequires: gperf perl readline-devel gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time ccache bison flex154BuildRequires: gperf perl readline-devel gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time ccache bison flex
152155
153# Think about what you use here since the first step is to156# Think about what you use here since the first step is to
@@ -805,11 +808,12 @@
805%{_libdir}/mysql/libmy*.la808%{_libdir}/mysql/libmy*.la
806%{_libdir}/mysql/libvio.a809%{_libdir}/mysql/libvio.a
807%{_libdir}/mysql/libz*810%{_libdir}/mysql/libz*
811%{_libdir}/*.so
808812
809%files -n Percona-SQL-shared%{server_suffix}813%files -n Percona-SQL-shared%{server_suffix}
810%defattr(-, root, root, 0755)814%defattr(-, root, root, 0755)
811# Shared libraries (omit for architectures that don't support them)815# Shared libraries (omit for architectures that don't support them)
812%{_libdir}/*.so*816%{_libdir}/*.so.*
813817
814818
815%files -n Percona-SQL-test%{server_suffix}819%files -n Percona-SQL-test%{server_suffix}

Subscribers

People subscribed via source and target branches