tags 676777 patch thanks Attached is a patch to fix the dependency.
Bastian -- ... The prejudices people feel about each other disappear when they get to know each other. -- Kirk, "Elaan of Troyius", stardate 4372.5
diff -Nru debhelper-9.20120608/debian/changelog debhelper-9.20120608+nmu1/debian/changelog --- debhelper-9.20120608/debian/changelog 2012-06-08 17:15:58.000000000 +0000 +++ debhelper-9.20120608+nmu1/debian/changelog 2012-06-13 14:59:49.000000000 +0000 @@ -1,3 +1,11 @@ +debhelper (9.20120608+nmu1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Force complete version in dependency added by + "dh_installdocs --link-doc". (closes: #676777) + + -- Bastian Blank <wa...@debian.org> Wed, 13 Jun 2012 14:58:54 +0000 + debhelper (9.20120608) unstable; urgency=low * dh: When there's an -indep override target without -arch, or vice versa, diff -Nru debhelper-9.20120608/dh_installdocs debhelper-9.20120608+nmu1/dh_installdocs --- debhelper-9.20120608/dh_installdocs 2011-09-12 16:01:19.000000000 +0000 +++ debhelper-9.20120608+nmu1/dh_installdocs 2012-06-13 15:09:02.000000000 +0000 @@ -170,10 +170,13 @@ if (! -d "$tmp/usr/share/doc/$package" && ! -l "$tmp/usr/share/doc/$package") { doit("ln", "-sf", $dh{LINK_DOC}, "$tmp/usr/share/doc/$package"); + # Call isnative because it sets $dh{VERSION} + # as a side effect. + isnative($dh{LINK_DOC}); # Policy says that if you make your documentation # directory a symlink, then you have to depend on # the target. - addsubstvar($package, "misc:Depends", $dh{LINK_DOC}); + addsubstvar($package, "misc:Depends", "$dh{LINK_DOC} (= $dh{VERSION})"); } } else {