lintian: r678 - in trunk: checks debian testset testset/relations/debian
Author: he
Date: 2006-06-15 01:29:47 +0200 (Thu, 15 Jun 2006)
New Revision: 678
Modified:
trunk/checks/fields
trunk/checks/fields.desc
trunk/debian/changelog
trunk/testset/relations/debian/control
trunk/testset/tags.relations
Log:
checks/fields:
+ [HE] Add check for build-deps on build-essential. Yes, people do that.
Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields 2006-06-03 16:24:00 UTC (rev 677)
+++ trunk/checks/fields 2006-06-14 23:29:47 UTC (rev 678)
@@ -569,6 +569,9 @@
}
}
+ tag "build-depends-on-build-essential", $field
+ if ($d_pkg eq "build-essential");
+
tag "depends-on-build-essential-package-without-using-version", "$d_pkg [$field: $part_d_orig]"
if ($known_build_essential{$d_pkg} && ! $d_version->[1]);
Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc 2006-06-03 16:24:00 UTC (rev 677)
+++ trunk/checks/fields.desc 2006-06-14 23:29:47 UTC (rev 678)
@@ -583,3 +583,9 @@
Info: You use the Bugs field though the field value is the default
(debbugs://bugs.debian.org/). In this case the field is redundant and
should be removed.
+
+Tag: build-depends-on-build-essential
+Type: error
+Ref: 7.6
+Info: You depends on the build-essential package, which is only a meta-package
+ depending on build tools that have to be installed in all build environments.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-06-03 16:24:00 UTC (rev 677)
+++ trunk/debian/changelog 2006-06-14 23:29:47 UTC (rev 678)
@@ -9,6 +9,7 @@
+ [RA] CDBS packages that use the python-distutils class should list
Python in Build-Depends, not Build-Depends-Indep, since CDBS wants
to use it in debian/rules clean. Thanks, Jan Lübbe.
+ + [HE] Add check for build-deps on build-essential. Yes, people do that.
* checks/po-debconf:
+ [RA] Don't consider templates.in to be a stray translated template
file. Thanks, Thomas Huriaux. (Closes: #367534)
Modified: trunk/testset/relations/debian/control
===================================================================
--- trunk/testset/relations/debian/control 2006-06-03 16:24:00 UTC (rev 677)
+++ trunk/testset/relations/debian/control 2006-06-14 23:29:47 UTC (rev 678)
@@ -2,7 +2,7 @@
Section: misc
Priority: optional
Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (>> 2) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386]
-Build-Depends-Indep: make, bash, debmake
+Build-Depends-Indep: make, bash, debmake, build-essential
Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc]
Build-Conflicts-Indep: debmake [!powerpc]
Maintainer: Debian QA Group <packages@qa.debian.org>
Modified: trunk/testset/tags.relations
===================================================================
--- trunk/testset/tags.relations 2006-06-03 16:24:00 UTC (rev 677)
+++ trunk/testset/tags.relations 2006-06-14 23:29:47 UTC (rev 678)
@@ -1,5 +1,6 @@
E: relations source: build-conflicts-with-build-dependency bar [alpha test]
E: relations source: build-conflicts-with-build-dependency debmake [!powerpc]
+E: relations source: build-depends-on-build-essential build-depends-indep
E: relations source: build-depends-on-essential-package-without-using-version build-depends-indep: bash
E: relations source: build-depends-on-essential-package-without-using-version build-depends: findutils
E: relations source: build-depends-on-obsolete-package build-depends-indep: debmake
Reply to: