On Mon, Sep 26, 2016 at 03:00:47PM +0200, gregor herrmann wrote: > Idea 1: remove this whole check; debhelper >= 9.20120909 is already > satisfied in oldstable, so this doesn't serve any purpose any more.
I think this is the best thing to do. No need to find the "right fix" for something which is not even a problem anymore. Trivial patch attached, but I have not actually tested it. Thanks.
--- a/debhelper/dh_installxmlcatalogs +++ b/debhelper/dh_installxmlcatalogs @@ -110,11 +110,6 @@ use strict; use Debian::Debhelper::Dh_Lib; use Debian::Debhelper::Dh_Version; -$Debian::Debhelper::Dh_Version::version =~ /^(\d+)\.(\d+)/ - or error("Unexpected debhelper version format"); -# For the "sub" argument to autoscript: -$1 > 9 or ($1 == 9 and $2 >= '20120909') or error('debhelper 9.20120909 or later required'); - ## ---------------------------------------------------------------------- my $xmlcorever = "0.12";