Run of lintian-fixes for python-stestr

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

debcheckout python-stestr
cd python-stestr
lintian-brush

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 40a27a3..a2d7e1a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,19 @@
 python-stestr (2.4.0-3) UNRELEASED; urgency=medium
 
+  [ Thomas Goirand ]
   * Add some <!nocheck> in d/control to avoid some package a build time if not
     running unit tests.
   * Add Build-Profiles: <!nodoc> for the -doc package.
 
+  [ Debian Janitor ]
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Fix field name typo in debian/copyright (Upstrean-Contact =>
+    Upstream-Contact).
+  * Update standards version to 4.5.0, no changes needed.
+
  -- Thomas Goirand <zigo@debian.org>  Mon, 06 Apr 2020 17:59:47 +0200
 
 python-stestr (2.4.0-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index e890662..47261ef 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
 Uploaders:
  Thomas Goirand <zigo@debian.org>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -25,7 +25,7 @@ Build-Depends-Indep:
  python3-voluptuous <!nocheck>,
  python3-yaml <!nocheck>,
  subunit <!nocheck>,
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-stestr
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-stestr.git
 Homepage: https://github.com/mtreinish/stestr
diff --git a/debian/copyright b/debian/copyright
index e64324a..5a98701 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: stestr
-Upstrean-Contact: Matthew Treinish <mtreinish@kortar.org>
 Source: https://github.com/mtreinish/stestr
+Upstream-Contact: Matthew Treinish <mtreinish@kortar.org>
 
 Files: *
 Copyright: (c) 2013, Matthew Treinish <mtreinish@kortar.org>
diff --git a/debian/rules b/debian/rules
index 6188346..86d5260 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/mtreinish/stestr.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 # We need this to have the stestr binary when running tests
 export PATH:=$(PATH):$(CURDIR)/debian/tmp/usr/bin
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..46db3db
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/mtreinish/stestr/issues
+Bug-Submit: https://github.com/mtreinish/stestr/issues/new
+Repository: https://github.com/mtreinish/stestr.git
+Repository-Browse: https://github.com/mtreinish/stestr

Full worker log Full build log