debian/control: Use ${binary:Version} instead of ${Source-Version}.
[mLib] / debian / control
index a027cbe..cdc9a2c 100644 (file)
@@ -2,7 +2,7 @@ Source: mlib
 Section: libs
 Priority: extra
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
-Build-Depends: debhelper (>= 4.0.2), libadns1-dev
+Build-Depends: debhelper (>= 8), python, libadns1-dev
 Standards-Version: 3.1.1
 
 Package: mlib2
@@ -22,7 +22,7 @@ Description: A library of miscellaneous stuff
  This package provides the mLib run-time library.  It uses an
  implementation of the background resolver forks and calls
  gethostbyname, so it therefore (a) depends only on the standard
- C library, and (b) is distributed under the terms of the GNU 
+ C library, and (b) is distributed under the terms of the GNU
  LGPL or GPL.
 
 Package: mlib2-adns
@@ -46,7 +46,7 @@ Description: A library of miscellaneous stuff
 
 Package: mlib-dev
 Architecture: any
-Depends: mlib2 (= ${Source-Version}) | mlib2-adns (= ${Source-Version}),
+Depends: mlib2 (= ${binary:Version}) | mlib2-adns (= ${binary:Version}),
  libc6-dev
 Recommends: mlib-bin
 Section: devel