[SCM] Debian package checker branch, master, updated. 2.5.2-124-gbe550e7
The following commit has been merged in the master branch:
commit be550e7b82a60548a538ed173f9490800f154eed
Author: Jakub Wilk <jwilk@debian.org>
Date: Thu Sep 8 22:12:53 2011 +0200
Catch misspellings of the "Debian QA Group" maintainer email
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/debian/changelog b/debian/changelog
index 8cca8be..6d1e12a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -200,6 +200,8 @@ lintian (2.5.3) UNRELEASED; urgency=low
* lib/Lintian/Check.pm:
+ [NT] Catch "Name <Name <Email>>" as a malformed email address.
(Closes: #640489)
+ + [JW] Catch misspellings of the "Debian QA Group" maintainer
+ email (used for orphaned packages). (Closes: #640834)
* lib/Lintian/Collect.pm:
+ [JW,NT] Create the source field from the package field if the
former is not present. This fixes a number of false-positves
diff --git a/lib/Lintian/Check.pm b/lib/Lintian/Check.pm
index 5aa58ae..4cf9424 100644
--- a/lib/Lintian/Check.pm
+++ b/lib/Lintian/Check.pm
@@ -179,7 +179,8 @@ sub check_maintainer {
# Some additional checks that we only do for maintainer fields.
if ($field eq 'maintainer') {
- if ($mail eq 'debian-qa@lists.debian.org') {
+ if (($mail eq 'debian-qa@lists.debian.org') or
+ ($name =~ /\bdebian\s+qa\b/i and $mail ne 'packages@qa.debian.org')) {
tag 'wrong-debian-qa-address-set-as-maintainer', $maintainer;
} elsif ($mail eq 'packages@qa.debian.org') {
tag 'wrong-debian-qa-group-name', $maintainer
--
Debian package checker
Reply to: