Skip to content

Commit

Permalink
ceph.spec: python-cephfs no longer depends on python-rados
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tchaikov committed Feb 15, 2017
1 parent a2fb70d commit 221e4bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 221e4bd

Please sign in to comment.