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

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

Description of the change

Changes that implement the blueprint for the 5.5 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

559. By Ignacio Nin

Remove the Obsoletes: lines from the shared package

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-09 22:16:27 +0000
3+++ build/percona-server.spec 2013-10-18 18:32:21 +0000
4@@ -320,7 +320,6 @@
5 Summary: Percona Server - Shared libraries
6 Group: Applications/Databases
7 Provides: mysql-shared mysql-libs
8-Obsoletes: mysql-libs
9
10 %description -n Percona-Server-shared%{product_suffix}
11 This package contains the shared libraries (*.so*) which certain languages
12
13=== modified file 'build/percona-shared-compat.spec'
14--- build/percona-shared-compat.spec 2013-08-27 14:41:58 +0000
15+++ build/percona-shared-compat.spec 2013-10-18 18:32:21 +0000
16@@ -48,9 +48,9 @@
17 Release: %{release}.%{gotrevision}.rhel%{redhatversion}
18 BuildRoot: %{_tmppath}/%{name}-%{version}-build
19 %if "%{redhatversion}" == "5"
20-Obsoletes: MySQL-shared mysql
21+Obsoletes: MySQL-shared
22 %else
23-Obsoletes: MySQL-shared mysql-libs
24+Obsoletes: MySQL-shared
25 %endif
26 Provides: MySQL-shared mysql-libs
27 Summary: MySQL shared client libraries for MySQL %{version}, %{version50}, %{version41} and %{version40}

Subscribers

People subscribed via source and target branches