Lintian Fixes - python-psycopg2cffi

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index e4c5366..62adf3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+python-psycopg2cffi (2.8.1-3) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update standards version to 4.6.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 31 Aug 2022 20:03:47 -0000
+
 python-psycopg2cffi (2.8.1-2) unstable; urgency=medium
 
   * Re-upload source-only.
diff --git a/debian/control b/debian/control
index ea89bcb..e17b1ed 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,
  libpq-dev,
  openstack-pkg-tools (>= 93~),
@@ -13,7 +13,7 @@ Build-Depends:
  python3-cffi,
  python3-pytest,
  python3-setuptools,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-psycopg2cffi
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-psycopg2cffi.git
 Homepage: https://github.com/chtd/psycopg2cffi
diff --git a/debian/copyright b/debian/copyright
index e544cf9..8867632 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: psycopg2cffi
 Upstream-Author: Konstantin Lopuhin <konstantin.lopuhin@chtd.ru>
 Source: https://github.com/chtd/psycopg2cffi
diff --git a/debian/rules b/debian/rules
index 43922b2..f559927 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/chtd/psycopg2cffi.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 .stestr
@@ -28,6 +28,3 @@ endif
 
 override_dh_auto_test:
 	echo "Do nothing..."
-
-
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..67e5d9e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/chtd/psycopg2cffi/issues
+Bug-Submit: https://github.com/chtd/psycopg2cffi/issues/new
+Repository: https://github.com/chtd/psycopg2cffi.git
+Repository-Browse: https://github.com/chtd/psycopg2cffi

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/66/9b9e501f9642c2ab037388ebe97e73f212ffbe.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/6e/c2bf74d63fbee37988ab4e6cec026cf8e55b9c.debug

No differences were encountered between the control files of package python3-psycopg2cffi

Control files of package python3-psycopg2cffi-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 6ec2bf74d63fbee37988ab4e6cec026cf8e55b9c 669b9e501f9642c2ab037388ebe97e73f212ffbe

Run locally

More details

Full run details