lintian: r722 - in trunk: checks debian
Author: rra
Date: 2006-08-19 17:01:08 +0200 (Sat, 19 Aug 2006)
New Revision: 722
Modified:
trunk/checks/files
trunk/checks/files.desc
trunk/debian/changelog
Log:
+ [RA] Warn about files in /usr/lib/site-python. Thanks, Thomas
Viehmann and Rapha?\195?\171l Hertzog. (Closes: #372748)
Modified: trunk/checks/files
===================================================================
--- trunk/checks/files 2006-08-19 05:43:10 UTC (rev 721)
+++ trunk/checks/files 2006-08-19 15:01:08 UTC (rev 722)
@@ -457,6 +457,11 @@
tag "package-installs-python-pyc", "$file"
}
+ # ---------------- /usr/lib/site-python
+ if ($file =~ m,^usr/lib/site-python/\S,) {
+ tag "file-in-usr-lib-site-python", "$file";
+ }
+
# ---------------- pythonX.Y extensions
if ($file =~ m,^usr/lib/python\d\.\d/\S,
and not $file =~ m,^usr/lib/python\d\.\d/site-packages/,) {
Modified: trunk/checks/files.desc
===================================================================
--- trunk/checks/files.desc 2006-08-19 05:43:10 UTC (rev 721)
+++ trunk/checks/files.desc 2006-08-19 15:01:08 UTC (rev 722)
@@ -566,6 +566,15 @@
unless there is at least one architecture-dependent file
in the module.
+Tag: file-in-usr-lib-site-python
+Type: error
+Ref: Python policy 1.4
+Info: The directory /usr/lib/site-python has been deprecated as a
+ location for installing Python modules and may be dropped from Python's
+ module search path in a future version. Most likely this module is a
+ private module and should be packaged in a directory outside of Python's
+ default search path.
+
Tag: package-installs-python-pyc
Type: warning
Info: Compiled python source files should not be included in the package.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-08-19 05:43:10 UTC (rev 721)
+++ trunk/debian/changelog 2006-08-19 15:01:08 UTC (rev 722)
@@ -33,6 +33,8 @@
+ [RA] Provide a better explanation of why Debian packages shouldn't
ship files in /srv. (Closes: #379176)
+ [RA] Warn about files installed into /etc/gconf/schemas.
+ + [RA] Warn about files in /usr/lib/site-python. Thanks, Thomas
+ Viehmann and Raphaël Hertzog. (Closes: #372748)
* checks/manpages{.desc,}:
+ [RA] Warn about manpage short descriptions of the form "manual page
for program" (usually generated by help2man).
@@ -96,7 +98,7 @@
* man/lintian-info.1:
+ [RA] Document the new -t or --tags option.
- -- Russ Allbery <rra@debian.org> Fri, 18 Aug 2006 22:41:30 -0700
+ -- Russ Allbery <rra@debian.org> Sat, 19 Aug 2006 07:58:36 -0700
lintian (1.23.22) unstable; urgency=low
Reply to: