]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: use python:Depends for ceph-{common,base,osd}'s deps 10322/head
authorKefu Chai <kchai@redhat.com>
Sun, 17 Jul 2016 14:05:37 +0000 (22:05 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Jul 2016 07:02:12 +0000 (15:02 +0800)
* ceph-base: use ${python:Depends} instead of listing the python
  dependencies manually, dh_python2 will scan the requirements
  of ceph-detect-init. and fill the subst var for us.
* ceph-common: add ${python:Depends}, as it packages ceph,
  and ceph-brag client.
* ceph-osd: it packages ceph-disk, so should add ${python:Depends}
  as its dependencies.

dh_python2 will figure them out.

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

index 387b2a7ddb106daa26a47ba2e46b39365138b959..34586eb682928d7ad46b418f5c8c4d38820db95b 100644 (file)
@@ -89,9 +89,7 @@ Depends: binutils,
          grep,
          logrotate,
          lsb-release,
-         python,
-         python-argparse | libpython2.7-stdlib,
-         python-pkg-resources,
+         ${python:Depends},
          sdparm | hdparm,
          xfsprogs,
          ${misc:Depends},
@@ -179,6 +177,7 @@ Architecture: linux-any
 Depends: ceph-base (= ${binary:Version}),
          parted,
          ${misc:Depends},
+         ${python:Depends},
          ${shlibs:Depends}
 Recommends: ceph-common (= ${binary:Version})
 Replaces: ceph (<< 10)
@@ -319,6 +318,7 @@ Depends: librbd1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends},
          python-rados (= ${binary:Version}),
          python-cephfs (= ${binary:Version}),
          python-rbd (= ${binary:Version}),
+         ${python:Depends},
         python-requests
 Conflicts: ceph-client-tools
 Replaces: ceph-client-tools,