Lintian Fixes - tpm2-tss

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 435e295..1d9069a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+tpm2-tss (3.0.1-5) UNRELEASED; urgency=medium
+
+  * Use secure copyright file specification URI.
+  * debian/copyright: use spaces rather than tabs to start continuation lines.
+  * Bump debhelper from old 11 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.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Drop unnecessary dependency on dh-autoreconf.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 03 Nov 2020 21:54:56 -0000
+
 tpm2-tss (3.0.1-4) unstable; urgency=medium
 
   * Fix the include dir for development packages (Closes: #973267)
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 17d9dbb..10a790d 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>,
            Mario Limonciello <superm1@gmail.com>
 Build-Depends: autoconf,
                autoconf-archive,
-               debhelper (>= 11),
+               debhelper-compat (= 12),
                docbook-xsl,
                doxygen,
                libcmocka-dev (>= 1.0),
diff --git a/debian/copyright b/debian/copyright
index ff13298..c8d6c9c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: TPM2.0-TSS
 Source: https://github.com/tpm2-software/tpm2-tss
 
@@ -12,9 +12,9 @@ License: TCG
 
 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>
+           2016 Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
+           2017 Ivan Hu <ivan.hu@ubuntu.com>
+           2017 Ying-Chun Liu (PaulLiU) <paulliu@debian.org>
 License: GPL-3
 
 License: TCG
diff --git a/debian/rules b/debian/rules
index 3635e8c..a4dbd2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
 XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_autoreconf:
 	export LIBDL_LDFLAGS="-ldl"
@@ -24,7 +24,7 @@ override_dh_auto_build: resourcemgr.1 tpmclient.1 tpmtest.1
 
 override_dh_install:
 	find debian/tmp \( -name '*.la' -o -name '*.a' \) -delete
-	dh_install --list-missing
+	dh_install
 
 resourcemgr.1: debian/resourcemgr.xml
 	$(XP) $(DB2MAN) $<
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..c3b5d2e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/tpm2-software/tpm2-tss/issues
+Bug-Submit: https://github.com/tpm2-software/tpm2-tss/issues/new
+Repository: https://github.com/tpm2-software/tpm2-tss.git
+Repository-Browse: https://github.com/tpm2-software/tpm2-tss

Debdiff

File lists identical (after any substitutions)

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

No differences were encountered between the control files of package libtss2-esys0

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

No differences were encountered between the control files of package libtss2-fapi1

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

No differences were encountered between the control files of package libtss2-mu0

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

No differences were encountered between the control files of package libtss2-rc0

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

No differences were encountered between the control files of package libtss2-sys1

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

No differences were encountered between the control files of package libtss2-tcti-cmd0

No differences were encountered between the control files of package libtss2-tcti-cmd0-dbgsym

No differences were encountered between the control files of package libtss2-tcti-device0

No differences were encountered between the control files of package libtss2-tcti-device0-dbgsym

No differences were encountered between the control files of package libtss2-tcti-mssim0

No differences were encountered between the control files of package libtss2-tcti-mssim0-dbgsym

No differences were encountered between the control files of package libtss2-tcti-swtpm0

No differences were encountered between the control files of package libtss2-tcti-swtpm0-dbgsym

No differences were encountered between the control files of package libtss2-tctildr0

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

Run locally

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

debcheckout tpm2-tss
cd tpm2-tss
lintian-brush

More details

Full run details