[SCM] Debian package checker branch, master, updated. 2.0.0-16-g12e5f90
The following commit has been merged in the master branch:
commit 12e5f90158a5e80f00ca7b779813cc239b8bab47
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Tue Sep 30 21:00:39 2008 +0100
Don't trigger versioned-dependency-satisfied-by-perl for Conflicts/Replaces
* checks/fields:
+ Ignore non-dependency fields when considering whether a
versioned dependency is satisfied by the perl core packages.
Based on a patch by Niko Tyni. (Closes: #500720)
diff --git a/checks/fields b/checks/fields
index d9beaf0..70c5234 100644
--- a/checks/fields
+++ b/checks/fields
@@ -530,6 +530,7 @@ if (($type eq "binary") || ($type eq 'udeb')) {
# only trigger this for the the preferred alternative
tag "versioned-dependency-satisfied-by-perl", "$field: $part_d_orig"
if $alternatives[0][-1] eq $part_d_orig
+ && &$is_dep_field($field)
&& perl_core_has_version($d_pkg, $d_version->[0], $d_version->[1]);
tag "depends-exclusively-on-makedev", "$field",
@@ -717,6 +718,7 @@ if ($type eq "source") {
# only trigger this for the the preferred alternative
tag "versioned-dependency-satisfied-by-perl", "$field: $part_d_orig"
if $alternatives[0][-1] eq $part_d_orig
+ && &$is_dep_field($field)
&& perl_core_has_version($d_pkg, $d_version->[0], $d_version->[1]);
}
diff --git a/debian/changelog b/debian/changelog
index e834338..d3221d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,10 @@ lintian (2.1.0) unstable; urgency=low
+ [FL] Knew variable $known_shells_regex which matches known shell
names. This removes some synchronisation issues between the
different regexes in use.
+ * checks/fields:
+ + [ADB] Ignore non-dependency fields when considering whether a
+ versioned dependency is satisfied by the perl core packages.
+ Based on a patch by Niko Tyni. (Closes: #500720)
* checks/infofiles:
+ [FL] Use $known_shells_regex from common_data.
* checks/menus:
--
Debian package checker
Reply to: