Lintian Fixes - libcbor

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/libcbor lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 21141e7..fed872c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
 libcbor (0.5.0+dfsg-2) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * d/copyright: Use https protocol in Format field
   * d/control: Set Vcs-* to salsa.debian.org
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
  -- Ondřej Nový <onovy@debian.org>  Mon, 01 Oct 2018 09:50:00 +0200
 
 libcbor (0.5.0+dfsg-1) unstable; urgency=medium
@@ -10,4 +18,3 @@ libcbor (0.5.0+dfsg-1) unstable; urgency=medium
   * Initial release. Closes: #787015.
 
  -- Vincent Bernat <bernat@debian.org>  Mon, 18 Dec 2017 07:26:05 +0100
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 4c6cba6..140c671 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libcbor
 Priority: optional
 Maintainer: Vincent Bernat <bernat@debian.org>
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper-compat (= 12),
                cmake,
                libcmocka-dev,
                python3-sphinx,
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b9c7394
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/PJK/libcbor/issues
+Bug-Submit: https://github.com/PJK/libcbor/issues/new
+Repository: https://github.com/PJK/libcbor.git
+Repository-Browse: https://github.com/PJK/libcbor

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/7f/38ea03deed77bc0b1d48de2a4525a11745aca9.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/f1/a50376844536d1116bf43d0247c5d05dfad497.debug

No differences were encountered between the control files of package libcbor-dev

No differences were encountered between the control files of package libcbor-doc

No differences were encountered between the control files of package libcbor0

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

  • Build-Ids: f1a50376844536d1116bf43d0247c5d05dfad497 7f38ea03deed77bc0b1d48de2a4525a11745aca9

Run locally

Try this locally (using the lintian-brush package):

debcheckout libcbor
cd libcbor
lintian-brush

More details

Full run details