[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.3.4-1-g37c2ee9



The following commit has been merged in the master branch:
commit 37c2ee98f50c3ee5dc9e99e80b4133f17022890e
Author: Russ Allbery <rra@debian.org>
Date:   Tue Mar 23 17:36:09 2010 -0700

    Allow unversioned dependency on diffutils
    
    * checks/fields:
      + [RA] Add an exception for diffutils for depending on an essential
        package without a version, since diff was renamed to diffutils and
        depending on diffutils effectively is a versioned dependency.
        Thanks, Santiago Vila.  (Closes: #575073)

diff --git a/checks/fields b/checks/fields
index 6f93052..9a97dfe 100644
--- a/checks/fields
+++ b/checks/fields
@@ -574,8 +574,12 @@ if (($type eq "binary") || ($type eq 'udeb')) {
 				tag "depends-on-metapackage", "$field: $part_d_orig"
 				    if ($KNOWN_METAPACKAGES->known($d_pkg) and not $metapackage and &$is_dep_field($field));
 
+				# diffutils is a special case since diff was
+				# renamed to diffutils, so a dependency on
+				# diffutils effectively is a versioned one.
 				tag "depends-on-essential-package-without-using-version", "$field: $part_d_orig"
-				    if ($KNOWN_ESSENTIAL->known($d_pkg) && ! $d_version->[0] && &$is_dep_field($field));
+				    if ($KNOWN_ESSENTIAL->known($d_pkg) && ! $d_version->[0]
+					&& &$is_dep_field($field) && $d_pkg ne 'diffutils');
 
 				tag "package-depends-on-an-x-font-package", "$field: $part_d_orig"
 				    if ($field =~ /^(pre-)?depends$/ && $d_pkg =~ /^xfont.*/ && $d_pkg ne 'xfonts-utils' && $d_pkg ne 'xfonts-encodings');
diff --git a/debian/changelog b/debian/changelog
index cf437b8..25b7ff7 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+lintian (2.3.5) UNRELEASED; urgency=low
+
+  * checks/fields:
+    + [RA] Add an exception for diffutils for depending on an essential
+      package without a version, since diff was renamed to diffutils and
+      depending on diffutils effectively is a versioned dependency.
+      Thanks, Santiago Vila.  (Closes: #575073)
+
+ -- Russ Allbery <rra@debian.org>  Tue, 23 Mar 2010 17:35:12 -0700
+
 lintian (2.3.4) unstable; urgency=low
 
   The "miscellaneous bug fix" release.

-- 
Debian package checker


Reply to: