This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian.
commit 33e013b3330b2f330e406d7b8fd130912686fca2 Author: Chris Lamb <la...@debian.org> Date: Mon Jan 29 22:25:17 2018 +0000 Rewrite missing-field-in-dep5-copyright to use List::MoreUtils. --- checks/source-copyright.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm index 8bbbf5a..bb1f64c 100644 --- a/checks/source-copyright.pm +++ b/checks/source-copyright.pm @@ -272,12 +272,10 @@ sub _parse_dep5 { } } check_files_excluded($info, $first_para->{'files-excluded'} // ''); - if ( not defined $first_para->{'format'} - and not defined $first_para->{'format-specification'}){ - tag 'missing-field-in-dep5-copyright', 'format', - "(line $lines[0]{'format'})"; - } + tag 'missing-field-in-dep5-copyright', 'format', + "(line $lines[0]{'format'})" + if none { defined $first_para->{$_} } qw(format format-specification); tag 'missing-explanation-for-contrib-or-non-free-package' if $info->source_field('section') =~ m{^(contrib|non-free)(/.+)?$} and none { defined $first_para->{$_} } qw(comment disclaimer); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git