From: Kefu Chai Date: Wed, 15 Feb 2017 06:22:25 +0000 (+0800) Subject: ceph.spec: python-cephfs no longer depends on python-rados X-Git-Tag: v12.0.1~389^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=221e4bd94edca1defdbf4515e4fb1913cd9c7a54;p=ceph.git ceph.spec: python-cephfs no longer depends on python-rados instead, it "Recommends" python-rados. as "Recommends:" is not supported on older distros, only enable this on SuSE. because python-cephfs *can* be used without python-rados. the constructor of LibCephFS accepts a ceph.conf *or* a rados.Rados instance. Signed-off-by: Kefu Chai --- diff --git a/ceph.spec.in b/ceph.spec.in index 1323be51de750..1e47634439157 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -572,7 +572,9 @@ Summary: Python 2 libraries for Ceph distributed file system Group: System Environment/Libraries License: LGPL-2.0 Requires: libcephfs2 = %{epoch}:%{version}-%{release} -Requires: python-rados = %{epoch}:%{version}-%{release} +%if 0%{?suse_version} +Recommends: python-rados = %{epoch}:%{version}-%{release} +%endif Obsoletes: python-ceph < %{epoch}:%{version}-%{release} %description -n python-cephfs This package contains Python 2 libraries for interacting with Cephs distributed