Lintian Fixes - python-vitrageclient

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 93ae9cf..28cd0a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-vitrageclient (4.3.0-2) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Remove Section on python3-vitrageclient that duplicates source.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 22 Mar 2021 00:17:20 -0000
+
 python-vitrageclient (4.3.0-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index b36b960..8f2b864 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -53,7 +53,6 @@ Description: OpenStack root cause analysis as a Service doc.
  This package contains the documentation.
 
 Package: python3-vitrageclient
-Section: python
 Architecture: all
 Depends:
  python3-cliff,
diff --git a/debian/rules b/debian/rules
index 5f03c81..5dfb339 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 
 override_dh_auto_build:
@@ -32,5 +32,5 @@ override_dh_auto_clean:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-vitrageclient-doc/usr/share/doc/python-vitrageclient-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..7df1b50
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/python-vitrageclient.git
+Repository-Browse: https://github.com/openstack/python-vitrageclient

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-vitrageclient-doc

No differences were encountered between the control files of package python3-vitrageclient

Run locally

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

debcheckout python-vitrageclient
cd python-vitrageclient
lintian-brush

More details

Full run details