Lintian Fixes - aspectc++

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 7927079..d39fee9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+aspectc++ (1:2.2+git20200405-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Use canonical URL in Vcs-Git.
+  * Rely on pre-initialized dpkg-architecture variables.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 04 Jun 2020 12:14:31 -0000
+
 aspectc++ (1:2.2+git20200405-1) unstable; urgency=medium
 
   * New upstream version 2.2+git20200405
@@ -438,4 +450,3 @@ aspectc++ (0.99+1.0pre1-1) unstable; urgency=low
   * move aspectc++ binaries to /usr/lib/aspectc++
 
  -- Reinhard Tartler <siretart@tauware.de>  Wed, 21 Dec 2005 11:52:30 +0100
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index c105539..617198c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: aspectc++
 Section: devel
 Priority: optional
 Maintainer: Reinhard Tartler <siretart@tauware.de>
-Build-Depends: debhelper (>= 10), pkg-config, libxml2-dev, docbook-to-man, zlib1g-dev, libedit-dev, llvm-9-dev, libclang-9-dev
+Build-Depends: debhelper-compat (= 12), pkg-config, libxml2-dev, docbook-to-man, zlib1g-dev, libedit-dev, llvm-9-dev, libclang-9-dev
 Build-Depends-Indep: doxygen, graphviz, gsfonts
-Standards-Version: 4.4.1
-Homepage: http://www.aspectc.org
-Vcs-Git: https://salsa.debian.org/debian/aspectc
+Standards-Version: 4.5.0
+Homepage: https://www.aspectc.org
+Vcs-Git: https://salsa.debian.org/debian/aspectc.git
 Vcs-Browser: https://salsa.debian.org/debian/aspectc
 
 Package: aspectc++
@@ -47,4 +47,3 @@ Description: C/C++/AspectC++ Scanner and Parsers
  and/or transfor C/C++ Code.
  .
  This package ships doxygen generated documentation for Puma.
-
diff --git a/debian/rules b/debian/rules
index 90d826d..69cb168 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@ else
 	CFLAGS := -O2 -g
 endif
 
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+include /usr/share/dpkg/architecture.mk
 ifneq  (,$(filter $(DEB_BUILD_ARCH),armel armhf))
 # fatal: Caught standard exception: deque::_M_new_elements_at_back
 	CFLAGS := -O1 -g

Run locally

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

debcheckout aspectc++
cd aspectc++
lintian-brush

More details

Full run details