Lintian Fixes - python-json-patch

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index c91f433..b768959 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+python-json-patch (1.32-3) 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: Bug-Database, Bug-Submit.
+  * Update standards version to 4.6.0, no changes needed.
+  * Set upstream metadata fields: Repository-Browse.
+  * Update standards version to 4.6.1, no changes needed.
+  * Set upstream metadata fields: Repository.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 02 Sep 2022 07:57:05 -0000
+
 python-json-patch (1.32-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index 2b33f51..63153ce 100644
--- a/debian/control
+++ b/debian/control
@@ -5,14 +5,14 @@ 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 (>= 92~),
  python3-all,
  python3-setuptools,
 Build-Depends-Indep:
  python3-json-pointer,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-json-patch
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-json-patch.git
 Homepage: https://github.com/stefankoegl/python-json-patch
diff --git a/debian/rules b/debian/rules
index 0cd653e..2d95a86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/stefankoegl/python-json-patch.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
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..44183a6
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/stefankoegl/python-json-patch/issues
+Bug-Submit: https://github.com/stefankoegl/python-json-patch/issues/new
+Repository: https://github.com/stefankoegl/python-json-patch.git
+Repository-Browse: https://github.com/stefankoegl/python-json-patch
diff --git a/debian/watch b/debian/watch
index 8c8f985..a047aa7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/stefankoegl/python-json-patch/tags .*/v(\d[\d\.]+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details