mirror of https://github.com/ceph/ceph
build/ops: deb: add python dependencies where needed
this reverts48f4576
andf140a8c
Fixes: http://tracker.ceph.com/issues/17579 Signed-off-by: Nathan Cutler <ncutler@suse.com> Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
fcdef1e9a8
commit
26f0ebd1d4
|
@ -148,6 +148,7 @@ Package: ceph-mgr
|
|||
Architecture: linux-any
|
||||
Depends: ceph-base (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${python:Depends},
|
||||
${shlibs:Depends}
|
||||
Replaces: ceph (<< 0.93-417)
|
||||
Breaks: ceph (<< 0.93-417)
|
||||
|
@ -664,6 +665,7 @@ Architecture: linux-any
|
|||
Section: python
|
||||
Depends: librados2 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
${python:Depends}
|
||||
Replaces: python-ceph (<< 0.92-1223)
|
||||
Breaks: python-ceph (<< 0.92-1223)
|
||||
|
@ -680,6 +682,7 @@ Architecture: linux-any
|
|||
Section: python
|
||||
Depends: librados2 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
${python3:Depends}
|
||||
Description: Python 3 libraries for the Ceph librados library
|
||||
Ceph is a massively scalable, open-source, distributed
|
||||
|
@ -694,6 +697,7 @@ Architecture: linux-any
|
|||
Section: python
|
||||
Depends: librbd1 (>= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
${python:Depends}
|
||||
Replaces: python-ceph (<< 0.92-1223)
|
||||
Breaks: python-ceph (<< 0.92-1223)
|
||||
|
@ -710,6 +714,7 @@ Architecture: linux-any
|
|||
Section: python
|
||||
Depends: librbd1 (>= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
${python3:Depends}
|
||||
Description: Python 3 libraries for the Ceph librbd library
|
||||
Ceph is a massively scalable, open-source, distributed
|
||||
|
@ -724,6 +729,7 @@ Architecture: linux-any
|
|||
Section: python
|
||||
Depends: libcephfs1 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
${python:Depends}
|
||||
Replaces: python-ceph (<< 0.92-1223)
|
||||
Breaks: python-ceph (<< 0.92-1223)
|
||||
|
@ -740,6 +746,7 @@ Architecture: linux-any
|
|||
Section: python
|
||||
Depends: libcephfs1 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
${python3:Depends}
|
||||
Description: Python 3 libraries for the Ceph libcephfs library
|
||||
Ceph is a massively scalable, open-source, distributed
|
||||
|
|
|
@ -139,9 +139,7 @@ override_dh_strip:
|
|||
dh_strip -pceph-test --dbg-package=ceph-test-dbg
|
||||
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor \
|
||||
--exclude=python-rados --exclude=python-cephfs --exclude=python-rbd \
|
||||
--exclude=python3-rados --exclude=python3-cephfs --exclude=python3-rbd \
|
||||
dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor
|
||||
|
||||
override_dh_python2:
|
||||
for binding in rados cephfs rbd; do \
|
||||
|
@ -150,6 +148,7 @@ override_dh_python2:
|
|||
dh_python2 -p ceph-common
|
||||
dh_python2 -p ceph-base
|
||||
dh_python2 -p ceph-osd
|
||||
dh_python2 -p ceph-mgr
|
||||
|
||||
override_dh_python3:
|
||||
for binding in rados cephfs rbd; do \
|
||||
|
|
Loading…
Reference in New Issue