Lintian Fixes - python-osc-placement
Ready changes
Summary
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Repository, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-repository )
- Update standards version to 4.2.1, no changes needed. ( out-of-date-standards-version )
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Repository-Browse. ( upstream-metadata-file-is-missing )
- Update standards version to 4.2.1, no changes needed. ( out-of-date-standards-version )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index 8f5d05c..d9bdf95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-osc-placement (4.0.0-3) UNRELEASED; urgency=medium
+
+ * Bump debhelper from old 10 to 13.
+ + Replace python_distutils buildsystem with pybuild.
+ * Set upstream metadata fields: Repository-Browse.
+ * Update standards version to 4.2.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk> Fri, 23 Sep 2022 13:49:45 -0000
+
python-osc-placement (4.0.0-2) unstable; urgency=medium
* Uploading to unstable.
diff --git a/debian/control b/debian/control
index 3ed3df9..00938cc 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 (= 13),
dh-python,
openstack-pkg-tools (>= 99~),
python3-all,
@@ -29,7 +29,7 @@ Build-Depends-Indep:
python3-stestr,
python3-wsgi-intercept,
subunit,
-Standards-Version: 4.2.0
+Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-osc-placement
Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-osc-placement.git
Homepage: https://github.com/openstack/osc-placement
diff --git a/debian/rules b/debian/rules
index 16095f5..39802bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/osc-placement.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:
echo "Do nothing..."
@@ -25,9 +25,9 @@ endif
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-osc-placement-doc/usr/share/doc/python-osc-placement-doc/html
- dh_sphinxdoc -O--buildsystem=python_distutils
+ dh_sphinxdoc -O--buildsystem=pybuild
endif
override_dh_clean:
- dh_clean -O--buildsystem=python_distutils
+ dh_clean -O--buildsystem=pybuild
rm -rf build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..090fa6b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/osc-placement
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package python-osc-placement-doc
No differences were encountered between the control files of package python3-osc-placement