Lintian Fixes - python-magnumclient

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 800cd6e..d214ee7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-magnumclient (4.0.0-3) 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.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 23 Sep 2022 13:25:10 -0000
+
 python-magnumclient (4.0.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index ef71ceb..a3f5621 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  Corey Bryant <corey.bryant@canonical.com>,
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 98~),
  python3-all,
@@ -39,7 +39,7 @@ Build-Depends-Indep:
  python3-testscenarios,
  python3-testtools,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-magnumclient
 Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-magnumclient.git
 Homepage: http://www.openstack.org/
diff --git a/debian/rules b/debian/rules
index 735fb1c..3c3773a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 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
@@ -22,7 +22,7 @@ override_dh_auto_test:
 
 override_dh_sphinxdoc:
 	PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-magnumclient-doc/usr/share/doc/python-magnumclient-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 
 override_dh_python3:
 	dh_python3 --shebang=/usr/bin/python3
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..619ba68
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/python-magnumclient

Debdiff

File lists identical (after any substitutions)

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

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

Run locally

More details

Full run details