Lintian Fixes - tpm2-tools

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 473dac9..75be067 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+tpm2-tools (5.3-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * debian/copyright: use spaces rather than tabs to start continuation lines.
+  * Bump debhelper from old 11 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Remove unused license definitions for BSD-2-clause.
+  * Update standards version to 4.6.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 01 Oct 2022 17:03:34 -0000
+
 tpm2-tools (5.3-1) unstable; urgency=low
 
   * New upstream version 5.3
@@ -111,7 +124,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 1b1aadd..f91a9b4 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 (= 13),
                docbook-xml,
                docbook-xsl,
                libcurl4-gnutls-dev | libcurl-ssl-dev,
@@ -18,7 +18,7 @@ Build-Depends: autoconf,
                uuid-dev,
                xsltproc
 Homepage: https://github.com/tpm2-software/tpm2-tools
-Standards-Version: 4.4.1
+Standards-Version: 4.6.1
 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 f7e4199..28aea15 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
@@ -43,29 +43,6 @@ License: GPL-3
  Public License can be found in the
  `/usr/share/common-licenses/GPL-3' file.
 
-License: BSD-2-clause
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- .
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- .
- 2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- .
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- THE POSSIBILITY OF SUCH DAMAGE.
-
 License: BSD-3-clause
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:
diff --git a/debian/rules b/debian/rules
index 54c8993..ea626c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_autoreconf: tss2.1
 	$(CURDIR)/bootstrap
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7ee931b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/tpm2-software/tpm2-tools/issues
+Bug-Submit: https://github.com/tpm2-software/tpm2-tools/issues/new
+Repository-Browse: https://github.com/tpm2-software/tpm2-tools

Debdiff

File lists identical (after any substitutions)

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

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

Run locally

More details

Full run details