[libnet-dns-async-perl] 02/08: Switch to a minimal "dh $@"-style debian/rules and dh compat level 10

Axel Beckert abe at deuxchevaux.org
Sun Nov 19 23:57:53 UTC 2017


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

abe pushed a commit to branch master
in repository libnet-dns-async-perl.

commit 83d87709297c0ab5f71db60443a50880d1188345
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Nov 20 00:36:09 2017 +0100

    Switch to a minimal "dh $@"-style debian/rules and dh compat level 10
    
    Update versioned debhelper build-dependency accordingly.
---
 debian/changelog |  2 ++
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/rules     | 25 +++----------------------
 4 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 87c4440..3c2bbcb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ libnet-dns-async-perl (1.07-2) UNRELEASED; urgency=low
   [ Axel Beckert ]
   * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg-
     copyright"
+  * Switch to a minimal "dh $@"-style debian/rules and dh compat level 10.
+    + Update versioned debhelper build-dependency accordingly.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:45:18 +0100
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+10
diff --git a/debian/control b/debian/control
index 105e671..f2b5885 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Jan Wagner <waja at cyconet.org>,
            Ansgar Burchardt <ansgar at debian.org>
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.0)
+Build-Depends: debhelper (>= 10)
 Build-Depends-Indep: perl,
                      libnet-dns-perl
 Standards-Version: 3.8.0
diff --git a/debian/rules b/debian/rules
index 78790b9..148a0b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,26 +1,7 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build --before dh_auto_test
-	# leave 2nd test out, cause it needs network connection
-	$(MAKE) test TEST_FILES="t/01_use.t"
-	dh build --after dh_auto_test
-	touch $@
-
-clean:
-	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
+%:
 	dh $@
 
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+override_dh_auto_test:
+	dh_auto_test -- TEST_FILES="t/01_use.t"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dns-async-perl.git



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