Lintian Fixes - mistral-dashboard

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 04c23a8..c6c8418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+mistral-dashboard (16.0.0-2) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 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: Repository-Browse.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 22 Mar 2023 15:20:41 -0000
+
 mistral-dashboard (16.0.0-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 02eb5ba..715ebab 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 (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -30,7 +30,7 @@ Build-Depends-Indep:
  python3-selenium,
  python3-xvfbwrapper,
  python3-yaml,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/openstack-team/horizon-plugins/mistral-dashboard
 Vcs-Git: https://salsa.debian.org/openstack-team/horizon-plugins/mistral-dashboard.git
 Homepage: https://github.com/openstack/mistral-dashboard
diff --git a/debian/rules b/debian/rules
index 28d2046..5a733c2 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_clean:
 	dh_clean
@@ -28,10 +28,9 @@ override_dh_install:
 	cp $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/mistraldashboard/enabled/_[0-9]*.py $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/openstack_dashboard/local/enabled
 
 	dh_install
-	dh_missing --fail-missing
+	dh_missing
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	NOSE_WITH_OPENSTACK=1 \
 		NOSE_OPENSTACK_COLOR=1 \
 		NOSE_OPENSTACK_RED=0.05 \
@@ -42,4 +41,3 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 		$(CURDIR)/manage.py test mistraldashboard --settings=mistraldashboard.test.settings
 	## Delete __pycache__
 	find . -name __pycache__ -prune -exec rm -rf {} +;
-endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b50b76b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/mistral-dashboard

Run locally

More details

Full run details

Historical runs