Lintian Fixes - python-ceilometermiddleware

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index e7b70a3..2bd6d01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-ceilometermiddleware (3.0.0-3) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 11 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Update standards version to 4.6.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 23 Sep 2022 07:51:26 -0000
+
 python-ceilometermiddleware (3.0.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index d317872..3eb352a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Mickael Asseline <mickael@papamica.com>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -34,7 +34,7 @@ Build-Depends-Indep:
  python3-testtools (>= 1.4.0),
  subunit,
  testrepository,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-ceilometermiddleware
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-ceilometermiddleware.git
 Homepage: http://www.openstack.org/
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

Run locally

More details

Full run details