lintian: rev 9 - in trunk: checks debian
Author: djpig
Date: 2004-02-01 02:41:31 +0100 (Sun, 01 Feb 2004)
New Revision: 9
Modified:
trunk/checks/debconf
trunk/debian/changelog
Log:
checks/debconf:
+ don't complain about partially-translated-question, if
Choices is only a substitution variable (Closes: #200802,#222648)
+ fix testing of dependencies to eliminate false
positives of missing-debconf-dependency (Closes: #195201)
Modified: trunk/checks/debconf
===================================================================
--- trunk/checks/debconf 2004-01-31 22:36:44 UTC (rev 8)
+++ trunk/checks/debconf 2004-02-01 01:41:31 UTC (rev 9)
@@ -113,7 +113,8 @@
print "E: $pkg $type: unknown-field-in-templates $field\n";
}
}
- if (exists $template->{choices}) {
+ if (exists $template->{choices}
+ && $template->{choices} !~ m/^\s*\$\{\w+\}\s*$/) {
foreach my $lang (sort keys %languages) {
if ($languages{$lang}{choices} xor $languages{$lang}{description}) {
print "W: $pkg $type: partially-translated-question $template->{template} $lang\n";
@@ -139,6 +140,7 @@
if (-f "fields/$field") {
open(IN, "fields/$field") or fail("Can't open fields/$field: $!");
chomp($_ = <IN>);
+ $_ =~ s/debconf-2\.0/debconf (>= 1.2.30)/go;
$_ .= ", $version" if defined $version;
push @alldeps, $_;
$dependencies{$field} = Dep::parse($_);
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-01-31 22:36:44 UTC (rev 8)
+++ trunk/debian/changelog 2004-02-01 01:41:31 UTC (rev 9)
@@ -21,6 +21,11 @@
manpage-not-compressed (Closes: #225293)
* checks/copyright-file: don't complain about missing reference to
the GPL if we already detected a wrong reference (Closes: #225837)
+ * checks/debconf:
+ + don't complain about partially-translated-question, if
+ Choices is only a substitution variable (Closes: #200802,#222648)
+ + fix testing of dependencies to eliminate false
+ positives of missing-debconf-dependency (Closes: #195201)
-- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sat, 31 Jan 2004 14:44:55 +0100
Reply to: