From 431011098efc5702a2f49fad1975fb956cdc9e00 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 16 Feb 2017 20:32:36 +0100 Subject: rpm: replace renamed python-gluster with python2-gluster When upgrading from < 3.10, the old python-gluster package causes conflicts with the newly renamed python2-gluster package. This can be solved by adding the appropriate Provides and Obsoletes to the python2-gluster RPM. Details on renaming packages are listed on the Fedora Packaging Guidelines. Change-Id: Ib143bf69022c45abe2d5e8d31d3375a6b85f75da URL: https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages BUG: 1414902 Signed-off-by: Niels de Vos Reviewed-on: https://review.gluster.org/16649 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Prashanth Pai Reviewed-by: Anoop C S --- glusterfs.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 7cf169358b1..afe9fcd84fa 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -457,6 +457,8 @@ Summary: GlusterFS python library Group: Development/Tools %{?python_provide:%python_provide python2-gluster} Requires: python2 +Provides: python-gluster = %{version}-%{release} +Obsoletes: python-gluster < 3.10 %description -n python2-gluster %{_python_gluster_description} @@ -1272,6 +1274,9 @@ exit 0 %endif %changelog +* Thu Feb 16 2017 Niels de Vos +- Obsolete and Provide python-gluster for upgrading from glusterfs < 3.10 + * Wed Feb 1 2017 Poornima G - Install /var/lib/glusterd/groups/metadata-cache by default -- cgit