Merge lp:~ignacio-nin/percona-server/5.1-rpm-obsoletes into lp:percona-server/5.1

Proposed by Ignacio Nin
Status: Rejected
Rejected by: Laurynas Biveinis
Proposed branch: lp:~ignacio-nin/percona-server/5.1-rpm-obsoletes
Merge into: lp:percona-server/5.1
Diff against target: 13 lines (+2/-0)
1 file modified
build/percona-server.spec (+2/-0)
To merge this branch: bzr merge lp:~ignacio-nin/percona-server/5.1-rpm-obsoletes
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Disapprove
Review via email: mp+191854@code.launchpad.net

Description of the change

Changes that implement the blueprint for the 5.1 branch

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

Closing this MP. If still relevant, will be resubmitted by DS (BLD-177).

review: Disapprove

Unmerged revisions

578. By Ignacio Nin

Remove the Obsoletes: lines from the shared package except for CentOS 6

Due to every version of Percona Server (5.1, 5.5, 5.6 and PXC) having a
shared library package that Obsoletes: mysql-libs, upgrading from a
mysql-libs installation would use any available version to obsolete
mysql-libs, when in fact the intended package to replace it is the 5.0
version for CentOS 5 and the 5.1 version for CentOS 6.

After installing the percona repository, a yum upgrade would try to
replace mysql-libs with Percona-XtraDB-Cluster-shared-compat, which
would confuse users.

Solve this by removing all the Obsoletes: lines from the packages that
are not intended to replace mysql-libs *except when explicitely
installed*, and in the correct packages only Obsolete: for the correct
versions of CentOS.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'build/percona-server.spec'
2--- build/percona-server.spec 2013-10-10 05:59:46 +0000
3+++ build/percona-server.spec 2013-10-18 18:31:10 +0000
4@@ -224,7 +224,9 @@
5 Summary: Percona-Server - Shared libraries
6 Group: Applications/Databases
7 Provides: mysql-shared MySQL-shared Percona-XtraDB-shared mysql-libs
8+%if "%{redhatversion}" == "6"
9 Obsoletes: mysql-libs
10+%endif
11
12 %description -n Percona-Server-shared%{package_suffix}
13 This package contains the shared libraries (*.so*) which certain

Subscribers

People subscribed via source and target branches