libetpan-dev has the same problems as libetpan-dbg and needs to be fixed, too.
On Sat, 13 Dec 2014 20:26:48 +0000 bastien ROUCARIES <roucaries.bast...@gmail.com> wrote: > The following unstested patch should work not quite ... > diff -Nru libetpan-1.5/debian/changelog libetpan-1.5/debian/changelog > --- libetpan-1.5/debian/changelog 2014-06-11 18:38:34.000000000 +0200 > +++ libetpan-1.5/debian/changelog 2014-12-13 20:13:37.000000000 +0100 > @@ -1,3 +1,9 @@ > +libetpan (1.5-2) unstable; urgency=medium > + > + * Fix symlink to dir problem introduced in 1.4.1-1 (Closes: #773033). > + > + -- Bastien Roucariès <roucaries.bastien+deb...@gmail.com> Sat, 13 Dec 2014 > 20:13:31 +0100 > + > libetpan (1.5-1) unstable; urgency=medium > > * New upstream release: not really, identical to 1.4.1 but version > diff -Nru libetpan-1.5/debian/control libetpan-1.5/debian/control > --- libetpan-1.5/debian/control 2014-06-11 18:38:34.000000000 +0200 > +++ libetpan-1.5/debian/control 2014-12-13 20:15:38.000000000 +0100 > @@ -57,6 +57,7 @@ > Multi-Arch: same > Priority: extra > Depends: libetpan17 (= ${binary:Version}), ${misc:Depends} > +Pre-Depends: dpkg (>= 1.17.5) Pre-Depends: ${misc:Pre-Depends} if you use .maintscript files, see below > Description: debugging symbols for libetpan > libEtPan! is a mail library. It may be used for low-level mail handling: > network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP with or without SSL), > diff -Nru libetpan-1.5/debian/libetpan-dbg.postinst > libetpan-1.5/debian/libetpan-dbg.postinst > --- libetpan-1.5/debian/libetpan-dbg.postinst 1970-01-01 01:00:00.000000000 > +0100 > +++ libetpan-1.5/debian/libetpan-dbg.postinst 2014-12-13 20:24:23.000000000 > +0100 > @@ -0,0 +1,8 @@ > +#!/bin/sh > + > +set -e > + > +dpkg-maintscript-helper symlink_to_dir \ > + /usr/share/doc/libetpan-dbg/ /usr/share/doc/libetpan15/ > 1.5-2~ > -- "$@" > + > +#DEBHELPER# The trailing slashes (at least the first one) make the call useless - it's not the symlink being tested, but the resolved directory behind it. For the second it should be sufficient to use the relative path. This manual code duplication (in 3 maintainer scripts) can be reduced by using .maintscript files, for libetpan-dbg it could look like this (completely untested!): libetpan-dbg.maintscript: symlink_to_dir /usr/share/doc/libetpan-dbg libetpan15 1.5-2~ Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org