Lintian Fixes - python-pyghmi

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 217ffb5..90f67ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-pyghmi (1.5.34-4) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 15 Aug 2023 08:58:16 -0000
+
 python-pyghmi (1.5.34-3) unstable; urgency=medium
 
   * Cleans properly (Closes: #1045186).
diff --git a/debian/control b/debian/control
index aaa1f60..9ca1bd4 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 (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
diff --git a/debian/rules b/debian/rules
index 2a2411f..9034624 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://opendev.org/x/pyghmi.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	find . -iname '*.pyc' -delete
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7e20857
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack-archive/pyghmi
diff --git a/debian/watch b/debian/watch
index 9c85a5f..4545751 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/openstack/pyghmi/tags /stackforge/pyghmi/archive/(.*).tar.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details