lintian: r720 - in trunk: checks debian
Author: rra
Date: 2006-08-19 07:21:59 +0200 (Sat, 19 Aug 2006)
New Revision: 720
Modified:
trunk/checks/fields
trunk/checks/fields.desc
trunk/debian/changelog
Log:
+ [RA] Warn when encountering an aspell dictionary package that isn't
arch: all. Thanks, Piotr Engelking. (Closes: #374899)
Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields 2006-08-19 04:44:06 UTC (rev 719)
+++ trunk/checks/fields 2006-08-19 05:21:59 UTC (rev 720)
@@ -187,6 +187,8 @@
if ($type eq "binary") {
tag "too-many-architectures", "" if (@archs > 1);
tag "arch-any-in-binary-pkg", "" if (grep { $_ eq "any" } @archs);
+ tag "aspell-package-not-arch-all", ""
+ if ($pkg =~ /^aspell-[a-z]{2}(-.*)?$/ && (@archs > 1 || $archs[0] ne 'all'));
}
# Used for later tests.
Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc 2006-08-19 04:44:06 UTC (rev 719)
+++ trunk/checks/fields.desc 2006-08-19 05:21:59 UTC (rev 720)
@@ -94,6 +94,14 @@
package.
Ref: policy 5.6.8
+Tag: aspell-package-not-arch-all
+Type: warning
+Info: This package appears to be an aspell dictionary package, but it is
+ not Architecture: all. The binary hashes should be built at install-time
+ by calling aspell-autobuildhash, so the contents of the package should be
+ architecture-independent.
+Ref: aspell-autobuildhash(8)
+
Tag: no-maintainer-field
Type: error
Info: The package does not have a `Maintainer:' field in its control file.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-08-19 04:44:06 UTC (rev 719)
+++ trunk/debian/changelog 2006-08-19 05:21:59 UTC (rev 720)
@@ -27,6 +27,8 @@
+ [RA] ~ is now permitted in version numbers. (Closes: #381965)
+ [RA] Catch and check dependencies correctly for debconf-updatepo run
from the clean target. Thanks, James Westby. (Closes: #380399)
+ + [RA] Warn when encountering an aspell dictionary package that isn't
+ arch: all. Thanks, Piotr Engelking. (Closes: #374899)
* checks/files{.desc,}:
+ [RA] Provide a better explanation of why Debian packages shouldn't
ship files in /srv. (Closes: #379176)
Reply to: