Run of lintian-fixes for tpm2-tools

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

debcheckout tpm2-tools
cd tpm2-tools
lintian-brush

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 342022f..097a956 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+tpm2-tools (4.3.0-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * debian/copyright: use spaces rather than tabs to start continuation lines.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 18 Sep 2020 21:37:33 -0000
+
 tpm2-tools (4.3.0-1) unstable; urgency=low
 
   * New upstream release.
@@ -72,7 +85,7 @@ tpm2-tools (3.1.3-1) unstable; urgency=low
 
   * New upstream release (Closes: #904384)
   * debian/control: Remove broken Vcs-Git and Vcs-Browser
-  * Remove the following patches - already upstreamed 
+  * Remove the following patches - already upstreamed
     - gcc7-Change-two-case-fallthrough-conditions-that-ups.patch
     - openssl_1.0.1.patch
   * Bump debhelper version to 10. Remove Build-Depends on dh-autoreconf.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index 64330c2..4a2b3fb 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Mathieu Trudel-Lapierre <cyphermox@ubuntu.com>,
            Ivan Hu <ivan.hu@ubuntu.com>
 Build-Depends: autoconf,
                autoconf-archive,
-               debhelper (>= 11),
+               debhelper-compat (= 12),
                docbook-xsl,
                libcurl4-gnutls-dev | libcurl-ssl-dev,
                libssl-dev,
@@ -18,7 +18,7 @@ Build-Depends: autoconf,
                uuid-dev,
                xsltproc
 Homepage: https://github.com/01org/tpm2.0-tools
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/debian/tpm2-tools
 Vcs-Git: https://salsa.debian.org/debian/tpm2-tools.git
 
diff --git a/debian/copyright b/debian/copyright
index 3fa3caf..848f6c0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -9,8 +9,8 @@ License: BSD-3-clause
 Files: debian/*
 Copyright: 2016 Canonical Ltd.
            2016 Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
-	   2017 Ivan Hu <ivan.hu@ubuntu.com>
-	   2017 Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
+           2017 Ivan Hu <ivan.hu@ubuntu.com>
+           2017 Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
 License: GPL-3
 
 Files: tools/tpm2_nvreadlock.c
diff --git a/debian/rules b/debian/rules
index 222693d..9ae8492 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_autoreconf:
 	$(CURDIR)/bootstrap
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..abe2045
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/01org/tpm2.0-tools/issues
+Bug-Submit: https://github.com/01org/tpm2.0-tools/issues/new
+Repository: https://github.com/01org/tpm2.0-tools.git
+Repository-Browse: https://github.com/01org/tpm2.0-tools

Full worker log Full build log