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
1=== modified file 'build/percona-sql-50.spec'
2--- build/percona-sql-50.spec 2013-03-04 19:44:15 +0000
3+++ build/percona-sql-50.spec 2013-10-18 18:29:01 +0000
4@@ -148,9 +148,6 @@
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@@ -228,6 +225,9 @@
15 Summary: Percona-SQL - Shared libraries
16 Group: Applications/Databases
17 Provides: mysql-shared MySQL-shared Percona-SQL-shared
18+%if "%{redhat_version}" == "5"
19+Obsoletes: mysql
20+%endif
21
22 %description -n Percona-SQL-shared%{server_suffix}
23 This package contains the shared libraries (*.so*) which certain

Subscribers

People subscribed via source and target branches