From 2454bda3f3bcb1bbb6899d4176345c303193075a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 13 Jun 2016 00:05:10 +0800 Subject: [PATCH] debian: add ${shlibs:Depends} to binary packages' Depends rationale * this fixes: warning: dpkg-gencontrol: package python-rbd: unused substitution variable ${shlibs:Depends} * and to comply to debian policy. see https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-dpkg-shlibdeps Signed-off-by: Kefu Chai --- debian/control | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index 2f10fbbae876a..f42a02b17d7a6 100644 --- a/debian/control +++ b/debian/control @@ -429,7 +429,7 @@ Description: debugging symbols for librados Package: librados-dev Architecture: linux-any Section: libdevel -Depends: librados2 (= ${binary:Version}), ${misc:Depends} +Depends: librados2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Conflicts: librados1-dev, librados2-dev Replaces: librados1-dev, librados2-dev Description: RADOS distributed object store client library (development files) @@ -638,7 +638,7 @@ Section: debug Priority: extra Depends: ceph-test (= ${binary:Version}), ceph-common (= ${binary:Version}), curl, xml2, - ${misc:Depends}, ${shlibs:Depends} + ${misc:Depends} Description: Ceph test and benchmarking tools . This package contains the debugging symbols for ceph-test. @@ -660,7 +660,7 @@ Description: Meta-package for python libraries for the Ceph libraries Package: python-rados Architecture: linux-any Section: python -Depends: librados2 (= ${binary:Version}), ${misc:Depends}, ${python:Depends} +Depends: librados2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} Replaces: python-ceph (<< 0.92-1223) Breaks: python-ceph (<< 0.92-1223) X-Python-Version: >= 2.6 @@ -675,7 +675,7 @@ Description: Python libraries for the Ceph librados library Package: python-rbd Architecture: linux-any Section: python -Depends: librbd1 (>= ${binary:Version}), ${misc:Depends}, ${python:Depends} +Depends: librbd1 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} Replaces: python-ceph (<< 0.92-1223) Breaks: python-ceph (<< 0.92-1223) X-Python-Version: >= 2.6 @@ -690,7 +690,7 @@ Description: Python libraries for the Ceph librbd library Package: python-cephfs Architecture: linux-any Section: python -Depends: libcephfs1 (= ${binary:Version}), ${misc:Depends}, ${python:Depends} +Depends: libcephfs1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} Replaces: python-ceph (<< 0.92-1223) Breaks: python-ceph (<< 0.92-1223) X-Python-Version: >= 2.6 -- 2.39.5