Lintian Fixes - python-hplefthandclient

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index a5f6054..d622169 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,16 @@
 python-hplefthandclient (1.0.1-4) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Run wrap-and-sort -bastk.
 
+  [ Debian Janitor ]
+  * Update watch file format version to 4.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from deprecated 9 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Make "Files: *" paragraph the first in the copyright file.
+
  -- Ondřej Nový <onovy@debian.org>  Fri, 18 Oct 2019 16:30:08 +0200
 
 python-hplefthandclient (1.0.1-3) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 20ee0d7..dd0251c 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 (= 9),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
@@ -16,7 +16,7 @@ Build-Depends:
 Standards-Version: 4.1.3
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-hplefthandclient
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-hplefthandclient.git
-Homepage: http://packages.python.org/hplefthandclient
+Homepage: https://packages.python.org/hplefthandclient
 
 Package: python-hplefthandclient-doc
 Section: doc
diff --git a/debian/copyright b/debian/copyright
index e175b27..0ce089f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,15 +3,15 @@ Upstream-Name: hplefthandclient
 Upstream-Contact: Kurt Martin <kurt.f.martin@hp.com>
 Source: http://packages.python.org/hplefthandclient
 
-Files: debian/*
-Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
-License: Apache-2
-
 Files: *
 Copyright: (c) 2013, Kurt Martin <kurt.f.martin@hp.com>
            (c) 2013, HP.
 License: Apache-2
 
+Files: debian/*
+Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
+License: Apache-2
+
 License: Apache-2
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
diff --git a/debian/rules b/debian/rules
index 99368a1..629e086 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT = https://github.com/hpe-storage/python-lefthandclient.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..."
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..78ed7f8
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/hpe-storage/python-lefthandclient/issues
+Bug-Submit: https://github.com/hpe-storage/python-lefthandclient/issues/new
+Repository-Browse: https://github.com/hpe-storage/python-lefthandclient
diff --git a/debian/watch b/debian/watch
index 2e6a10b..27c77e7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
 http://pypi.python.org/packages/source/h/hplefthandclient hplefthandclient-(.*).tar.gz
-

Run locally

More details

Full run details