]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: apply dh_python to python-rgw also 12260/head
authorKefu Chai <kchai@redhat.com>
Thu, 1 Dec 2016 16:31:36 +0000 (00:31 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 1 Dec 2016 16:31:37 +0000 (00:31 +0800)
so the subvar of ${python:Depends} and ${python3:Depends} can be set
properly. also this silences the warnings like

    warning: dpkg-gencontrol: Depends field of package python3-rgw:
unknown substitution variable ${python3:Depends}

Signed-off-by: Kefu Chai <kchai@redhat.com>
debian/rules

index a3d189353fa740a31e0031e756eb15f0317345d8..d0e4f48c8168dff1cf51ea3083718158de96f3ba 100755 (executable)
@@ -139,8 +139,8 @@ 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; \
+       for binding in rados cephfs rbd rgw; do \
+         dh_python2 -p python-$$binding;       \
        done
        dh_python2 -p ceph-common
        dh_python2 -p ceph-base
@@ -148,8 +148,8 @@ override_dh_python2:
        dh_python2 -p ceph-mgr
 
 override_dh_python3:
-       for binding in rados cephfs rbd; do                                \
-         dh_python3 -p python3-$$binding; \
+       for binding in rados cephfs rbd rgw; do \
+         dh_python3 -p python3-$$binding;      \
        done
        dh_python3 -p python3-ceph-argparse