Lintian Fixes - nova

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 86254947ef..6c471ed73c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,14 @@
 nova (2:21.0.0-4) UNRELEASED; urgency=medium
 
+  [ Thomas Goirand ]
   * Replaced Suggests: python3-pygresql by python3-psycopg2 (Closes: #964473).
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
  -- Thomas Goirand <zigo@debian.org>  Wed, 08 Jul 2020 13:47:24 +0200
 
 nova (2:21.0.0-3) unstable; urgency=medium
@@ -2230,4 +2237,3 @@ nova (0.9.1~bzr204-0ubuntu1) maverick; urgency=low
   * First OpenStack release.
 
  -- Soren Hansen <soren@ubuntu.com>  Wed, 04 Aug 2010 13:27:50 +0200
-
diff --git a/debian/control b/debian/control
index 8b57a22fe8..6c41f7de6d 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  gustavo panizzo <gfa@zumbi.com.ar>,
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools (>= 109~),
  po-debconf,
diff --git a/debian/rules b/debian/rules
index e52b5ef708..82a254e5af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ include /usr/share/openstack-pkg-tools/pkgos.make
 NOVA_CONF=$(CURDIR)/debian/nova-common/usr/share/nova-common/nova.conf
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	python3 setup.py clean
@@ -36,13 +36,13 @@ override_dh_auto_build:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b html doc/source $(CURDIR)/debian/nova-doc/usr/share/doc/nova-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
 
 override_dh_installman:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b man doc/source doc/build/man
-	dh_installman -O--buildsystem=python_distutils
+	dh_installman -O--buildsystem=pybuild
 endif
 
 override_dh_auto_install:
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000000..ccab21da84
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/nova.git
+Repository-Browse: https://github.com/openstack/nova

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package nova-api

No differences were encountered between the control files of package nova-common

No differences were encountered between the control files of package nova-compute

No differences were encountered between the control files of package nova-compute-ironic

No differences were encountered between the control files of package nova-compute-kvm

No differences were encountered between the control files of package nova-compute-lxc

No differences were encountered between the control files of package nova-compute-qemu

No differences were encountered between the control files of package nova-conductor

No differences were encountered between the control files of package nova-consoleproxy

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

No differences were encountered between the control files of package nova-scheduler

No differences were encountered between the control files of package nova-volume

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

Run locally

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

debcheckout nova
cd nova
lintian-brush

More details

Full run details