Followup-For: Bug #769556
Control: found -1 5.9.5-3.1

The previous fixes do not work since the dpkg-maintscript-helper call
gets the wrong version. Also putting dpkg-maintscript-helper in
case $1 in ...) blocks is not the recommended usage ... and causes a lot
of manual code duplication ...

Since the package already uses debhelper 9, this can be greatly
simplified by using .maintscript files, it should probably look like
this (completely untested) for a maintainer upload:

libonig2-dbg.maintscript:
symlink_to_dir /usr/share/doc/libonig2-dbg /usr/share/doc/libonig2 5.9.5-4~

(for a NMU use version 5.9.5-3.2~)

The manually added maintainer scripts can be deleted again and in
debian/control the explicit versioned pre-dependency on dpkg should be
replaced by ${misc:Pre-Depends}


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to