[SCM] Debian package checker branch, master, updated. 2.5.3-216-gad2c895
The following commit has been merged in the master branch:
commit ad2c895f2c8ac32bf425d272762c0fdfa82c1c36
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 17 12:46:12 2011 +0100
Fixed code-styles deprecated in perl 5.14
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/init.d b/checks/init.d
index f182bbe..1cb0ec1 100644
--- a/checks/init.d
+++ b/checks/init.d
@@ -413,7 +413,7 @@ sub check_init {
}
# Check syntax rules that apply to all of the keywords.
- for my $keyword qw(required-start should-start required-stop should-stop) {
+ for my $keyword (qw(required-start should-start required-stop should-stop)) {
next unless defined $lsb{$keyword};
for my $dependency (split(/\s+/, $lsb{$keyword})) {
if (defined $implied_dependencies{$dependency}) {
@@ -429,12 +429,12 @@ sub check_init {
}
# all tags included in file?
- for my $option qw(start stop restart force-reload) {
+ for my $option (qw(start stop restart force-reload)) {
$tag{$option}
or tag 'init.d-script-does-not-implement-required-option', "etc/init.d/$_ $option";
}
- for my $option qw(status) {
+ for my $option (qw(status)) {
$tag{$option}
or tag 'init.d-script-does-not-implement-optional-option', "etc/init.d/$_ $option";
}
diff --git a/collection/index b/collection/index
index 38192be..c61f610 100755
--- a/collection/index
+++ b/collection/index
@@ -194,7 +194,7 @@ sub index_src {
sub index_deb {
my (@jobs, $job);
- foreach my $file qw(index index-errors index-owner-id) {
+ foreach my $file (qw(index index-errors index-owner-id)) {
unlink $file or fail "$file: $!" if -f $file;
}
diff --git a/debian/changelog b/debian/changelog
index 3a82bb4..cc0401b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,7 @@ lintian (2.5.4) UNRELEASED; urgency=low
+ [NT] Applied patch from Peter Eisentraut to detect init.d scripts
without support for the optional "status" option.
(Closes: #647250)
+ + [NT] Fixed deprecation warning when using perl 5.14.
* checks/rules:
+ [JW] Fixed false negative "missing-build-dependency" when using
"dh --with=X" rather than "dh --with X". (Closes: #643714)
@@ -84,6 +85,7 @@ lintian (2.5.4) UNRELEASED; urgency=low
* collection/index:
+ [NT] Fixed an "uninitialized variable" warning if no tarballs were
present or the tarball is empty. (Closes: #645660, LP: #886487)
+ + [NT] Fixed deprecation warning when using perl 5.14.
* collcetion/debfiles:
+ [NT] Bail if the debian dir is a symlink.
--
Debian package checker
Reply to: