[SCM] Debian package checker branch, master, updated. 2.2.6-29-g8083cda
The following commit has been merged in the master branch:
commit 8083cda131e14228aa0ace46f1209c1f4c0945e5
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Tue Mar 3 21:21:08 2009 +0000
Use Lintian::Relation instead of Dep in checks/files
diff --git a/checks/files b/checks/files
index 103bd05..6233cf1 100644
--- a/checks/files
+++ b/checks/files
@@ -20,10 +20,10 @@
package Lintian::files;
use strict;
-use Dep;
use Tags;
use Util;
use Lintian::Data;
+use Lintian::Relation;
our $FONT_PACKAGES;
@@ -336,9 +336,9 @@ foreach my $file (sort keys %{$info->index}) {
if (defined $info->field('pre-depends')) {
$pre_depends = $info->field('pre-depends');
}
- $pre_depends = Dep::parse($pre_depends);
+ $pre_depends = Lintian::Relation->new($pre_depends);
tag "file-in-usr-something-x11-without-pre-depends", "$file"
- unless Dep::implies($pre_depends, Dep::parse('x11-common (>= 1:7.0.0)'));
+ unless $pre_depends->implies('x11-common (>= 1:7.0.0)');
# Always set this so that we don't redo the check, even if we
# didn't warn. If the first instance didn't warn, none will.
diff --git a/debian/changelog b/debian/changelog
index 60de861..113d989 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,7 @@ lintian (2.2.7) UNRELEASED; urgency=low
font packages if needed. Patch from Raphael Geissert.
+ [RA] Warn about yui-*.js as well as yahoo-*.js. Patch from Raphael
Geissert.
+ + [ADB] Use Lintian::Relation instead of Dep.
* checks/huge-usr-share:
+ [RA] Simplify architecture checking code and be robust against
whitespace in the field.
--
Debian package checker
Reply to: