Debian: Add ${misc:Depends} dependency to python-openvswitch
authorSimon Horman <horms@verge.net.au>
Wed, 15 Jun 2011 01:59:22 +0000 (10:59 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Jun 2011 17:17:56 +0000 (10:17 -0700)
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

debian/control

index 2970915..9a34a45 100644 (file)
@@ -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.