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

[SCM] Debian package checker branch, master, updated. 2.2.14-4-g04ab26c



The following commit has been merged in the master branch:
commit de0768e7accc7d0afdba6ddc9251cfe629f97bb0
Author: Russ Allbery <rra@debian.org>
Date:   Thu Aug 27 23:11:32 2009 -0700

    Exclude base-files's dependency on awk from another tag
    
    virtual-package-depends-without-real-package-depends also doesn't apply
    to the base-files dependency on awk.

diff --git a/checks/fields b/checks/fields
index fa3fdbf..b00f93b 100644
--- a/checks/fields
+++ b/checks/fields
@@ -515,7 +515,8 @@ if (($type eq "binary") || ($type eq 'udeb')) {
 				# Only for (Pre-)?Depends.
 				tag "virtual-package-depends-without-real-package-depends", "$field: $alternatives[0]->[0]"
 				    if ($VIRTUAL_PACKAGES->known($alternatives[0]->[0])
-					&& ($field eq "depends" || $field eq "pre-depends"));
+					&& ($field eq "depends" || $field eq "pre-depends")
+					&& ($pkg ne 'base-files' || $alternatives[0]->[0] ne 'awk'));
 
                                 # Check defaults for transitions.  Here, we only care that the first alternative is current.
                                 tag "depends-on-old-emacs", "$field: $alternatives[0]->[0]"
diff --git a/debian/changelog b/debian/changelog
index 9cf7ffc..e5d3585 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 lintian (2.2.15) UNRELEASED; urgency=low
 
   * checks/fields:
-    + [RA] Exclude base-files from the needlesly-depends-on-awk tag.
+    + [RA] Exclude base-files from the needlesly-depends-on-awk tag
+      and from the warning about depending on a virtual package without
+      a real package for the awk virtual package.
   * checks/manpages:
     + [ADB] Add HTTPS to the list of recognised protocols for URLs in manpages
       which should not cause manpage-has-errors-from-man to be emitted.

-- 
Debian package checker


Reply to: