lintian: r1278 - in trunk: checks debian
Author: rra
Date: 2008-04-22 00:19:03 +0200 (Tue, 22 Apr 2008)
New Revision: 1278
Modified:
trunk/checks/files
trunk/debian/changelog
Log:
+ [RA] Ignore extra license files in examples subdirectories of
/usr/share/doc. Thanks, Daniel Jacobowitz. (Closes: #476149)
Modified: trunk/checks/files
===================================================================
--- trunk/checks/files 2008-04-21 22:15:42 UTC (rev 1277)
+++ trunk/checks/files 2008-04-21 22:19:03 UTC (rev 1278)
@@ -593,10 +593,14 @@
# DTD files are excluded at the request of the Mozilla suite
# maintainers. Zope products include license files for runtime
# display. underXXXlicense.docbook files are from KDE.
+ #
+ # Ignore extra license files in examples, since various package
+ # building software includes example packages with licenses.
and not $file =~ m/\.(el|c|h|py|cc|pl|pm|html|php|rb|xpm|png|jpe?g|gif|svg|dtd)$/
and not $file =~ m,^usr/share/zope/Products/.*\.(dtml|pt|cpt)$,
and not $file =~ m,/under\S+License\.docbook$,
and not $file =~ m,^(usr/)?s?bin/,
+ and not $file =~ m,^usr/share/doc/[^/]+/examples/,
and not defined $link) {
tag "extra-license-file", "$file";
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-21 22:15:42 UTC (rev 1277)
+++ trunk/debian/changelog 2008-04-21 22:19:03 UTC (rev 1278)
@@ -40,6 +40,8 @@
+ [FL] Don't complain about empty directories under
/usr/share/python-support since those might be needed. Thanks,
Josselin Mouette. (Closes: #473428)
+ + [RA] Ignore extra license files in examples subdirectories of
+ /usr/share/doc. Thanks, Daniel Jacobowitz. (Closes: #476149)
* checks/nmu{.desc,}:
+ [RA] Add support for +nmuX versioning for NMUs of native packages.
Patch from James Vega. (Closes: #475026)
Reply to: