[linux-base] 03/05: Use dh with debhelper compat level 9

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sat Sep 17 00:00:58 UTC 2016


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

benh pushed a commit to branch master
in repository linux-base.

commit 649b0f3b7991f2618390ba624286b3c16651c182
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sat Sep 17 00:51:38 2016 +0100

    Use dh with debhelper compat level 9
---
 debian/changelog |  1 +
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/rules     | 34 +++-------------------------------
 4 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 716d039..6e01b7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ linux-base (4.5) UNRELEASED; urgency=medium
   * Update Dutch debconf template translations (Frans Spiesschaert)
     (Closes: #837097)
   * perf: Drop support for versions older than 3.2
+  * Use dh with debhelper compat level 9
 
  -- Salvatore Bonaccorso <carnil at debian.org>  Thu, 14 Jul 2016 19:58:02 +0200
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index efc0606..a53df98 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Kernel Team <debian-kernel at lists.debian.org>
 Uploaders: Bastian Blank <waldi at debian.org>, Frederik Schüler <fs at debian.org>, maximilian attems <maks at debian.org>, Ben Hutchings <ben at decadent.org.uk>
 Standards-Version: 3.9.8
-Build-Depends: debhelper (>> 7)
+Build-Depends: debhelper (>> 9)
 Vcs-Git: https://anonscm.debian.org/git/kernel/linux-base.git
 Vcs-Browser: https://anonscm.debian.org/cgit/kernel/linux-base.git
 
diff --git a/debian/rules b/debian/rules
index 5ce1af4..29714d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,37 +1,9 @@
 #!/usr/bin/make -f
 
-build: build-arch build-indep
+%:
+	dh $@
 
-build-arch:
-
-build-indep:
+override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	perl -Ilib -MTest::Harness -e 'runtests(@ARGV)' lib/t/*.t
 endif
-
-binary: binary-arch binary-indep
-
-binary-arch:
-
-binary-indep:
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_install
-	dh_installman
-	dh_installdebconf
-	dh_installchangelogs
-	dh_installdocs
-	dh_lintian
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-clean:
-	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-base.git



More information about the Kernel-svn-changes mailing list