Lintian Fixes - libdogleg

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 91d5dd4..a398ffc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+libdogleg (0.15-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * 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.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 03 Jul 2020 04:19:19 -0000
+
 libdogleg (0.15-1) unstable; urgency=medium
 
   * updated Vcs tags to salsa
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 bf996cd..194d26a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libdogleg
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 9.20160114), dh-exec, libsuitesparse-dev | libsuitesparse-metis-dev
+Build-Depends: debhelper-compat (= 12), dh-exec, libsuitesparse-dev | libsuitesparse-metis-dev
 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
 Uploaders: Dima Kogan <dkogan@debian.org>
 Standards-Version: 3.9.6
@@ -30,8 +30,8 @@ Section: doc
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
-Replaces: libdogleg-dev (<< 0.08-3) 
-Breaks: libdogleg-dev (<< 0.08-3) 
+Replaces: libdogleg-dev (<< 0.08-3)
+Breaks: libdogleg-dev (<< 0.08-3)
 Description: Powell's dog-leg nonlinear least squares solver for sparse matrices
  Solves unconstrained nonlinear least squares problems using Powell's dog-leg
  method. The user specifies a callback C function that returns the value and
diff --git a/debian/copyright b/debian/copyright
index a13302b..b7eb192 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/
 Source: https://github.com/dkogan/libdogleg
 Upstream-Contact: Dima Kogan, <dima@secretsauce.net>
 Upstream-Name: libdogleg
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..947c43c
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/dkogan/libdogleg/issues
+Bug-Submit: https://github.com/dkogan/libdogleg/issues/new
+Repository: https://github.com/dkogan/libdogleg.git
+Repository-Browse: https://github.com/dkogan/libdogleg

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/share/doc/libdogleg-dev/examples/sample.c
-rw-r--r--  root/root   /usr/share/doc/libdogleg-dev/libdogleg.html

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/share/doc/libdogleg-doc/examples/sample.c.gz
-rw-r--r--  root/root   /usr/share/doc/libdogleg-doc/libdogleg.html

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

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

No differences were encountered between the control files of package libdogleg2

No differences were encountered between the control files of package libdogleg2-dbgsym

Run locally

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

debcheckout libdogleg
cd libdogleg
lintian-brush

More details

Full run details