Package: haskell-devscripts Version: 0.6.15+nmu8 Severity: important "dh_haskell_shlibdeps" gets library name from library-dirname. But its rule is not sufficient. For example, "foo-bar-0.1"'s library name should be "foo-bar", but is "foo". My patch file fixes that. -- takaki -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686-bigmem (SMP w/2 CPU cores) Locale: LANG=ja_JP.utf-8, LC_CTYPE=ja_JP.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages haskell-devscripts depends on: ii cdbs 0.4.56 common build system for Debian pac ii dctrl-tools 2.13.1 Command-line tools to process Debi ii debhelper 7.2.7 helper programs for debian/rules ii ghc6 6.10.1+dfsg1-13 GHC - the Glasgow Haskell Compilat ii xutils-dev 1:7.4+4 X Window System utility programs f haskell-devscripts recommends no packages. haskell-devscripts suggests no packages. -- no debconf information
diff -Nru --exclude debian haskell-devscripts-0.6.15+nmu8/dh_haskell_shlibdeps haskell-devscripts-0.6.15+nmu8.1/dh_haskell_shlibdeps --- haskell-devscripts-0.6.15+nmu8/dh_haskell_shlibdeps 2009-04-07 22:52:51.000000000 +0900 +++ haskell-devscripts-0.6.15+nmu8.1/dh_haskell_shlibdeps 2009-04-15 12:51:54.000000000 +0900 @@ -128,7 +128,7 @@ libghc6-*-dev) T_DIR=debian/mk-deps-$pkg sfile=debian/$pkg.substvars - pkgname=`basename debian/$pkg/usr/lib/haskell-packages/ghc6/lib/* | cut -d- -f1` + pkgname=`basename debian/$pkg/usr/lib/haskell-packages/ghc6/lib/* | sed -e 's/-[^-]\+$//'` touch $sfile echo "module Main where main = return ()" > $T_DIR/a.hs ghc --make $T_DIR/a.hs -o $T_DIR/a.out -package-conf \