[SCM] Debian package checker branch, master, updated. 2.1.3-9-g1bd2c3a
The following commit has been merged in the master branch:
commit 7c9337d5f1d2a0d991f941a5cef40108d4539cba
Author: Russ Allbery <rra@debian.org>
Date: Sun Dec 28 19:59:47 2008 -0800
Fix whitespace consistency in checks/rules
Expand tabs in code added to checks/rules to be consistent with the rest
of the file and add Emacs and vim settings to keep future consistency.
diff --git a/checks/rules b/checks/rules
index 72ed9dc..04ee5de 100644
--- a/checks/rules
+++ b/checks/rules
@@ -162,8 +162,8 @@ close RULES;
unless ($includes) {
# Make sure all the required rules were seen.
for my $target (sort keys %required) {
- tag "debian-rules-missing-required-target", $target
- unless $seen{$target};
+ tag "debian-rules-missing-required-target", $target
+ unless $seen{$target};
}
}
@@ -172,15 +172,19 @@ $rules_per_target{'binary-arch'} ||= [];
if ($architecture eq "all" && scalar @{$rules_per_target{'binary-arch'}}) {
my $nonempty = 0;
foreach (@{$rules_per_target{'binary-arch'}}) {
- # dh binary-arch is actually a no-op if there is no
- # Architecture: any package in the control file
- unless (m/^\s*dh\s+(?:binary-arch|\$\@)/) {
- $nonempty = 1;
- }
+ # dh binary-arch is actually a no-op if there is no
+ # Architecture: any package in the control file
+ unless (m/^\s*dh\s+(?:binary-arch|\$\@)/) {
+ $nonempty = 1;
+ }
}
tag "binary-arch-rules-but-pkg-is-arch-indep" if $nonempty;
}
}
1;
-# vim: syntax=perl ts=8 sw=4
+# Local Variables:
+# indent-tabs-mode: nil
+# cperl-indent-level: 4
+# End:
+# vim: syntax=perl sw=4 sts=4 ts=4 et shiftround
--
Debian package checker
Reply to: