Lintian Fixes - min12xxw

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/min12xxw lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index b041536..6ebc419 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,15 @@
+min12xxw (0.0.9-12) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Bump debhelper from deprecated 9 to 10.
+  * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 27 Apr 2020 05:11:00 +0000
+
 min12xxw (0.0.9-11) unstable; urgency=medium
 
   * Team upload
- 
+
   [ Stefan Potyra ]
   * debian/control: Update my email address.
 
@@ -55,7 +63,7 @@ min12xxw (0.0.9-8) unstable; urgency=low
 
 min12xxw (0.0.9-7) unstable; urgency=low
 
-  * debian/rules: 
+  * debian/rules:
     + Clean autotools generated files on clean to avoid
       cluttering the .diff.gz.
     + Run automake with --add-missing (closes: #725552).
@@ -97,7 +105,7 @@ min12xxw (0.0.9-5) unstable; urgency=low
 
 min12xxw (0.0.9-4) unstable; urgency=low
 
-  * debian/control: 
+  * debian/control:
     + Update Standards-Version to 3.9.2, no changes needed.
     + Add DM-Upload-Allowed: yes.
     + Drop Recommands against foomatic-db-engine and foomatic-filters-ppds
@@ -117,7 +125,7 @@ min12xxw (0.0.9-3) unstable; urgency=low
  -- Stefan Potyra <sistpoty@ubuntu.com>  Mon, 24 Aug 2009 19:53:41 +0200
 
 min12xxw (0.0.9-2) unstable; urgency=low
-  
+
   * debian/control:
     - update Recommends for renamed cups packages (patch from Ubuntu, thanks
       Till Kamppeter).
@@ -132,7 +140,7 @@ min12xxw (0.0.9-2) unstable; urgency=low
     - don't ignore errors on make distclean
     - bootstrap from autotools
   * debian/esc-m.1: add a space before the intial dash
-  * debian/copyright: 
+  * debian/copyright:
     - mention getopt.c, getopt1.c getopt.h as well
     - add information, that the packaging is licensed as GPL-2+ as well
   * Makefile.am: don't compile getopt.c, getopt1.c (already provided by libc)
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 9e0c3d7..fec2063 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: text
 Priority: optional
 Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
 Uploaders: Stefan Potyra <stefan@potyra.de>
-Build-Depends: debhelper (>= 9), dh-autoreconf
+Build-Depends: debhelper (>= 10~), dh-autoreconf
 Standards-Version: 4.1.3
 Homepage: http://www.hinterbergen.de/mala/min12xxw/
 Vcs-Git: https://salsa.debian.org/printing-team/min12xxw.git
diff --git a/debian/rules b/debian/rules
index e967fbd..af95386 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/dpkg/architecture.mk
 
 CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
 LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
@@ -43,7 +42,7 @@ clean:
 	fi
 	dh_autoreconf_clean
 	$(RM) -f Makefile.in aclocal.m4 config.h.in configure compile build-stamp
-	dh_clean 
+	dh_clean
 
 install: build
 	dh_testdir

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/61/de0b046185df6c82ba8129dacc92aa0cc900e3.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/da/3ebf1ac0ae8cf125f49f9ae0d0ca9a20197727.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/16/59837dd29721732b341c2f85a15959b7ee3258.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/45/01b7de0dd6cb054ced6efcca80192547663ffd.debug

No differences were encountered between the control files of package printer-driver-min12xxw

Control files of package printer-driver-min12xxw-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 1659837dd29721732b341c2f85a15959b7ee3258 4501b7de0dd6cb054ced6efcca80192547663ffd 61de0b046185df6c82ba8129dacc92aa0cc900e3 da3ebf1ac0ae8cf125f49f9ae0d0ca9a20197727

Run locally

Try this locally (using the lintian-brush package):

debcheckout min12xxw
cd min12xxw
lintian-brush

More details

Full run details