Lintian Fixes - python-oslo.reports

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 8ec5f17..2b41316 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-oslo.reports (2.2.0-3) UNRELEASED; urgency=medium
+
+  * Bump debhelper from deprecated 9 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 07 Apr 2021 18:00:22 -0000
+
 python-oslo.reports (2.2.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index 3b34e58..94ec774 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 (= 9),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -29,7 +29,7 @@ Build-Depends-Indep:
  python3-sphinxcontrib.apidoc,
  python3-stestr,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/oslo/python-oslo.reports
 Vcs-Git: https://salsa.debian.org/openstack-team/oslo/python-oslo.reports.git
 Homepage: https://launchpad.net/oslo
diff --git a/debian/rules b/debian/rules
index 5b387b1..5103480 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/oslo.reports.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	rm -rf build
@@ -23,5 +23,5 @@ endif
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	python3 -m sphinx -b html doc/source debian/python-oslo.reports-doc/usr/share/doc/python-oslo.reports-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2690b3d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/oslo.reports.git
+Repository-Browse: https://github.com/openstack/oslo.reports

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-oslo.reports-doc

No differences were encountered between the control files of package python3-oslo.reports

Run locally

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

debcheckout python-oslo.reports
cd python-oslo.reports
lintian-brush

More details

Full run details