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

lintian: r795 - in trunk: checks debian



Author: rra
Date: 2006-12-03 19:47:45 +0100 (Sun, 03 Dec 2006)
New Revision: 795

Modified:
   trunk/checks/po-debconf
   trunk/debian/changelog
Log:
  + [RA] Don't consider directories to be stray template files even if
    named template.  Thanks, Thomas Huriaux.  (Closes: #401442)

Modified: trunk/checks/po-debconf
===================================================================
--- trunk/checks/po-debconf	2006-12-03 18:45:20 UTC (rev 794)
+++ trunk/checks/po-debconf	2006-12-03 18:47:45 UTC (rev 795)
@@ -34,6 +34,7 @@
 my $has_template = my $has_depends = my $has_config = 0;
 my @lang_templates;
 for my $file (readdir(DEB)) {
+	next if -d "debfiles/$file";
 	if ($file =~ m/^(.+\.)?templates(\..+)?$/) {
 	        $has_template = 1;
 		if ($file =~ m/templates\.\w\w(_\w\w)?$/) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-12-03 18:45:20 UTC (rev 794)
+++ trunk/debian/changelog	2006-12-03 18:47:45 UTC (rev 795)
@@ -16,6 +16,8 @@
     + [RA] gettext 0.16's msgcmp requires --use-untranslated when checking
       for newer templates than PO files or it gives false positives for
       every package.  Thanks, Damyan Ivanov.  (Closes: #400957)
+    + [RA] Don't consider directories to be stray template files even if
+      named template.  Thanks, Thomas Huriaux.  (Closes: #401442)
   * checks/shared-libs:
     + [RA] Don't report shlib-with-non-pic-code unless we're sure that
       we're looking at a shared library.  Otherwise, we get many false
@@ -35,7 +37,7 @@
   * debian/control:
     + [RA] Depend on gettext 0.16 or later for --use-untranslated.
 
- -- Russ Allbery <rra@debian.org>  Sun,  3 Dec 2006 10:44:00 -0800
+ -- Russ Allbery <rra@debian.org>  Sun,  3 Dec 2006 10:47:35 -0800
 
 lintian (1.23.26) unstable; urgency=low
 



Reply to: