Lintian Fixes - python-os-api-ref

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index cca50dd..a8d3301 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-os-api-ref (2.1.0+ds1-5) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Remove obsolete field Name from debian/upstream/metadata (already present in
+    machine-readable debian/copyright).
+  * Update standards version to 4.6.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 21 Sep 2022 06:16:00 -0000
+
 python-os-api-ref (2.1.0+ds1-4) unstable; urgency=medium
 
   * Refreshed switch-to-add_css_file.patch.
diff --git a/debian/control b/debian/control
index a3d7a29..db50fd9 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Ondřej Nový <onovy@debian.org>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -25,7 +25,7 @@ Build-Depends-Indep:
  python3-testtools (>= 2.2.0),
  python3-yaml (>= 3.12),
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.1
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-os-api-ref.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-os-api-ref
 Homepage: https://github.com/openstack/os-api-ref
diff --git a/debian/rules b/debian/rules
index 5662cb8..e2db0ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT = https://github.com/openstack/os-api-ref.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@  --with python3
+	dh $@  --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	rm -rf build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 08c83f0..b4f0fe3 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,3 +1,2 @@
-Name: os-api-ref
 Repository: https://github.com/openstack/os-api-ref.git
 Repository-Browse: https://github.com/openstack/os-api-ref

Run locally

More details

Full run details