Lintian Fixes - python-requests-kerberos

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 50adc51..845eae6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+python-requests-kerberos (0.12.0-3) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository-Browse.
+  * Make "Files: *" paragraph the first in the copyright file.
+  * Update standards version to 4.1.1, no changes needed.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 08 Jan 2023 07:28:48 -0000
+
 python-requests-kerberos (0.12.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index ae26a43..e9f73ff 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,
@@ -16,7 +16,7 @@ Build-Depends-Indep:
  python3-mock,
  python3-pytest,
  python3-requests,
-Standards-Version: 4.1.0
+Standards-Version: 4.1.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-requests-kerberos
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-requests-kerberos.git
 Homepage: https://github.com/requests/requests-kerberos
diff --git a/debian/copyright b/debian/copyright
index 689bc30..ef9e971 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,10 +2,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: requests-kerberos
 Source: https://github.com/requests/requests-kerberos
 
-Files: debian/*
-Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
-License: BSD-style
-
 Files: *
 Copyright: (c) 2012 Kenneth Reitz
            (c) 2012-2014, Ian Cordasco <graffatcolmingov@gmail.com>
@@ -20,6 +16,10 @@ Copyright: (c) 2012 Kenneth Reitz
            (c) 2013, Akira Kitada <akitada@gmail.com>
 License: BSD-style
 
+Files: debian/*
+Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
+License: BSD-style
+
 License: BSD-style
  Permission to use, copy, modify and/or distribute this software for any
  purpose with or without fee is hereby granted, provided that the above
diff --git a/debian/rules b/debian/rules
index 250c932..eb00d1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/requests/requests-kerberos.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	rm -rf build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..711b7cc
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/requests/requests-kerberos/issues
+Bug-Submit: https://github.com/requests/requests-kerberos/issues/new
+Repository: https://github.com/requests/requests-kerberos.git
+Repository-Browse: https://github.com/requests/requests-kerberos
diff --git a/debian/watch b/debian/watch
index 51403ef..2434a88 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/requests/requests-kerberos/tags .*/(\d[\d\.]+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details