Lintian Fixes - osm2pgsql

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index bdb18e0..a4bd5e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+osm2pgsql (1.4.2+ds-1~exp2) UNRELEASED; urgency=medium
+
+  * Use correct machine-readable copyright file URI.
+  * Bump debhelper from old 10 to 12.
+    + debian/rules: Rely on default use of dh_missing rather than using
+      dh_install --list-missing.
+  * Set debhelper-compat version in Build-Depends.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 12 May 2021 08:15:02 -0000
+
 osm2pgsql (1.4.2+ds-1~exp1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 0b79acd..0a8f55d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Francesco Paolo Lovergine <frankie@debian.org>,
            Bas Couwenberg <sebastic@debian.org>
 Section: utils
 Priority: optional
-Build-Depends: debhelper (>= 10~),
+Build-Depends: debhelper-compat (= 12),
                cmake,
                libboost-dev,
                libboost-system-dev,
diff --git a/debian/copyright b/debian/copyright
index 140ba6e..cdda70a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: osm2pgsql
 Upstream-Contact: OpenStreetMap Developers <dev@openstreetmap.org>
 Source: https://github.com/openstreetmap/osm2pgsql/releases
diff --git a/debian/rules b/debian/rules
index af6b994..fcffb60 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,9 +23,6 @@ override_dh_auto_configure:
 override_dh_auto_test:
 	dh_auto_test || echo "Ignoring test failures"
 
-override_dh_install:
-	dh_install --list-missing
-
 override_dh_compress:
 	# clean up some naive file permissions
 	dh_compress -X.php -X.sql -X.js -X.c -X.h

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package osm2pgsql

No differences were encountered between the control files of package osm2pgsql-dbgsym

Run locally

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

debcheckout osm2pgsql
cd osm2pgsql
lintian-brush

More details

Full run details