Debian: Add dependency on ${misc:Depends}
authorSimon Horman <horms@verge.net.au>
Wed, 24 Aug 2011 01:40:51 +0000 (10:40 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Aug 2011 17:08:49 +0000 (10:08 -0700)
Add dependency on ${misc:Depends} to openvswitch-brcompat and ovsdbmonitor.
As reported by Lintian:

The source package uses debhelper, but it does not include
${misc:Depends} in the given binary package's debian/control entry.
Any debhelper command may add dependencies to ${misc:Depends} that
are required for the work that it does, so recommended best
practice is always add ${misc:Depends} to the dependencies of each
binary package if debhelper is in use.

Refer to the debhelper(7) manual page for details.

debian/control

index 1978b73..1d09d94 100644 (file)
@@ -83,7 +83,8 @@ Description: Open vSwitch controller implementation
 
 Package: openvswitch-brcompat
 Architecture: linux-any
-Depends: ${shlibs:Depends}, openvswitch-switch (= ${binary:Version})
+Depends:
+ ${shlibs:Depends}, openvswitch-switch (= ${binary:Version}), ${misc:Depends}
 Recommends: bridge-utils
 Description: Open vSwitch bridge compatibility support
  openvswitch-brcompat provides a way for applications that use the
@@ -121,7 +122,7 @@ Description: Python bindings for Open vSwitch
 Package: ovsdbmonitor
 Architecture: all
 Section: utils
-Depends: ${python:Depends}, python-openvswitch
+Depends: ${python:Depends}, python-openvswitch, ${misc:Depends}
 Provides: ${python:Provides}
 Description: Open vSwitch graphical monitoring tool
  This package is a GUI tool for monitoring and troubleshooting local