Run of lintian-fixes for python-osprofiler

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

debcheckout python-osprofiler
cd python-osprofiler
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 3422e4e..d8fdaff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-osprofiler (3.4.0-4) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Update standards version to 4.1.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 21 Nov 2020 18:41:54 -0000
+
 python-osprofiler (3.4.0-3) unstable; urgency=medium
 
   * Added Restrictions: superficial to d/tests/control (Closes: #974519).
diff --git a/debian/control b/debian/control
index 3698929..a0c43d6 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 (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -33,7 +33,7 @@ Build-Depends-Indep:
  python3-testtools,
  python3-webob,
  subunit,
-Standards-Version: 4.1.0
+Standards-Version: 4.1.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-osprofiler
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-osprofiler.git
 Homepage: https://opendev.org/openstack/osprofiler
diff --git a/debian/rules b/debian/rules
index a12fbb6..3190959 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ UPSTREAM_GIT := https://github.com/openstack/osprofiler.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..c97bf64
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/osprofiler.git
+Repository-Browse: https://github.com/openstack/osprofiler

Debdiff

File lists identical (after any substitutions)

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

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

Full worker log Full build log