Lintian Fixes - cyrus-imapd

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/cyrus-imapd lintian-fixes

Summary

  • debian/copyright: use spaces rather than tabs to start continuation lines. (tab-in-licence-text)
  • Set upstream metadata fields: Bug-Submit (from ./configure).
  • Remove obsolete fields Contact, Name from debian/upstream/metadata (already present in machine-readable debian/copyright).
  • Rely on pre-initialized dpkg-architecture variables. (debian-rules-sets-dpkg-architecture-variable)

Diff

=== modified file 'debian/copyright'
--- a/debian/copyright	2019-07-22 06:53:08 +0000
+++ b/debian/copyright	2020-01-11 21:32:01 +0000
@@ -9,15 +9,15 @@
 
 Files: tools/vzic/*
 Copyright: 2000-2001 Ximian, Inc.
-	   2003 Damon Chaplin.
+           2003 Damon Chaplin.
 License: GPL-2+
 
 Files: debian/*
 Copyright: 2002-2010 Henrique de Moraes Holschuh
-	   	     Sven Mueller
-		     Benjamin Seidenberg
-		     Farzad FARID
-		     Christoph Berg
+ 	   	     Sven Mueller
+ 		     Benjamin Seidenberg
+ 		     Farzad FARID
+ 		     Christoph Berg
            2005-2015 Ondřej Surý
 License: CMU
 

=== modified file 'debian/rules'
--- a/debian/rules	2019-02-25 05:31:08 +0000
+++ b/debian/rules	2020-01-11 21:33:15 +0000
@@ -25,8 +25,7 @@
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 export PERL_MM_OPT              = INSTALLDIRS="vendor" CCFLAGS="$(dpkg-buildflags --get CFLAGS)" LDDLFLAGS="$(dpkg-buildflags --get LDFLAGS)"
 
-DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/dpkg/architecture.mk
 
 # Extra version information to add to Cyrus IMAPd ID
 EXTRA_IDENT := Debian-$(DEB_VERSION)

=== modified file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	2019-05-09 08:17:20 +0000
+++ b/debian/upstream/metadata	2020-01-11 21:32:52 +0000
@@ -1,7 +1,6 @@
 ---
 Archive: GitHub
 Bug-Database: https://github.com/cyrusimap/cyrus-imapd/issues
-Contact: https://github.com/cyrusimap/cyrus-imapd/issues
-Name: cyrus-imapd
+Bug-Submit: https://github.com/cyrusimap/cyrus-imapd/issues
 Repository: https://github.com/cyrusimap/cyrus-imapd.git
 Repository-Browse: https://github.com/cyrusimap/cyrus-imapd

Run locally

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

debcheckout cyrus-imapd
cd cyrus-imapd
lintian-brush

More details

Full run details