Lintian Fixes - octavia-dashboard
Ready changes
Summary
- Move source package lintian overrides to debian/source. ( old-source-override-location )
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Bug-Database, Repository. ( upstream-metadata-file-is-missing )
- Update standards version to 4.6.2, no changes needed. ( out-of-date-standards-version )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index cd09eee..792985a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+octavia-dashboard (11.0.0-5) UNRELEASED; urgency=medium
+
+ * Move source package lintian overrides to debian/source.
+ * Bump debhelper from old 10 to 13.
+ + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now
+ does this.
+ + Replace python_distutils buildsystem with pybuild.
+ + debian/rules: Drop --fail-missing argument to dh_missing, which is now the
+ default.
+ * Set upstream metadata fields: Bug-Database, Repository.
+ * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk> Tue, 22 Aug 2023 09:53:43 -0000
+
octavia-dashboard (11.0.0-4) unstable; urgency=medium
* Removed dependency on nose.
diff --git a/debian/control b/debian/control
index 47307df..548864f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
Thomas Goirand <zigo@debian.org>,
Michal Arbet <michal.arbet@ultimum.io>,
Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
dh-python,
openstack-pkg-tools,
python3-all,
@@ -30,7 +30,7 @@ Build-Depends-Indep:
python3-testtools,
python3-xvfbwrapper,
subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/openstack-team/horizon-plugins/octavia-dashboard.git
Vcs-Browser: https://salsa.debian.org/openstack-team/horizon-plugins/octavia-dashboard
Homepage: https://github.com/openstack/octavia-dashboard.git
diff --git a/debian/rules b/debian/rules
index d5fde35..380ebea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python3
+ dh $@ --buildsystem=pybuild --with python3
override_dh_auto_clean:
python3 setup.py clean
@@ -43,14 +43,12 @@ override_dh_install:
cp $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/octavia_dashboard/local_settings.d/_[0-9]*.py $(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.d/
dh_install
- dh_missing --fail-missing
+ dh_missing
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
for i in $(PYTHON3S) ; do \
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages \
python$$i $(CURDIR)/manage.py test octavia_dashboard -v 2 --settings=octavia_dashboard.tests.settings ; \
done
## Delete __pycache__
find . -name __pycache__ -prune -exec rm -rf {} +;
-endif
diff --git a/debian/source.lintian-overrides b/debian/source/lintian-overrides
similarity index 100%
rename from debian/source.lintian-overrides
rename to debian/source/lintian-overrides
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5d357d4
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://storyboard.openstack.org/#!/project/909
+Repository: https://opendev.org/openstack/octavia-dashboard
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files