[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#730713: lintian: Detect also the typo supress



Package: lintian
Version: 2.5.17
Severity: minor

Hello,

The attached patch add supress => suppress in the list of spelling mistakes
Update the related test
Fix that typo in the source code of Lintian

Thanks


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.23.52.20130828-1
ii  bzip2                          1.0.6-5
ii  diffstat                       1.55-3
ii  file                           1:5.14-2
ii  gettext                        0.18.3.1-1
ii  hardening-includes             2.3
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.29+b1
ii  libarchive-zip-perl            1.30-7
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.34-1+b1
ii  libdpkg-perl                   1.16.10
ii  libemail-valid-perl            0.190-1
ii  libfile-basedir-perl           0.03-1
ii  libipc-run-perl                0.92-1
ii  liblist-moreutils-perl         0.33-1+b2
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtext-levenshtein-perl       0.06~01-2
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  man-db                         2.6.5-2
ii  patchutils                     0.3.2-2
ii  perl [libdigest-sha-perl]      5.18.1-3
ii  t1utils                        1.37-2

Versions of packages lintian recommends:
pn  libperlio-gzip-perl             <none>
ii  perl-modules [libautodie-perl]  5.18.1-3

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.16.10
ii  libhtml-parser-perl    3.71-1+b1
ii  libtext-template-perl  1.45-2
ii  xz-utils               5.1.1alpha+20120614-2

-- no debconf information
>From 16c0ce27466677c9d5722220976421581a72229c Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>
Date: Thu, 28 Nov 2013 16:04:38 +0100
Subject: [PATCH] Add supress => suppress in the list of spelling mistakes
 Update the related test And fix that typo in the source code of Lintian

---
 data/cruft/autotools                             | 2 +-
 data/spelling/corrections                        | 1 +
 debian/changelog                                 | 3 ++-
 doc/README.developers                            | 2 +-
 private/refresh-perl-provides                    | 2 +-
 t/tests/spelling-suffix/debian/debian/control.in | 2 ++
 t/tests/spelling-suffix/tags                     | 9 +++++----
 7 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/data/cruft/autotools b/data/cruft/autotools
index 0892138..9e70af8 100644
--- a/data/cruft/autotools
+++ b/data/cruft/autotools
@@ -1,4 +1,4 @@
-# List of packages that will supress the
+# List of packages that will suppress the
 # {ancient,outdated}-autotools-helper-file tags
 #
 
diff --git a/data/spelling/corrections b/data/spelling/corrections
index 7e30b64..1c283da 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -550,6 +550,7 @@ supportin||supporting
 suppoted||supported
 suppported||supported
 suppport||support
+supress||suppress
 surpresses||suppresses
 suspicously||suspiciously
 synax||syntax
diff --git a/debian/changelog b/debian/changelog
index 0b837e4..272c4d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,7 +24,8 @@ lintian (2.5.20) UNRELEASED; urgency=low
     + [NT] Refresh against sid.  Thanks to Nicholas Breen for the
       reminder.  (Closes: #724866)
   * data/spelling/corrections:
-    + [RG] Detect some typos of "establishment" and "contains."
+    + [RG] Detect some typos of "establishment" and "contains".
+    + [SL] Detect some typos of "suppress".
   * data/standards-version/release-dates:
     + [NT] Add release date for 3.9.5.
 
diff --git a/doc/README.developers b/doc/README.developers
index 67474f9..e575d06 100644
--- a/doc/README.developers
+++ b/doc/README.developers
@@ -102,7 +102,7 @@ most important ones:
 
 =item Emit (Tag)
 
-Tag that was not supressed and was triggered.
+Tag that was not suppressed and was triggered.
 
 =item Lab(oratory)
 
diff --git a/private/refresh-perl-provides b/private/refresh-perl-provides
index c8062dc..d4d1581 100755
--- a/private/refresh-perl-provides
+++ b/private/refresh-perl-provides
@@ -35,7 +35,7 @@ use List::MoreUtils qw(none);
 $_config->init;
 $_system = $_config->system;
 
-# supress cache building messages
+# suppress cache building messages
 $_config->{quiet} = 2;
 
 # set up the cache
diff --git a/t/tests/spelling-suffix/debian/debian/control.in b/t/tests/spelling-suffix/debian/debian/control.in
index 6c8792e..1b35475 100644
--- a/t/tests/spelling-suffix/debian/debian/control.in
+++ b/t/tests/spelling-suffix/debian/debian/control.in
@@ -19,3 +19,5 @@ Description: {$description}
    * grahically
    * lauching launching
    * pronoucement
+   * supress
+
diff --git a/t/tests/spelling-suffix/tags b/t/tests/spelling-suffix/tags
index 32f61f3..da415a7 100644
--- a/t/tests/spelling-suffix/tags
+++ b/t/tests/spelling-suffix/tags
@@ -1,4 +1,5 @@
-W: spelling-multiword: spelling-error-in-description excecutables executables
-W: spelling-multiword: spelling-error-in-description grahically graphically
-W: spelling-multiword: spelling-error-in-description lauching launching
-W: spelling-multiword: spelling-error-in-description pronoucement pronouncement
+W: spelling-suffix: spelling-error-in-description excecutables executables
+W: spelling-suffix: spelling-error-in-description grahically graphically
+W: spelling-suffix: spelling-error-in-description lauching launching
+W: spelling-suffix: spelling-error-in-description pronoucement pronouncement
+W: spelling-suffix: spelling-error-in-description supress suppress
-- 
1.8.4.rc3


Reply to: