Bug#797106: libperl5.22: Multi-Arch:same and binNMU changelogs

Niko Tyni ntyni at debian.org
Thu Sep 10 20:59:32 UTC 2015


On Thu, Sep 10, 2015 at 12:20:18AM +0200, gregor herrmann wrote:

> Anyway, attached is a quick patch (tested in my chroot on an upgrade
> from 5.22.0-3).

Thanks again! It's pretty much the same as what I had together,
but I missed the 'supports' part:

> +if dpkg-maintscript-helper supports symlink_to_dir; then
> +    dpkg-maintscript-helper symlink_to_dir \
> +        /usr/share/doc/libperl5.22 perl 5.22.0-4~ -- "$@"
> +fi
> +

This is indeed quite an elegant way of avoiding the pre-dependency. It's
apparently been available since 1.15.7.2 (squeeze) so that should be
fine to use. I guess I'll adopt that.
-- 
Niko




More information about the Perl-maintainers mailing list