Lintian Fixes - python-oslo.i18n

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 50a26de..2e5aedc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-oslo.i18n (5.1.0-3) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Update standards version to 4.6.0, no changes needed.
+  * Update standards version to 4.6.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 01 Aug 2022 13:24:55 -0000
+
 python-oslo.i18n (5.1.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index 3436fbd..3f4727b 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,
@@ -23,7 +23,7 @@ Build-Depends-Indep:
  python3-testscenarios,
  subunit,
  testrepository,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/oslo/python-oslo.i18n
 Vcs-Git: https://salsa.debian.org/openstack-team/oslo/python-oslo.i18n.git
 Homepage: https://github.com/openstack/oslo.i18n
diff --git a/debian/rules b/debian/rules
index f38c8d8..c6d3589 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/oslo.i18n.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 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 		cat /tmp/sphinx-err-* ; \
 		exit 1 ; \
 	fi
-	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..1dedce9
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/oslo.i18n.git
+Repository-Browse: https://github.com/openstack/oslo.i18n

Run locally

More details

Full run details