Lintian Fixes - gnucap

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 3adb63b..136bda9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+gnucap (1:0.36~20171003-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Drop unnecessary dh arguments: --parallel
+  * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 15 Apr 2020 20:57:41 +0000
+
 gnucap (1:0.36~20171003-1) unstable; urgency=medium
 
   * Split gnucap package into several packages
@@ -313,4 +323,3 @@ acs (021-1) unstable; urgency=low
 acs (019-1) Initial release for Debian
  12 Nov 1995 Andrew D. Fernandes <adfernan@cnd.mcgill.ca>
         Added Debian GNU/Linux package maintenance system files.
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index ef94660..e23b035 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,8 @@ Maintainer: Debian Electronics Team <pkg-electronics-devel@alioth-lists.debian.n
 Uploaders: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>,
            Felix Salfelder <felix@salfelder.org>
 Standards-Version: 4.1.4
-Build-Depends: debhelper (>= 11),
-               dpkg-dev (>=1.17.14),
+Build-Depends: debhelper-compat (= 11),
+               dpkg-dev (>= 1.17.14),
                gnucap:native <cross>,
                libreadline-dev
 Homepage: http://gnucap.org
diff --git a/debian/rules b/debian/rules
index c71d006..3d24894 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ SONAME = libgnucap.so.${SOVERSION}
 UPSTREAM_REPO=git://git.savannah.gnu.org/gnucap.git
 ORIG_TARBALL=../gnucap_${DEB_VERSION_UPSTREAM}.orig.tar.gz
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
@@ -67,7 +67,7 @@ override_dh_auto_build:
 	        CPPFLAGS="$(CPPFLAGS)" \
 	        CXXFLAGS="$(CXXFLAGS)"
 
-	dh_auto_build --parallel -- \
+	dh_auto_build -- \
 	            LDFLAGS="$(EXEC_LDFLAGS) $(LDFLAGS)" \
 	            CPPFLAGS="$(CPPFLAGS)" \
 	            CXXFLAGS="$(CXXFLAGS)"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..19fa554
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+Repository: https://git.sv.gnu.org/git/gnucap.git,branch=develop
+Repository-Browse: https://git.sv.gnu.org/cgit/gnucap.git,branch=develop

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package gnucap

No differences were encountered between the control files of package gnucap-common

No differences were encountered between the control files of package gnucap-default-plugins0

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

No differences were encountered between the control files of package libgnucap0

Run locally

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

debcheckout gnucap
cd gnucap
lintian-brush

More details

Full run details