Lintian Fixes - oslo-sphinx

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index a2ac49c..0f8787e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+oslo-sphinx (4.18.0-6) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository-Browse.
+  * Set upstream metadata fields: Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 14 Oct 2022 03:02:21 -0000
+
 oslo-sphinx (4.18.0-5) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/control b/debian/control
index 95cde3c..b7cb747 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Uploaders:
  Ivan Udovichenko <iudovichenko@mirantis.com>,
  David Della Vecchia <ddv@canonical.com>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
diff --git a/debian/rules b/debian/rules
index a8def69..f5f5229 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT = https://github.com/openstack/oslo.sphinx.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	rm -rf build .stestr
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2cddfe6
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack-archive/oslosphinx.git
+Repository-Browse: https://github.com/openstack-archive/oslosphinx
diff --git a/debian/watch b/debian/watch
index bc92532..f83c878 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/openstack/oslo.sphinx/tags .*/(\d[\d\.]+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-oslosphinx-common

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

Run locally

More details

Full run details