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

lintian: r1279 - in trunk: debian lib



Author: rra
Date: 2008-04-22 00:27:51 +0200 (Tue, 22 Apr 2008)
New Revision: 1279

Modified:
   trunk/debian/changelog
   trunk/lib/Spelling.pm
Log:
  + [RA] Correct "meta package" and "meta-package" in descriptions to
    "metapackage".  Thanks, Frank S. Thomas.  (Closes: #476681)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-04-21 22:19:03 UTC (rev 1278)
+++ trunk/debian/changelog	2008-04-21 22:27:51 UTC (rev 1279)
@@ -75,6 +75,8 @@
 
   * lib/Spelling.pm:
     + [RA] Avoid Perl warnings when called with an uninitialized value.
+    + [RA] Correct "meta package" and "meta-package" in descriptions to
+      "metapackage".  Thanks, Frank S. Thomas.  (Closes: #476681)
 
   * man/lintian.1:
     + [FL] Drop linda from SEE ALSO since it is obsolete now. Suggested

Modified: trunk/lib/Spelling.pm
===================================================================
--- trunk/lib/Spelling.pm	2008-04-21 22:19:03 UTC (rev 1278)
+++ trunk/lib/Spelling.pm	2008-04-21 22:27:51 UTC (rev 1279)
@@ -342,6 +342,7 @@
                            GTK GTK+
                            gtk+ GTK+
                            kde KDE
+                           meta-package metapackage
                            MYSQL MySQL
                            Mysql MySQL
                            mysql MySQL
@@ -416,9 +417,12 @@
     }
 
     # Special case for correcting a multi-word string.
-    if ($text =~ m,Debian/GNU Linux,) {
+    if ($text =~ m,Debian/GNU\s+Linux,) {
         _tag($tag, $filename, "Debian/GNU Linux", "Debian GNU/Linux");
     }
+    if ($text =~ m,meta\s+package,) {
+        _tag($tag, $filename, "meta package", "metapackage");
+    }
 }
 
 # Check spelling of $text against pickier corrections, such as common


Reply to: