Run of lintian-fixes for chemical-structures

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

debcheckout chemical-structures
cd chemical-structures
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index cf8e8eb..9b29d12 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+chemical-structures (2.2.dfsg.0-16) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 03 Jul 2020 22:57:55 -0000
+
 chemical-structures (2.2.dfsg.0-15) unstable; urgency=medium
 
   * fixed a lot of details which were idioms of python2 to comply with
@@ -108,7 +117,7 @@ chemical-structures (2.2.dfsg.0-3) unstable; urgency=low
 
 chemical-structures (2.2.dfsg.0-2) unstable; urgency=low
 
-  * updated the files pt.po, thanks to Américo Monteiro, fr.po, 
+  * updated the files pt.po, thanks to Américo Monteiro, fr.po,
     thanks to Christian Perrier, de.po, thanks to Martin Eberhard Schauer,
     Closes: #620085, #620169, #621731
 
@@ -132,10 +141,10 @@ chemical-structures (2.1.dfsg.1-9) unstable; urgency=low
 
   * added the Itialian translation for debconf, thanks to Vincenzo Campanella
   * updated the Portuguese translation for debconf, thanks to Américo Monteiro
-    Closes: #602761 
+    Closes: #602761
   * repeated Closes stances as multiple targets did not seem to work
     previoulsy:
-    Closes: #601452 
+    Closes: #601452
     Closes: #601722
     Closes: #602615
   * integrated Martin Bagge's sv.po file. Closes: Bug#602796
@@ -237,7 +246,7 @@ chemical-structures (2.0.dfsg.1-1) unstable; urgency=low
 
 chemical-structures (2.0-2) unstable; urgency=low
 
-  * added a chemical format converter option to the pages containing the 
+  * added a chemical format converter option to the pages containing the
     molecules
   * added a CGI script to convert the molecules
   * added configuration scripts to configure the webserver
@@ -275,4 +284,3 @@ chemical-structures (0.8-1) unstable; urgency=low
   * Initial release
 
  -- Georges Khaznadar <georgesk@ofset.org>  Wed, 21 Jun 2006 09:21:45 +0200
-
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 6c017b0..d13f822 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,9 @@ Source: chemical-structures
 Section: science
 Priority: optional
 Maintainer: Georges Khaznadar <georgesk@debian.org>
-Build-Depends: debhelper (>= 11), python3, po-debconf, cmake, openbabel
+Build-Depends: debhelper-compat (= 12), python3, po-debconf, cmake, openbabel
 Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
-Standards-Version: 4.3.0
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/science-team/chemical-structures
 Vcs-Git: https://salsa.debian.org/science-team/chemical-structures.git
 
@@ -18,4 +18,3 @@ Description: set of molecular structures in open formats
  aldehydes, alkanes, alkenes, amides, amines, amino_acids, aromatics,
  carboxylic_acids, esters, ethers, fatty_acids, haloalkanes, ketones,
  nitriles,nucleobases, water.
-
diff --git a/debian/rules b/debian/rules
index 853431f..05ab88f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ DB2MAN  = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 XP      = xsltproc --nonet
 
 %:
-	dh  $@
+	dh $@ 
 
 override_dh_auto_clean:
 	find . -name *.pyc | xargs rm -f
@@ -40,4 +40,3 @@ override_dh_auto_install:
 	install -m 644 apache.conf $(DESTDIR)/etc/apache2/conf-available/chemical-structures.conf
 	rm -f $(DESTDIR)/usr/share/chemical-structures/jmol/LICENSE.txt
 	sh removeMolTimestamp $(DESTDIR)/usr/share/chemical-structures
-

Full worker log Full build log