[ovs-dev] [PATCH 4/5] Debian: ${source:Version} dependency in python-openvswitch

Simon Horman horms at verge.net.au
Wed Jun 15 01:59:25 UTC 2011


As reported by lintian -i:

E: openvswitch source: not-binnmuable-all-depends-any python-openvswitch -> openvswitch-switch
N:
N:    The package is not safely binNMUable because an arch:all package depends
N:    on an arch:any package with a strict (= ${Source-Version}), or similar,
N:    relationship.
N:
N:    It is not possible for arch:all packages to depend so strictly on
N:    arch:any packages while having the package binNMUable, so please use one
N:    of these, whichever is more appropriate:
N:
N:      Depends: arch_any (>= ${source:Version})
N:      Depends: arch_any (>= ${source:Version}),
N:       arch_any (<< ${source:Version}.1~)
N:
N:    Severity: important, Certainty: certain
---
 debian/control |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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




More information about the dev mailing list