mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
ceph.spec, debian: Add python-common to ceph-common
Co-authored-by: Tim Serong <tserong@suse.com> Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
parent
0b5cd18bee
commit
ea15a67b98
32
ceph.spec.in
32
ceph.spec.in
@ -385,6 +385,7 @@ Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release}
|
||||
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
|
||||
@ -963,6 +964,27 @@ well as the RESTful interface. These have to do with querying the daemons for
|
||||
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
|
||||
@ -2135,6 +2157,16 @@ fi
|
||||
%{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
|
||||
|
||||
27
debian/control
vendored
27
debian/control
vendored
@ -528,6 +528,7 @@ Architecture: linux-any
|
||||
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}),
|
||||
@ -1200,6 +1201,32 @@ Description: Python 3 utility libraries for Ceph CLI
|
||||
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
|
||||
|
||||
2
debian/python-ceph-common.install
vendored
Normal file
2
debian/python-ceph-common.install
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/python2*/dist-packages/ceph-*.egg-info
|
||||
usr/lib/python2*/dist-packages/ceph
|
||||
2
debian/python3-ceph-common.install
vendored
Normal file
2
debian/python3-ceph-common.install
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/python3*/dist-packages/ceph-*.egg-info
|
||||
usr/lib/python3*/dist-packages/ceph
|
||||
1
debian/rules
vendored
1
debian/rules
vendored
@ -138,6 +138,7 @@ override_dh_python3:
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user