Run of lintian-fixes for python-ceilometermiddleware

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

debcheckout python-ceilometermiddleware
cd python-ceilometermiddleware
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 51b395e..6ba53c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-ceilometermiddleware (2.1.0-3) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 22 Dec 2020 18:58:34 -0000
+
 python-ceilometermiddleware (2.1.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index d10f38e..432b172 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 (= 11),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
diff --git a/debian/rules b/debian/rules
index a839504..7efe8ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT = https://github.com/openstack/ceilometermiddleware.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
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..dec0b67
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/ceilometermiddleware.git
+Repository-Browse: https://github.com/openstack/ceilometermiddleware
diff --git a/debian/watch b/debian/watch
index a542761..f12450c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/openstack/ceilometermiddleware/tags .*/(\d[\d\.]+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

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

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

Full worker log Full build log