Lintian Fixes - python-debtcollector

Ready changes

Diff

diff --git a/debian/changelog b/debian/changelog
index 08d999a..70eb4c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-debtcollector (2.5.0-4) UNRELEASED; urgency=medium
+
+  * Bump debhelper from deprecated 9 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>  Wed, 16 Aug 2023 11:40:39 -0000
+
 python-debtcollector (2.5.0-3) unstable; urgency=medium
 
   * Cleans better (Closes: #1046108).
diff --git a/debian/control b/debian/control
index df82c9b..b86e0d0 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 (= 9),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -21,7 +21,7 @@ Build-Depends-Indep:
  python3-testtools <!nocheck>,
  python3-wrapt,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-debtcollector
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-debtcollector.git
 Homepage: http://www.openstack.org/
diff --git a/debian/rules b/debian/rules
index 1273bb4..b737b08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/debtcollector.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
@@ -26,5 +26,5 @@ override_dh_auto_test:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-debtcollector-doc/usr/share/doc/python-debtcollector-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..07ded44
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/debtcollector

Debdiff

File lists identical (after any substitutions)

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

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

Run locally

More details

Full run details