[libconfig-file-perl] 05/06: Use dh_auto_configure instead of "perl Makefile.PL"

Axel Beckert abe at deuxchevaux.org
Sat May 30 13:48:38 UTC 2015


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

abe pushed a commit to branch master
in repository libconfig-file-perl.

commit 51dbe6a7dc641378cc3286a5e29a7cc02cd319ea
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sat May 30 15:44:59 2015 +0200

    Use dh_auto_configure instead of "perl Makefile.PL"
    
    Bump debhelper compatibility to 8 to be able to use dh_auto_configure
    as the Module::Build::Compat generated Makefile.PL seems to fail wrt.
    to arch:any vs arch:all library directories.
    
    Update versioned build-dependency on debhelper accordingly.
---
 debian/changelog | 5 +++++
 debian/compat    | 2 +-
 debian/control   | 2 +-
 debian/rules     | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 795b8d6..cc865bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,11 @@ libconfig-file-perl (1.50-3) UNRELEASED; urgency=low
   * Remove obsolete emacs "local variables:" from debian/changelog.
   * Add b-d on libmodule-build-perl for Perl 5.22 compatibility.
   * Switch to a minimal dh v7 style debian/rules file.
+  * Use dh_auto_configure instead of "perl Makefile.PL".
+    + Bump debhelper compatibility to 8 to be able to use
+      dh_auto_configure as the Module::Build::Compat generated Makefile.PL
+      seems to fail wrt. to arch:any vs arch:all library directories.
+    + Update versioned build-dependency on debhelper accordingly.
 
  -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:33:19 +0000
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index 19f1160..2840db1 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: gregor herrmann <gregoa at debian.org>,
            Damyan Ivanov <dmn at debian.org>
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 8),
                libmodule-build-perl,
                perl
 Build-Depends-Indep: libtest-pod-coverage-perl,
diff --git a/debian/rules b/debian/rules
index 4654b71..331f969 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
 	dh $@
 
 override_dh_auto_configure:
-	perl Makefile.PL INSTALLDIRS=vendor CREATE_PACKLIST=0
+	dh_auto_configure -- CREATE_PACKLIST=0

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



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