lintian: r1182 - in trunk: debian lib testset/binary/debian
Author: rra
Date: 2008-02-07 03:40:29 +0100 (Thu, 07 Feb 2008)
New Revision: 1182
Modified:
trunk/debian/changelog
trunk/lib/Spelling.pm
trunk/testset/binary/debian/README.Debian
Log:
* lib/Spelling.pm:
+ [RA] Don't strip hyphens before checking spelling. Move all D-Bus
corrections to the picky list since the correction is too confusing
even if accurate without capitalization. Thanks, Nelson A. de
Oliveira. (Closes: #464461)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-02-06 06:32:43 UTC (rev 1181)
+++ trunk/debian/changelog 2008-02-07 02:40:29 UTC (rev 1182)
@@ -1,3 +1,13 @@
+lintian (1.23.44) UNRELEASED; urgency=low
+
+ * lib/Spelling.pm:
+ + [RA] Don't strip hyphens before checking spelling. Move all D-Bus
+ corrections to the picky list since the correction is too confusing
+ even if accurate without capitalization. Thanks, Nelson A. de
+ Oliveira. (Closes: #464461)
+
+ -- Russ Allbery <rra@debian.org> Wed, 06 Feb 2008 18:34:36 -0800
+
lintian (1.23.43) unstable; urgency=low
The "37 bug fixes is enough for one release" release.
Modified: trunk/lib/Spelling.pm
===================================================================
--- trunk/lib/Spelling.pm 2008-02-06 06:32:43 UTC (rev 1181)
+++ trunk/lib/Spelling.pm 2008-02-07 02:40:29 UTC (rev 1182)
@@ -106,7 +106,6 @@
convertor converter
convinient convenient
cryptocraphic cryptographic
- dbus D-Bus
deamon daemon
debain Debian
debians Debian\'s
@@ -321,6 +320,7 @@
our %CORRECTIONS_CASE = qw(
D-BUS D-Bus
d-bus D-Bus
+ dbus D-Bus
debian Debian
english English
french French
@@ -408,7 +408,7 @@
#
# FIXME: Should do something that's aware of Unicode character
# classes rather than only handling ISO 8859-15 characters.
- $word =~ s/(^\')|[^\w\xc0-\xd6\xd8-\xf6\xf8-\xff\']+|(\'\z)//g;
+ $word =~ s/(^\')|[^\w\xc0-\xd6\xd8-\xf6\xf8-\xff\'-]+|(\'\z)//g;
if (exists $CORRECTIONS{$word}) {
_tag($tag, $filename, $word, $CORRECTIONS{$word});
}
Modified: trunk/testset/binary/debian/README.Debian
===================================================================
--- trunk/testset/binary/debian/README.Debian 2008-02-06 06:32:43 UTC (rev 1181)
+++ trunk/testset/binary/debian/README.Debian 2008-02-07 02:40:29 UTC (rev 1182)
@@ -1 +1,5 @@
this is a binary package to test lintian's handling of bins.
+Check handling of D-Bus and dbus (neither of which should produce
+warnings).
+
+ -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800
Reply to: