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
1=== modified file 'build/percona-sql-50.spec'
2--- build/percona-sql-50.spec 2012-04-19 19:01:53 +0000
3+++ build/percona-sql-50.spec 2013-03-09 01:24:20 +0000
4@@ -148,6 +148,9 @@
5 Packager: Percona Build Team <info@percona.com>
6 Vendor: %{mysql_vendor}
7 Provides: msqlormysql MySQL-server mysql Percona-SQL
8+%if "%{redhat_version}" == "5"
9+Obsoletes: mysql
10+%endif
11 BuildRequires: gperf perl readline-devel gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time ccache bison flex
12
13 # Think about what you use here since the first step is to
14@@ -805,11 +808,12 @@
15 %{_libdir}/mysql/libmy*.la
16 %{_libdir}/mysql/libvio.a
17 %{_libdir}/mysql/libz*
18+%{_libdir}/*.so
19
20 %files -n Percona-SQL-shared%{server_suffix}
21 %defattr(-, root, root, 0755)
22 # Shared libraries (omit for architectures that don't support them)
23-%{_libdir}/*.so*
24+%{_libdir}/*.so.*
25
26
27 %files -n Percona-SQL-test%{server_suffix}

Subscribers

People subscribed via source and target branches