in `cephfs.pyx` we `cimport rados`, and in
LibCephFs.create_with_rados(), Rados.cluster is accesssed without GIL,
so we need to import the rados module for cephfs to ensure that it's
safe to access this attribute without GIL.
dh_python2 and dh_python3 cannot fill ${python:Depends} and
${python3:Depends} with this dependency, so we need to set it
explicitly.
Fixes: http://tracker.ceph.com/issues/24918
Signed-off-by: Kefu Chai <kchai@redhat.com>
Group: Development/Libraries/Python
%endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
-%if 0%{?suse_version}
-Recommends: python-rados = %{_epoch_prefix}%{version}-%{release}
-%endif
+Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-cephfs
This package contains Python 2 libraries for interacting with Cephs distributed
Architecture: linux-any
Section: python
Depends: librgw2 (>= ${binary:Version}),
+ python-rados (= ${binary:Version}),
${misc:Depends},
${python:Depends},
${shlibs:Depends},
Architecture: linux-any
Section: python
Depends: librgw2 (>= ${binary:Version}),
+ python3-rados (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
${shlibs:Depends},
Architecture: linux-any
Section: python
Depends: libcephfs2 (= ${binary:Version}),
+ python-rados (= ${binary:Version}),
${misc:Depends},
${python:Depends},
${shlibs:Depends},
Architecture: linux-any
Section: python
Depends: libcephfs2 (= ${binary:Version}),
+ python3-rados (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
${shlibs:Depends},