Package: lintian
Version: 2.5.2
Severity: wishlist
Tags: patch

With the attached patch lintian is able to detect spelling mistakes in Debian QA Group e-mail address:

$ lintian -C fields jrexx_1.1.1-6.dsc
E: jrexx source: wrong-debian-qa-address-set-as-maintainer Debian QA Group 
<[email protected]>

--
Jakub Wilk
diff --git a/lib/Lintian/Check.pm b/lib/Lintian/Check.pm
--- a/lib/Lintian/Check.pm
+++ b/lib/Lintian/Check.pm
@@ -170,7 +170,8 @@
 
 	# Some additional checks that we only do for maintainer fields.
 	if ($field eq 'maintainer') {
-            if ($mail eq '[email protected]') {
+            if (($mail eq '[email protected]') or
+                ($name =~ /\bdebian\s+qa\b/i and $mail ne '[email protected]')) {
                 tag 'wrong-debian-qa-address-set-as-maintainer', $maintainer;
             } elsif ($mail eq '[email protected]') {
                 tag 'wrong-debian-qa-group-name', $maintainer

Reply via email to