[Pkg-sdl-commits] [libsdl2-image] 04/08: * Switch to debhelper compat level v10 - dh flags --parallel are not needed - autoreconf is invoked by default

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Mon Jul 31 21:50:24 UTC 2017


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

mafm pushed a commit to branch master
in repository libsdl2-image.

commit 40956f6618b7b3b992abc4aeccba4c89ff819678
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Mon Jul 31 23:36:56 2017 +0200

    * Switch to debhelper compat level v10
    - dh flags --parallel are not needed
    - autoreconf is invoked by default
---
 debian/changelog |  3 +++
 debian/compat    |  2 +-
 debian/control   |  3 +--
 debian/rules     | 10 ++++++----
 4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 79a5bbe..b596866 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ libsdl2-image (2.0.1+dfsg-3) UNRELEASED; urgency=medium
 
   * Bump Policy Standards-Version to 4.0.0 (no changes needed)
   * Update Vcs-* URLs
+  * Switch to debhelper compat level v10
+    - dh flags --parallel are not needed
+    - autoreconf is invoked by default
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Mon, 31 Jul 2017 23:32:07 +0200
 
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index bb89d37..b5263ee 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.de
 Uploaders: Felix Geyer <fgeyer at debian.org>, Manuel A. Fernandez Montecelo <mafm at debian.org>
 Section: libs
 Priority: optional
-Build-Depends: debhelper (>= 9),
-               dh-autoreconf,
+Build-Depends: debhelper (>= 10~),
                libsdl2-dev (>= 2.0.0),
                libjpeg-dev,
                libpng-dev,
diff --git a/debian/rules b/debian/rules
index 25ed9c9..a6c437f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,11 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 SHLIBVER = 2.0.1
 
+
+# export variables for autoreconf
+export AUTOMAKE := automake --foreign
+
+
 # features -- disable building as plugins, otherwise dh_shlibs
 confflags =  --disable-jpg-shared
 confflags += --disable-tif-shared
@@ -14,10 +19,7 @@ confflags += --disable-png-shared
 confflags += --disable-webp-shared
 
 %:
-	dh $@ --with autoreconf --parallel
-
-override_dh_autoreconf:
-	AUTOMAKE="automake --foreign" dh_autoreconf --as-needed
+	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2-image.git



More information about the pkg-sdl-commits mailing list