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

lintian: r651 - in trunk: checks debian



Author: rra
Date: 2006-05-01 04:40:12 +0200 (Mon, 01 May 2006)
New Revision: 651

Modified:
   trunk/checks/fields
   trunk/checks/fields.desc
   trunk/debian/changelog
Log:
* checks/fields{.desc,}:
  + [RA] Report errors for dependencies on python-minimal.  Thanks to
    Steve Langasek for the analysis.

Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2006-05-01 02:13:35 UTC (rev 650)
+++ trunk/checks/fields	2006-05-01 02:40:12 UTC (rev 651)
@@ -393,6 +393,9 @@
 					tag "depends-on-libdb1-compat", "$field"
 					    if ($d_pkg eq "libdb1-compat" && $pkg !~ /^libc(6|6.1|0.3)/ && $field =~ /^(pre-)depends$/);
 
+					tag "depends-on-python-minimal", "$field",
+					    if ($d_pkg eq "python-minimal" && &$is_dep_field($field));
+
 					tag "doc-package-depends-on-main-package", "$field"
 					    if ("$d_pkg-doc" eq $pkg && $field =~ /^(pre-)depends$/);
 				}

Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc	2006-05-01 02:13:35 UTC (rev 650)
+++ trunk/checks/fields.desc	2006-05-01 02:40:12 UTC (rev 651)
@@ -548,6 +548,14 @@
  glibc 2.0 or 2.1. There is intentionally no corresponding development
  package. Do not link new applications against this library!
 
+Tag: depends-on-python-minimal
+Type: error
+Info: The python-minimal package exists only to possibly become an
+ Essential package.  Depending on it is always an error since it should
+ never be installed without python.  If it becomes Essential, there is no
+ need to depend on it, and until then, packages that require Python must
+ depend on python.
+
 Tag: conflicts-with-dependency
 Type: error
 Ref: 7.3

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-05-01 02:13:35 UTC (rev 650)
+++ trunk/debian/changelog	2006-05-01 02:40:12 UTC (rev 651)
@@ -1,8 +1,10 @@
 lintian (1.23.20) unstable; urgency=low
 
-  * checks/fields:
+  * checks/fields{.desc,}:
     + [RA] xfonts-encodings is also not an xfont package.  Thanks, Drew
       Parsons.  (Closes: #365503)
+    + [RA] Report errors for dependencies on python-minimal.  Thanks to
+      Steve Langasek for the analysis.
   * checks/files{.desc,}:
     + [RA] Add an explicit check for non-world-readable executables to
       provide a more detailed explanation and tighten the accepted
@@ -15,7 +17,7 @@
     + [RA] Report a more specific tag for binaries that are owned by group
       games but are not setgid.
 
- -- Russ Allbery <rra@debian.org>  Sun, 30 Apr 2006 19:10:52 -0700
+ -- Russ Allbery <rra@debian.org>  Sun, 30 Apr 2006 19:39:56 -0700
 
 lintian (1.23.19) unstable; urgency=low
 



Reply to: