Lintian Fixes - magnum
Recent merge proposals
Ready changes
Summary
- Update lintian override info format in d/python3-magnum.lintian-overrides on line 1, 3. ( mismatched-override )
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Repository-Browse. ( upstream-metadata-file-is-missing )
Diff
diff --git a/debian/control b/debian/control
index fcdc98c9..5205ed0e 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 (>= 123~),
po-debconf,
diff --git a/debian/python3-magnum.lintian-overrides b/debian/python3-magnum.lintian-overrides
index c16d25c9..d1ba4e13 100644
--- a/debian/python3-magnum.lintian-overrides
+++ b/debian/python3-magnum.lintian-overrides
@@ -1,3 +1,3 @@
-python3-magnum: shell-script-fails-syntax-check usr/lib/python3/dist-packages/magnum/drivers/common/templates/kubernetes/fragments/*.sh
+python3-magnum: shell-script-fails-syntax-check [usr/lib/python3/dist-packages/magnum/drivers/common/templates/kubernetes/fragments/*.sh]
python3-magnum: python-script-but-no-python-dep usr/lib/python3/dist-packages/magnum/drivers/common/image/*
-python3-magnum: script-not-executable usr/lib/python3/dist-packages/magnum/drivers/*
+python3-magnum: script-not-executable [usr/lib/python3/dist-packages/magnum/drivers/*]
diff --git a/debian/rules b/debian/rules
index a7956581..677b5b9f 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,sphinxdoc
+ dh $@ --buildsystem=pybuild --with python3,sphinxdoc
override_dh_auto_install:
echo "Do nothing..."
@@ -43,7 +43,7 @@ endif
# cp $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/magnum/api/app.wsgi $(CURDIR)/debian/python3-magnum/usr/bin/magnum-api-wsgi
# chmod +x $(CURDIR)/debian/python3-magnum/usr/bin/magnum-api-wsgi
- dh_install --fail-missing
+ dh_install
mkdir -p $(CURDIR)/debian/magnum-common/usr/share/magnum-common
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages oslo-config-generator \
--output-file $(CURDIR)/debian/magnum-common/usr/share/magnum-common/magnum.conf \
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 00000000..4b8048f7
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/magnum
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package magnum-api
No differences were encountered between the control files of package magnum-common
No differences were encountered between the control files of package magnum-conductor
No differences were encountered between the control files of package python3-magnum