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

lintian: r298 - in trunk: checks debian



Author: he
Date: 2004-06-27 01:34:36 +0200 (Sun, 27 Jun 2004)
New Revision: 298

Modified:
   trunk/checks/fields
   trunk/debian/changelog
Log:
checks/fields:
  + [HE] Don't issue virtual-package-depends-without-real-package-depends 
    if this happens in Suggests. (Closes: #254367)



Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2004-06-26 23:25:35 UTC (rev 297)
+++ trunk/checks/fields	2004-06-26 23:34:36 UTC (rev 298)
@@ -275,7 +275,8 @@
 				push @seen_libpngs, $alternatives[0]->[0] if defined $known_libpngs{$alternatives[0]->[0]};
 
 				tag "virtual-package-depends-without-real-package-depends", "$field: $alternatives[0]->[0]"
-				    if ($known_virtual_packages{$alternatives[0]->[0]} && &$is_dep_field($field));
+				    if ($known_virtual_packages{$alternatives[0]->[0]} && &$is_dep_field($field)
+				        && $field ne "suggests"); #We don't wanna issue this for suggests, only for depends and recommends
 
 				for my $part_d (@alternatives) {
 					my ($d_pkg, $d_version, $d_arch, $rest, $part_d_orig) = @$part_d;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-06-26 23:25:35 UTC (rev 297)
+++ trunk/debian/changelog	2004-06-26 23:34:36 UTC (rev 298)
@@ -42,6 +42,8 @@
     + [HE] Check Build-Depends(-Indep) for virtual packages without a 
       real dependency. Fix based on patch by Steinar H. Gunderson
       <sgunderson@bigfoot.com>. (Closes: #255593)
+    + [HE] Don't issue virtual-package-depends-without-real-package-depends 
+      if this happens in Suggests. (Closes: #254367)
   * checks/huge-usr-share:
     + [FL] Skip check for packages that don't have usr/share at all
       (Closes: #247708)



Reply to: