Lintian Fixes - libmsnumpress

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 42f34a2..ecfdad0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,19 @@
+libmsnumpress (1.0.0-8) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Remove duplicate values for fields Repository in debian/upstream/metadata.
+  * Set upstream metadata fields: Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 26 Jun 2020 04:03:45 -0000
+
 libmsnumpress (1.0.0-7) unstable; urgency=low
 
   *  Since July 2019, binaries uploaded by maintainers are not allowed to
      migrate to testing. In other words, packages must have source-only uploads
-     before they can reach the next release 
+     before they can reach the next release
      (Thanks to Boyuan Yang <byang@debian.org> ; Closes: #961026).
 
  -- Filippo Rusconi <lopippo@debian.org>  Tue, 19 May 2020 16:26:13 +0200
@@ -36,7 +47,7 @@ libmsnumpress (1.0.0-3) unstable; urgency=low
  -- Filippo Rusconi <lopippo@debian.org>  Thu, 07 Mar 2019 16:16:13 +0100
 
 libmsnumpress (1.0.0-2) unstable; urgency=low
-  
+
   Fix removal of files that are no present and that trigger an error.
 
  -- Filippo Rusconi <lopippo@debian.org>  Wed, 10 Jan 2018 18:05:03 +0100
diff --git a/debian/control b/debian/control
index 8a2524b..b607310 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Vcs-Browser: https://salsa.debian.org/debichem-team/libmsnumpress
 Package: libmsnumpress-dev
 Section: libdevel
 Architecture: any
-Replaces: libmsnumpress-dev-doc, 
+Replaces: libmsnumpress-dev-doc,
           libmsnumpress1(<= 1.0.0-5)
 Breaks: libmsnumpress1(<= 1.0.0-5)
 Depends: ${shlibs:Depends},
@@ -37,7 +37,7 @@ Description: Numeric data compression for mass spectrometry (devel files)
 
 Package: libmsnumpress1
 Architecture: any
-Depends: ${shlibs:Depends}, 
+Depends: ${shlibs:Depends},
          ${misc:Depends}
 Description: Numeric data compression for mass spectrometry (runtime)
  Implementations of two compression schemes for numeric data from mass
@@ -49,4 +49,3 @@ Description: Numeric data compression for mass spectrometry (runtime)
  arrays.
  .
  This package ships the binary shared object library.
-
diff --git a/debian/copyright b/debian/copyright
index 0022894..54a8b39 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: libmsnumpress
 Source: https://github.com/ms-numpress/ms-numpress 
 
diff --git a/debian/rules b/debian/rules
index c647880..9525464 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ phony: manpage
 manpage:
 	docbook-to-man debian/libmsnumpress.xml > debian/libmsnumpress.3
 
-# The $(CFLAGS) and $(LDFLAGS) are required below to account 
+# The $(CFLAGS) and $(LDFLAGS) are required below to account
 # for the hardening flags as set above.
 override_dh_auto_build: manpage
 	cd src/main/cpp && $(CXX) $(CFLAGS) -shared -fPIC -g -c MSNumpress.cpp -o MSNumpress.o && \
@@ -36,4 +36,3 @@ override_dh_auto_build: manpage
 	find debian/build/doxygen/html -name "*.map" | xargs rm -f
 
 	rm -f debian/build/doxygen/html/jquery.js
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 80bead9..4433baa 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,6 +1,10 @@
+Bug-Database: https://github.com/ms-numpress/ms-numpress/issues
+Bug-Submit: https://github.com/ms-numpress/ms-numpress/issues/new
 Reference:
-  Author: J Teleman and AW Dowsey and FF Gonzalez-Galarza and S Perkins and B Pratt and HL Röst and L Malmström and J Malmström and AR Jones and EW Deutsch and F Levander
-  Title: Numerical compression schemes for proteomics mass spectrometry data. 
+  Author: J Teleman and AW Dowsey and FF Gonzalez-Galarza and S Perkins and B Pratt
+    and HL Röst and L Malmström and J Malmström and AR Jones and EW Deutsch and F
+    Levander
+  Title: Numerical compression schemes for proteomics mass spectrometry data.
   Journal: Mol Cell Proteomics
   Year: 2014
   Volume: 13
@@ -11,4 +15,5 @@ Reference:
   URL: http://www.mcponline.org/content/13/6/1537.long
   eprint: http://www.mcponline.org/content/13/6/1537.full
 
-Repository : https://github.com/ms-numpress/ms-numpress
+Repository: https://github.com/ms-numpress/ms-numpress.git
+Repository-Browse: https://github.com/ms-numpress/ms-numpress

Run locally

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

debcheckout libmsnumpress
cd libmsnumpress
lintian-brush

More details

Full run details