lintian: r1351 - in trunk: checks debian
Author: rra
Date: 2008-06-07 02:19:29 +0200 (Sat, 07 Jun 2008)
New Revision: 1351
Modified:
trunk/checks/fields
trunk/debian/changelog
Log:
+ [RA] When checking whether a debug package has proper dependencies,
allow a dependency on any package name that starts the same as the
debug package up to the first dash. This will hopefully produce
fewer false positives. Thanks, Josselin Mouette. (Closes: #476587)
Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields 2008-06-07 00:16:47 UTC (rev 1350)
+++ trunk/checks/fields 2008-06-07 00:19:29 UTC (rev 1351)
@@ -422,7 +422,7 @@
my (%deps, %fields, %parsed);
my $debugpackage = 0;
my ($debugbase, $debugfound);
- if ($pkg =~ /^(.*)-dbg$/) {
+ if ($pkg =~ /^([^-]+)(?:-.*)?-dbg$/) {
$debugpackage = 1;
$debugbase = $1;
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-06-07 00:16:47 UTC (rev 1350)
+++ trunk/debian/changelog 2008-06-07 00:19:29 UTC (rev 1351)
@@ -23,6 +23,10 @@
a version. Check that Breaks is not inconsistent with other
dependency fields.
+ [RA] Use Lintian::Data to load the obsolete package list.
+ + [RA] When checking whether a debug package has proper dependencies,
+ allow a dependency on any package name that starts the same as the
+ debug package up to the first dash. This will hopefully produce
+ fewer false positives. Thanks, Josselin Mouette. (Closes: #476587)
* checks/filenames{.desc,}:
+ [RA] Warn about BTS data directories in packages (.be and
.ditrack). Patch by Ben Finney. (Closes: #481787)
Reply to: