Run of lintian-fixes for mapnik

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

debcheckout mapnik
cd mapnik
lintian-brush --compat-release=xenial

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index ed16b9d..a9e6d63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 mapnik (3.0.23+ds-2) UNRELEASED; urgency=medium
 
+  [ Bas Couwenberg ]
   * Bump debhelper compat to 10, changes:
     - Drop --parallel option, enabled by default
 
+  [ Debian Janitor ]
+  * Rely on pre-initialized dpkg-architecture variables.
+
  -- Bas Couwenberg <sebastic@debian.org>  Thu, 19 Mar 2020 19:30:39 +0100
 
 mapnik (3.0.23+ds-1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 4e1425a..766224f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
 NJOBS := -j$(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
 endif
 
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+include /usr/share/dpkg/architecture.mk
 
 # Disable parallel builds for problematic architectures
 NO_PARALLEL_ARCHS = arm64 armel armhf alpha hurd-i386 kfreebsd-i386 kfreebsd-amd64

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package libmapnik-dev

No differences were encountered between the control files of package libmapnik3.0

No differences were encountered between the control files of package mapnik-doc

No differences were encountered between the control files of package mapnik-utils

Full worker log Full build log