From: Simon Horman <horms@verge.net.au>
Date: Wed, 15 Jun 2011 01:59:22 +0000 (+0900)
Subject: Debian: Add ${misc:Depends} dependency to python-openvswitch
X-Git-Tag: v1.1.2~24
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3c6aafea8383a951819d656d48941ecb3f5a8110;p=sliver-openvswitch.git

Debian: Add ${misc:Depends} dependency to python-openvswitch

As reported by lintian -i:

W: openvswitch source: debhelper-but-no-misc-depends python-openvswitch
N:
N:    The source package uses debhelper, but it does not include
N:    ${misc:Depends} in the given binary package's debian/control entry.  Any
N:    debhelper command may add dependencies to ${misc:Depends} that are
N:    required for the work that it does, so recommended best practice is to
N:    always add ${misc:Depends} to the dependencies of each binary package if
N:    debhelper is in use.
N:
N:    Refer to the debhelper(7) manual page for details.
N:
N:    Severity: normal, Certainty: possible
---

diff --git a/debian/control b/debian/control
index 297091543..9a34a4585 100644
--- a/debian/control
+++ b/debian/control
@@ -97,7 +97,7 @@ Description: Debug symbols for Open vSwitch packages
 Package: python-openvswitch
 Architecture: all
 Section: python
-Depends: ${python:Depends}, openvswitch-switch (= ${binary:Version})
+Depends: ${misc:Depends}, ${python:Depends}, openvswitch-switch (= ${binary:Version})
 Provides: ${python:Provides}
 Description: Python bindings for Open vSwitch
  This package contains the full Python bindings for Open vSwitch database.