[lintian] 01/01: perltidy has changed in sid, so run against all files.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit e4f44f5bbe17338e8420ee49d461f310fc08332d
Author: Chris Lamb <lamby@debian.org>
Date: Thu Oct 26 07:59:25 2017 +0100
perltidy has changed in sid, so run against all files.
---
checks/control-file.pm | 8 +++++---
checks/fields.pm | 3 ++-
checks/init.d.pm | 6 ++++--
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/checks/control-file.pm b/checks/control-file.pm
index 3a27e96..c60762e 100644
--- a/checks/control-file.pm
+++ b/checks/control-file.pm
@@ -102,7 +102,7 @@ sub run {
tag 'xc-package-type-in-debian-control', "line $.";
}
if (/^(\S+):$/) {
- tag 'debian-control-has-empty-field', "$1 (line $.)"
+ tag 'debian-control-has-empty-field', "$1 (line $.)";
}
unless (/^\S+: \S/ || /^\S+:$/) {
tag 'debian-control-has-unusual-field-spacing', "line $.";
@@ -133,8 +133,10 @@ sub run {
foreach my $bin (@package_names) {
my $bfields = $info->binary_field($bin);
tag 'build-info-in-binary-control-file-section', "Package $bin"
- if (first { $bfields->{"build-$_"} }
- qw(depends depends-indep conflicts conflicts-indep));
+ if (
+ first { $bfields->{"build-$_"} }
+ qw(depends depends-indep conflicts conflicts-indep)
+ );
foreach my $field (keys %$bfields) {
tag 'binary-control-field-duplicates-source',
"field \"$field\" in package $bin"
diff --git a/checks/fields.pm b/checks/fields.pm
index 39fc18f..b90e205 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -762,7 +762,8 @@ sub run {
if ($field eq 'conflicts' && $d_version->[0]);
tag 'obsolete-relation-form', "$field: $part_d_orig"
- if ($d_version && any { $d_version->[0] eq $_ }
+ if (
+ $d_version && any { $d_version->[0] eq $_ }
('<', '>'));
tag 'bad-version-in-relation', "$field: $part_d_orig"
diff --git a/checks/init.d.pm b/checks/init.d.pm
index 9b13c1d..4c90c2e 100644
--- a/checks/init.d.pm
+++ b/checks/init.d.pm
@@ -436,8 +436,10 @@ sub check_init {
if (defined $lsb{'default-stop'} && length($lsb{'default-stop'})) {
my @required = split(' ', $lsb{'required-stop'} || '');
if ($needs_fs) {
- if (none { /^(?:\$(?:local|remote)_fs|\$all|umountn?fs)\z/ }
- @required) {
+ if (
+ none { /^(?:\$(?:local|remote)_fs|\$all|umountn?fs)\z/ }
+ @required
+ ) {
tag 'init.d-script-missing-dependency-on-local_fs',
"${initd_path}: required-stop";
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: