lintian: r802 - in trunk: checks testset
Author: jaalto
Date: 2007-01-30 07:54:46 +0100 (Tue, 30 Jan 2007)
New Revision: 802
Modified:
trunk/checks/copyright-file
trunk/checks/copyright-file.desc
trunk/testset/tags.relations
Log:
* checks/copyright-file
checks/copyright-file.desc
testset/tags.relations
+ [JA] Update usr-doc-* test to report user-share-doc-* instead.
New tests added: postinst-should-not-set-usr-doc-link,
doc-base-file-references-usr-doc.
Applied patch to implement these by Thijs Kinkhorst (Closes #406349).
Modified: trunk/checks/copyright-file
===================================================================
--- trunk/checks/copyright-file 2007-01-30 06:35:52 UTC (rev 801)
+++ trunk/checks/copyright-file 2007-01-30 06:54:46 UTC (rev 802)
@@ -73,7 +73,7 @@
# check if this symlink references a directory elsewhere
if ($link =~ m,^(\.\.)?/,) {
- tag "usr-doc-symlink-points-outside-of-usr-doc", "$link";
+ tag "usr-share-doc-symlink-points-outside-of-usr-share-doc", "$link";
last;
}
@@ -96,7 +96,7 @@
defined($known_essential{$link}))) {
# no, it does not.
- tag "usr-doc-symlink-without-dependency", "$link";
+ tag "usr-share-doc-symlink-without-dependency", "$link";
last;
}
}
@@ -110,10 +110,10 @@
# yes, everything is ok.
} else {
# no, it is not.
- tag "usr-doc-symlink-to-foreign-package", "$link";
+ tag "usr-share-doc-symlink-to-foreign-package", "$link";
}
} else { # no, source is not available
- tag "cannot-check-whether-usr-doc-symlink-points-to-foreign-package", "";
+ tag "cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package", "";
}
# everything is ok.
Modified: trunk/checks/copyright-file.desc
===================================================================
--- trunk/checks/copyright-file.desc 2007-01-30 06:35:52 UTC (rev 801)
+++ trunk/checks/copyright-file.desc 2007-01-30 06:54:46 UTC (rev 802)
@@ -46,7 +46,7 @@
<tt>/usr/share/common-licenses/GPL</tt> instead.
Ref: policy 12.5
-Tag: usr-doc-symlink-without-dependency
+Tag: usr-share-doc-symlink-without-dependency
Type: error
Info: If the package installs a symbolic link /usr/share/doc/<i>pkg1</i> ->
<i>pkg2</i>, then <i>pkg1</i> has to depend on <i>pkg2</i> with the same
@@ -57,7 +57,7 @@
directory within <i>pkg1</i> and copy the copyright file into that directory.
Ref: policy 12.5
-Tag: usr-doc-symlink-to-foreign-package
+Tag: usr-share-doc-symlink-to-foreign-package
Type: error
Info: If the package installs a symbolic link /usr/share/doc/<i>pkg1</i> ->
<i>pkg2</i>, then <i>pkg1</i> and <i>pkg2</i> must both come from the same
@@ -67,7 +67,7 @@
within <i>pkg1</i> and copy the copyright file to that directory.
Ref: policy 12.5
-Tag: cannot-check-whether-usr-doc-symlink-points-to-foreign-package
+Tag: cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package
Type: info
Info: There is a symlink /usr/share/doc/<i>pkg1</i> -> <i>pkg2</i>
in your package. This means that <i>pkg1</i> and <i>pkg2</i> must
@@ -103,7 +103,7 @@
file. Please update the reference (the licenses are installed
uncompressed).
-Tag: usr-doc-symlink-points-outside-of-usr-doc
+Tag: usr-share-doc-symlink-points-outside-of-usr-share-doc
Type: error
Info: The /usr/share/doc/<i>pkg</i> symbolic link is pointing to a directory
outside of <tt>/usr/share/doc</tt>.
Modified: trunk/testset/tags.relations
===================================================================
--- trunk/testset/tags.relations 2007-01-30 06:35:52 UTC (rev 801)
+++ trunk/testset/tags.relations 2007-01-30 06:54:46 UTC (rev 802)
@@ -15,7 +15,7 @@
E: relations-multiple-libs: package-depends-on-multiple-tcl-versions tcl8.0 tcl8.2
E: relations-multiple-libs: package-depends-on-multiple-tk-versions tk8.2 tk8.3
E: relations-multiple-libs: package-depends-on-multiple-tkx-versions tkx8.2 tkx8.3
-E: relations-multiple-libs: usr-doc-symlink-without-dependency relations
+E: relations-multiple-libs: usr-share-doc-symlink-without-dependency relations
E: relations: bad-version-in-relation conflicts: foobar (<< 5&5)
E: relations: conflicts-with-dependency foo
E: relations: conflicts-with-dependency relations
Reply to: