Lintian Fixes - python-oslo.context

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index d6b6b51..e3ddf12 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-oslo.context (3.2.0-2) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 07 Apr 2021 17:43:22 -0000
+
 python-oslo.context (3.2.0-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 772452d..1299d96 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  James Page <james.page@canonical.com>,
  Corey Bryant <corey.bryant@canonical.com>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
diff --git a/debian/rules b/debian/rules
index 1f2b636..3482099 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/oslo.context.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
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b91c41f
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/oslo.context.git
+Repository-Browse: https://github.com/openstack/oslo.context

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-oslo.context-doc

No differences were encountered between the control files of package python3-oslo.context

Run locally

Try this locally (using the lintian-brush package):

debcheckout python-oslo.context
cd python-oslo.context
lintian-brush

More details

Full run details