Merge lp:~ignacio-nin/percona-server/5.0-rpm-obsoletes into lp:~percona-dev/percona-server/release-5.0.92

Proposed by Ignacio Nin
Status: Rejected
Rejected by: Laurynas Biveinis
Proposed branch: lp:~ignacio-nin/percona-server/5.0-rpm-obsoletes
Merge into: lp:~percona-dev/percona-server/release-5.0.92
Diff against target: 23 lines (+3/-3)
1 file modified
build/percona-sql-50.spec (+3/-3)
To merge this branch: bzr merge lp:~ignacio-nin/percona-server/5.0-rpm-obsoletes
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Disapprove
Review via email: mp+191853@code.launchpad.net

Description of the change

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

90. By Ignacio Nin

Move the Obsolete: lines to the shared package for CentOS 5

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-sql-50.spec'
--- build/percona-sql-50.spec 2013-03-04 19:44:15 +0000
+++ build/percona-sql-50.spec 2013-10-18 18:29:01 +0000
@@ -148,9 +148,6 @@
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
154BuildRequires: gperf perl readline-devel gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time ccache bison flex151BuildRequires: gperf perl readline-devel gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time ccache bison flex
155152
156# Think about what you use here since the first step is to153# Think about what you use here since the first step is to
@@ -228,6 +225,9 @@
228Summary: Percona-SQL - Shared libraries225Summary: Percona-SQL - Shared libraries
229Group: Applications/Databases226Group: Applications/Databases
230Provides: mysql-shared MySQL-shared Percona-SQL-shared227Provides: mysql-shared MySQL-shared Percona-SQL-shared
228%if "%{redhat_version}" == "5"
229Obsoletes: mysql
230%endif
231231
232%description -n Percona-SQL-shared%{server_suffix}232%description -n Percona-SQL-shared%{server_suffix}
233This package contains the shared libraries (*.so*) which certain233This package contains the shared libraries (*.so*) which certain

Subscribers

People subscribed via source and target branches