[Pkg-haskell-commits] darcs: tools: Explicitly mention the need for version bounds in the Build-Depends field

Joachim Breitner mail at joachim-breitner.de
Mon Sep 5 14:16:42 UTC 2011


Mon Sep  5 14:16:33 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * Explicitly mention the need for version bounds in the Build-Depends field
  Ignore-this: 46d94531f872b916c6188a95681d892
  
  because there have been too many cases recently where this was not done.

    M ./template-debian/control -1 +5

Mon Sep  5 14:16:33 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * Explicitly mention the need for version bounds in the Build-Depends field
  Ignore-this: 46d94531f872b916c6188a95681d892
  
  because there have been too many cases recently where this was not done.
diff -rN -u old-tools//template-debian/control new-tools//template-debian/control
--- old-tools//template-debian/control	2011-09-05 14:16:42.710167463 +0000
+++ new-tools//template-debian/control	2011-09-05 14:16:42.734158877 +0000
@@ -8,7 +8,11 @@
   , haskell-devscripts (>= 0.8)
   , ghc
   , ghc-prof
-  , libghc-bar-dev
+# Make sure all dependencies listed in the cabal file are represented here,
+# including their version bounds. It is sufficient to add the bounds to the
+# -dev package only.
+  , libghc-bar-dev (>= 0.1)
+  , libghc-bar-dev (<< 0.2)
   , libghc-bar-prof
   , libfoo-dev
 Build-Depends-Indep: ghc-doc





More information about the Pkg-haskell-commits mailing list