Lintian Fixes - dctrl-tools

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index a6bd069..983d99c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
 dctrl-tools (2.24-4) UNRELEASED; urgency=medium
 
+  [ Jelmer Vernooij ]
   * Use secure copyright file specification URI.
   * Trim trailing whitespace.
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 10 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Use ?= for assignments to architecture variables.
+
  -- Jelmer Vernooij <jelmer@debian.org>  Mon, 08 Oct 2018 21:50:00 +0100
 
 dctrl-tools (2.24-3) unstable; urgency=low
@@ -1353,4 +1361,3 @@ grep-dctrl (0.5) unstable; urgency=low
   * This time the uploaded changes and .dsc are signed :-(
 
  -- Antti-Juhani Kaijanaho <ajk@debian.org>  Mon,  1 Mar 1999 22:10:01 +0200
-
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 498be36..eecead1 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: Rhonda D'Vine <rhonda@debian.org>
 Standards-Version: 4.2.1
-Build-Depends: gettext (>= 0.11-0), debhelper (>= 10~), po4a (>= 0.40), libc-bin (>= 2.13)
+Build-Depends: gettext (>= 0.11-0), debhelper-compat (= 13), po4a (>= 0.40), libc-bin (>= 2.13)
 Homepage: https://github.com/ajkaijanaho/dctrl-tools
 Vcs-Git: https://salsa.debian.org/debian/dctrl-tools.git -b debian
 Vcs-Browser: https://salsa.debian.org/debian/dctrl-tools
diff --git a/debian/rules b/debian/rules
index 8b69e8b..4fd359e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,12 @@
 #!/usr/bin/make -f
-# Written by Antti-Juhani Kaijanaho <ajk@debian.org>.  
+# Written by Antti-Juhani Kaijanaho <ajk@debian.org>.
 # You may treat this file as if it were in the public domain.
 
 %:
 	dh $@
 
 DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_GNU_TYPE  := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 	cross :=
 else
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7bc018c
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/ajkaijanaho/dctrl-tools/issues
+Bug-Submit: https://github.com/ajkaijanaho/dctrl-tools/issues/new
+Repository-Browse: https://github.com/ajkaijanaho/dctrl-tools

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/00/16bf5e7a9ca1ef612edd496be51386ef5428bb.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/a1/50f5f26fdf384013d5d4aa177f871d2b0f5a60.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/b6/1d5b9af721ab076e9d113a10dd43f522aac752.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/c2/914282f8e7a35790365600637d2db5148c4ef9.debug
-rw-r--r--  root/root   /usr/lib/debug/.dwz/x86_64-linux-gnu/dctrl-tools.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/68/1fbbb9e9d2923331cbc99d0e1fe1fb7849e0da.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/7d/785f93ba5eff93e7c0cd856de3e547cb9dd5fb.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/b1/b88b40caeb5a8ccdf3e43a7fe496051ecc84d0.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/dc/4021dc4683c96e97c5049b7ecda0851ec2b358.debug

No differences were encountered between the control files of package dctrl-tools

Control files of package dctrl-tools-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 681fbbb9e9d2923331cbc99d0e1fe1fb7849e0da 7d785f93ba5eff93e7c0cd856de3e547cb9dd5fb b1b88b40caeb5a8ccdf3e43a7fe496051ecc84d0 dc4021dc4683c96e97c5049b7ecda0851ec2b358 0016bf5e7a9ca1ef612edd496be51386ef5428bb a150f5f26fdf384013d5d4aa177f871d2b0f5a60 b61d5b9af721ab076e9d113a10dd43f522aac752 c2914282f8e7a35790365600637d2db5148c4ef9

Run locally

More details

Full run details