Lintian Fixes - python-sushy

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index fcb7011..c917349 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-sushy (4.4.2-4) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository-Browse.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 15 Aug 2023 10:04:49 -0000
+
 python-sushy (4.4.2-3) unstable; urgency=medium
 
   * Cleans better (Closes: #1045272).
diff --git a/debian/control b/debian/control
index 0b05d37..dc6d1db 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  Michal Arbet <michal.arbet@ultimum.io>,
  Mickael Asseline <mickael@papamica.com>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -25,7 +25,7 @@ Build-Depends-Indep:
  python3-stevedore,
  python3-sphinxcontrib.apidoc,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-sushy
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-sushy.git
 Homepage: https://docs.openstack.org/sushy
diff --git a/debian/rules b/debian/rules
index 06753e1..ef17bfd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/sushy.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:
 	echo "Do nothing..."
@@ -29,9 +29,9 @@ override_dh_auto_test:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. PYTHON=python3 python3 -m sphinx -b html doc/source debian/python-sushy-doc/usr/share/doc/python-sushy-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
 
 override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 	rm -rf build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..ba70e70
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/sushy

Debdiff

File lists identical (after any substitutions)

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

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

Run locally

More details

Full run details