mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
debian: do not run dh-python against non-python packages
some packages do not package python modules or scripts. so override dh_python2 to exclude them. this change silences warnings like: ``` warning: dpkg-gencontrol: package ceph-mon: unused substitution variable ${python:Provides} ``` Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
aacba7f1e8
commit
abe5da0e3a
8
debian/rules
vendored
8
debian/rules
vendored
@ -134,6 +134,14 @@ override_dh_strip:
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor
|
||||
|
||||
override_dh_python2:
|
||||
for binding in rados cephfs rbd; do \
|
||||
dh_python2 -p python-$$binding; \
|
||||
done
|
||||
dh_python2 -p ceph-common
|
||||
dh_python2 -p ceph-base
|
||||
dh_python2 -p ceph-osd
|
||||
|
||||
# do not run tests
|
||||
override_dh_auto_test:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user