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

lintian: r822 - in trunk: checks debian testset



Author: rra
Date: 2007-02-27 08:15:26 +0100 (Tue, 27 Feb 2007)
New Revision: 822

Modified:
   trunk/checks/fields
   trunk/checks/fields.desc
   trunk/debian/changelog
   trunk/testset/tags.cdbs-test
Log:
* checks/fields{.desc,}:
  + [RA] Rename build-depends-indep-should-be-build-depends to
    clean-should-be-satisfied-by-build-depends to make the reason for
    the message clearer without running lintian -i.  Thanks to Osamu
    Aoki for the suggestion.  (Closes: #405840)

Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2007-02-27 06:32:11 UTC (rev 821)
+++ trunk/checks/fields	2007-02-27 07:15:26 UTC (rev 822)
@@ -671,7 +671,7 @@
 		my $tag = $needed_clean{$package} || 'missing-build-dependency';
 		unless (Dep::implies($depend{'build-depends'}, $dep)) {
 			if (Dep::implies($depend{'build-depends-indep'}, $dep)) {
-				tag "build-depends-indep-should-be-build-depends", $package;
+				tag "clean-should-be-satisfied-by-build-depends", $package;
 			} else {
 				tag $tag, $package if $package ne 'debhelper';
 			}

Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc	2007-02-27 06:32:11 UTC (rev 821)
+++ trunk/checks/fields.desc	2007-02-27 07:15:26 UTC (rev 822)
@@ -471,12 +471,13 @@
  debhelper if you use dh_clean). Other build dependencies should be listed
  in Build-Depends-Indep instead.
 
-Tag: build-depends-indep-should-be-build-depends
+Tag: clean-should-be-satisfied-by-build-depends
 Type: error
 Ref: policy 7.6
 Info: The specified package is required to run the clean target of
- <tt>debian/rules</tt> and therefore must be listed in Build-Depends, even
- if no architecture-dependent packages are built.
+ <tt>debian/rules</tt> and therefore must be listed in Build-Depends, not
+ Build-Depends-Indep, even if no architecture-dependent packages are
+ built.
 
 Tag: missing-build-dependency
 Type: error

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-02-27 06:32:11 UTC (rev 821)
+++ trunk/debian/changelog	2007-02-27 07:15:26 UTC (rev 822)
@@ -12,10 +12,14 @@
   * checks/debhelper.desc:
     + [RA] Use consistent file naming when diagnosing possibly conflicting
       debhelper compat settings.  Thanks, Jari Aalto.  (Closes: #409122)
-  * checks/fields:
+  * checks/fields{.desc,}:
     + [RA] Add an exception to maintainer-not-full-name for Wookey and a
       comment to consider removing the check if we get more false
       positives.  Thanks, Neil Williams.  (Closes: #406731)
+    + [RA] Rename build-depends-indep-should-be-build-depends to
+      clean-should-be-satisfied-by-build-depends to make the reason for
+      the message clearer without running lintian -i.  Thanks to Osamu
+      Aoki for the suggestion.  (Closes: #405840)
   * checks/menus:
     + [JA] Perl syntax corrections.  Removed extra empty newlines.
   * checks/lintian.desc:

Modified: trunk/testset/tags.cdbs-test
===================================================================
--- trunk/testset/tags.cdbs-test	2007-02-27 06:32:11 UTC (rev 821)
+++ trunk/testset/tags.cdbs-test	2007-02-27 07:15:26 UTC (rev 822)
@@ -1,4 +1,4 @@
-E: cdbs-test source: build-depends-indep-should-be-build-depends debhelper
+E: cdbs-test source: clean-should-be-satisfied-by-build-depends debhelper
 E: cdbs-test source: missing-build-dependency python | python-dev | python-all-dev
 E: cdbs-test source: package-lacks-versioned-build-depends-on-debhelper 5
 I: cdbs-test source: build-depends-without-arch-dep yada



Reply to: