lintian: r610 - in trunk: checks debian lib
Author: rra
Date: 2006-04-04 21:23:20 +0200 (Tue, 04 Apr 2006)
New Revision: 610
Modified:
trunk/checks/debhelper.desc
trunk/checks/fields.desc
trunk/debian/changelog
trunk/lib/Read_taginfo.pm
Log:
+ [RA] Move simple man page references from Info into Ref.
* lib/Read_taginfo.pm:
+ [RA] Add support for formatting man page references from Ref.
Modified: trunk/checks/debhelper.desc
===================================================================
--- trunk/checks/debhelper.desc 2006-04-04 18:37:01 UTC (rev 609)
+++ trunk/checks/debhelper.desc 2006-04-04 19:23:20 UTC (rev 610)
@@ -36,10 +36,11 @@
Tag: dh_testversion-is-deprecated
Type: warning
+Ref: dh_testversion(1)
Info: This package calls dh_testversion in its <tt>debian/rules</tt> file.
- As dh_testversion.1 says, dh_testversion is deprecated. Packages
- using debhelper should use versioned build dependencies to ensure
- that the correct version of debhelper is installed.
+ dh_testversion is deprecated. Packages using debhelper should use
+ versioned build dependencies to ensure that the correct version of
+ debhelper is installed.
Tag: dh_dhelp-is-deprecated
Type: warning
@@ -53,28 +54,26 @@
Tag: dh_suidregister-is-obsolete
Type: warning
+Ref: dh_suidregister(1)
Info: suidregister is obsoleted by dpkg-statoverride, so registration of
files in with dh_suidregister is unnecessary, and even harmful.
- .
- Please refer to the dh_suidregister(1) manual page for more information.
Tag: debhelper-compat-file-is-empty
Type: error
+Ref: debhelper(7)
Info: The source package has an empty debian/compat file. This is an error,
the compat level of debhelper should be in there.
- .
- Please refer to the debhelper(7) manual page for more information.
Tag: declares-possibly-conflicting-debhelper-compat-versions
Type: error
+Ref: debhelper(7)
Info: The source package declares the debhelper compatibility version
both in the debian/compat file and in the rules file. If these ever
get out of synchronisation, the package may not build as expected.
- .
- Please refer to the debhelper(7) manual page for more information.
Tag: package-uses-deprecated-debhelper-compat-version
Type: warning
+Ref: debhelper(7)
Info: The debhelper compatibility version used by this package is marked
as deprecated by the debhelper developer. You should really consider
using a newer compatibility version.
Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc 2006-04-04 18:37:01 UTC (rev 609)
+++ trunk/checks/fields.desc 2006-04-04 19:23:20 UTC (rev 610)
@@ -468,7 +468,7 @@
Tag: missing-dh_python-build-dependency
Type: error
-Ref: dh_python man page
+Ref: dh_python(1)
Info: The package runs dh_python in <tt>debian/rules</tt> but doesn't
build-depend on python. dh_python requires Python to run, so packages
using dh_python must build-depend on python, even if they don't otherwise
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-04-04 18:37:01 UTC (rev 609)
+++ trunk/debian/changelog 2006-04-04 19:23:20 UTC (rev 610)
@@ -14,6 +14,7 @@
+ [RA] When explaining the warning about deprecated debhelper
compatibility versions, mention that debhelper defaults to version 1
if not set anywhere. (Closes: #360711)
+ + [RA] Move simple man page references from Info into Ref.
* checks/fields{.desc,}:
+ [RA] Allow dpatch in Build-Depends for arch-independent packages if
it is invoked in clean, build-arch, or binary-arch.
@@ -64,10 +65,12 @@
* lib/Dep.pm:
+ [RA] Add initial support for analyzing architecture information in
dependencies instead of ignoring it.
+ * lib/Read_taginfo.pm:
+ + [RA] Add support for formatting man page references from Ref.
* lib/Util.pm:
+ [RA] Add system_env, like system but sanitizing the environment.
- -- Russ Allbery <rra@debian.org> Tue, 4 Apr 2006 02:49:20 -0700
+ -- Russ Allbery <rra@debian.org> Tue, 4 Apr 2006 12:22:01 -0700
lintian (1.23.16) unstable; urgency=low
Modified: trunk/lib/Read_taginfo.pm
===================================================================
--- trunk/lib/Read_taginfo.pm 2006-04-04 18:37:01 UTC (rev 609)
+++ trunk/lib/Read_taginfo.pm 2006-04-04 19:23:20 UTC (rev 610)
@@ -105,6 +105,8 @@
} elsif (exists $url{$man}) {
$foo[$u] = "<a href=\"$url{$man}\">$foo[$u]</a>";
}
+ } elsif ($foo[$u] =~ m,\s*([\w_-]+\(\d+\w*\))\s*$,i) {
+ $foo[$u] = "the $foo[$u] manual page";
}
}
Reply to: