Lintian Fixes - python-keystoneclient

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 474b4c28..9c573b86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-keystoneclient (1:5.0.1-3) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 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:26:41 -0000
+
 python-keystoneclient (1:5.0.1-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index a406cd23..9f8630ec 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Corey Bryant <corey.bryant@canonical.com>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -49,7 +49,7 @@ Build-Depends-Indep:
  python3-testtools <!nocheck>,
  subunit <!nocheck>,
  tempest,
-Standards-Version: 4.5.1
+Standards-Version: 4.6.1
 Homepage: https://github.com/openstack/python-keystoneclient
 Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-keystoneclient.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-keystoneclient
diff --git a/debian/rules b/debian/rules
index 01ef1e5c..1845d4a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ include /usr/share/openstack-pkg-tools/pkgos.make
 export RES_OPTIONS=attempts:0
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	rm -rf .testrepository
@@ -28,13 +28,10 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# 'keystoneclient\.tests\.(?!.*memcache_set_expired.*|.*test_encrypt_cache_data.*|.*test_sign_cache_data.*)'
 endif
 
-override_dh_clean:
-	dh_clean
-
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-keystoneclient-doc/usr/share/doc/python-keystoneclient-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
 
 override_dh_python3:
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 00000000..87a85d89
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/python-keystoneclient

Debdiff

File lists identical (after any substitutions)

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

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

Run locally

More details

Full run details