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
=== modified file 'build/percona-server.spec'
--- build/percona-server.spec 2013-10-09 22:16:27 +0000
+++ build/percona-server.spec 2013-10-18 18:32:21 +0000
@@ -320,7 +320,6 @@
320Summary: Percona Server - Shared libraries320Summary: Percona Server - Shared libraries
321Group: Applications/Databases321Group: Applications/Databases
322Provides: mysql-shared mysql-libs322Provides: mysql-shared mysql-libs
323Obsoletes: mysql-libs
324323
325%description -n Percona-Server-shared%{product_suffix}324%description -n Percona-Server-shared%{product_suffix}
326This package contains the shared libraries (*.so*) which certain languages325This package contains the shared libraries (*.so*) which certain languages
327326
=== modified file 'build/percona-shared-compat.spec'
--- build/percona-shared-compat.spec 2013-08-27 14:41:58 +0000
+++ build/percona-shared-compat.spec 2013-10-18 18:32:21 +0000
@@ -48,9 +48,9 @@
48Release: %{release}.%{gotrevision}.rhel%{redhatversion}48Release: %{release}.%{gotrevision}.rhel%{redhatversion}
49BuildRoot: %{_tmppath}/%{name}-%{version}-build49BuildRoot: %{_tmppath}/%{name}-%{version}-build
50%if "%{redhatversion}" == "5"50%if "%{redhatversion}" == "5"
51Obsoletes: MySQL-shared mysql51Obsoletes: MySQL-shared
52%else52%else
53Obsoletes: MySQL-shared mysql-libs53Obsoletes: MySQL-shared
54%endif54%endif
55Provides: MySQL-shared mysql-libs55Provides: MySQL-shared mysql-libs
56Summary: MySQL shared client libraries for MySQL %{version}, %{version50}, %{version41} and %{version40}56Summary: MySQL shared client libraries for MySQL %{version}, %{version50}, %{version41} and %{version40}

Subscribers

People subscribed via source and target branches