mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
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 <kchai@redhat.com>
This commit is contained in:
parent
a2fb70ddca
commit
221e4bd94e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user