Requires: python%{_python_buildid}-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rgw = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
+Requires: python%{_python_buildid}-ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-requests
%if 0%{?fedora} || 0%{?rhel}
Requires: python%{_python_buildid}-prettytable
command-description information, validating user command input against those
descriptions, and submitting the command to the appropriate daemon.
+%if 0%{with python2}
+%package -n python-ceph-common
+Summary: Python 2 utility libraries for Ceph
+%if 0%{?suse_version}
+Group: Development/Libraries/Python
+%endif
+%description -n python-ceph-common
+This package contains data structures, classes and functions used by Ceph.
+It also contains utilities used for the SSH orchestrator.
+%endif
+
+%package -n python%{python3_pkgversion}-ceph-common
+Summary: Python 3 utility libraries for Ceph
+%if 0%{?suse_version}
+Group: Development/Libraries/Python
+%endif
+Provides: python3-ceph-common = %{_epoch_prefix}%{version}-%{release}
+%description -n python%{python3_pkgversion}-ceph-common
+This package contains data structures, classes and functions used by Ceph.
+It also contains utilities used for the SSH orchestrator.
+
%if 0%{with cephfs_shell}
%package -n cephfs-shell
Summary: Interactive shell for Ceph file system
%{python3_sitelib}/ceph_daemon.py
%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
+%if 0%{with python2}
+%files -n python-ceph-common
+%{python_sitelib}/ceph
+%{python_sitelib}/ceph-*.egg-info
+%endif
+
+%files -n python%{python3_pkgversion}-ceph-common
+%{python3_sitelib}/ceph
+%{python3_sitelib}/ceph-*.egg-info
+
%if 0%{with cephfs_shell}
%files -n cephfs-shell
%{python3_sitelib}/cephfs_shell-*.egg-info
Depends: librbd1 (= ${binary:Version}),
python-cephfs (= ${binary:Version}),
python-ceph-argparse (= ${binary:Version}),
+ python-ceph-common (= ${binary:Version}),
python-prettytable,
python-rados (= ${binary:Version}),
python-rbd (= ${binary:Version}),
This package contains types and routines for Python 3 used by the
Ceph CLI as well as the RESTful interface.
+Package: python-ceph-common
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+ ${python:Depends},
+Description: Python 2 utility libraries for Ceph
+ Ceph is a massively scalable, open-source, distributed
+ storage system that runs on commodity hardware and delivers object,
+ block and file system storage.
+ .
+ This package contains data structures, classes and functions used by Ceph.
+ It also contains utilities used for the SSH orchestrator.
+
+Package: python3-ceph-common
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+ ${python3:Depends},
+Description: Python 3 utility libraries for Ceph
+ Ceph is a massively scalable, open-source, distributed
+ storage system that runs on commodity hardware and delivers object,
+ block and file system storage.
+ .
+ This package contains data structures, classes and functions used by Ceph.
+ It also contains utilities used for the SSH orchestrator.
+
Package: libcephfs-java
Section: java
Architecture: all
--- /dev/null
+usr/lib/python2*/dist-packages/ceph-*.egg-info
+usr/lib/python2*/dist-packages/ceph
--- /dev/null
+usr/lib/python3*/dist-packages/ceph-*.egg-info
+usr/lib/python3*/dist-packages/ceph
dh_python3 -p python3-$$binding; \
done
dh_python3 -p python3-ceph-argparse
+ dh_python3 -p python3-ceph-common
dh_python3 -p cephfs-shell
# do not run tests