Lintian Fixes - python-os-resource-classes

Ready changes

Diff

diff --git a/debian/changelog b/debian/changelog
index 54c68a5..599db7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-os-resource-classes (1.1.0-3) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Update standards version to 4.6.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 01 Sep 2022 08:11:37 -0000
+
 python-os-resource-classes (1.1.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index 7421ff7..746701c 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Mickael Asseline <mickael@papamica.com>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
@@ -23,7 +23,7 @@ Build-Depends-Indep:
  python3-subunit,
  python3-testtools,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-os-resource-classes
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-os-resource-classes.git
 Homepage: https://docs.openstack.org/os-resource-classes/latest/
diff --git a/debian/rules b/debian/rules
index 0c72532..4fd935c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/os-resource-classes.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
@@ -24,5 +24,5 @@ endif
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-os-resource-classes-doc/usr/share/doc/python-os-resource-classes-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..e706443
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/os-resource-classes.git
+Repository-Browse: https://github.com/openstack/os-resource-classes

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in first set of .debs but not in second

lrwxrwxrwx  root/root   /usr/share/doc/python-os-resource-classes-doc/html/_static/_sphinx_javascript_frameworks_compat.js -> ../../../../javascript/sphinxdoc/1.0/_sphinx_javascript_frameworks_compat.js
lrwxrwxrwx  root/root   /usr/share/doc/python-os-resource-classes-doc/html/_static/sphinx_highlight.js -> ../../../../javascript/sphinxdoc/1.0/sphinx_highlight.js

Control files of package python-os-resource-classes-doc: lines which differ (wdiff format)

  • Depends: libjs-sphinxdoc (>= 5.2) 4.3)

No differences were encountered between the control files of package python3-os-resource-classes

Run locally

More details

Full run details