[dh-make-perl] 02/07: Make sure we use at least debhelper 9 for created packages.

gregor herrmann gregoa at debian.org
Thu Oct 1 21:52:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository dh-make-perl.

commit 74dfb8e1a4aaf5669a66cef760614ca560081274
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Oct 1 23:12:02 2015 +0200

    Make sure we use at least debhelper 9 for created packages.
    
    Update documentation.
---
 dh-make-perl                        | 4 +---
 lib/DhMakePerl/Command/Packaging.pm | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/dh-make-perl b/dh-make-perl
index f9b2f9e..256eafd 100755
--- a/dh-make-perl
+++ b/dh-make-perl
@@ -273,9 +273,7 @@ Uses the argument to --desc as short description for the package.
 
 =item B<--dh> I<VERSION>
 
-Set desired debhelper compatibility level. The default is 8 for
-architecture-independent packages, and 9 for architecture-dependent packages
-(XS).
+Set desired debhelper compatibility level. The default is 9.
 
 Since version 0.77, B<dh-make-perl> only supports debhelper compatibility
 levels B<< >=8 >>.
diff --git a/lib/DhMakePerl/Command/Packaging.pm b/lib/DhMakePerl/Command/Packaging.pm
index 8d96dd9..a600f72 100644
--- a/lib/DhMakePerl/Command/Packaging.pm
+++ b/lib/DhMakePerl/Command/Packaging.pm
@@ -280,8 +280,7 @@ sub extract_basic {
     }
 
     $self->cfg->dh('9')
-        if $bin->Architecture eq 'any'
-        and not $self->cfg->_explicitly_set->{dh};
+        if not $self->cfg->_explicitly_set->{dh};
 
     printf(
         "Found: %s %s (%s arch=%s)\n",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git



More information about the Pkg-perl-cvs-commits mailing list