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

[SCM] Debian package checker branch, master, updated. 2.3.1-18-gbd72f41



The following commit has been merged in the master branch:
commit bd72f41323e048690002f279baef85a071798d5e
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Mon Jan 18 22:53:50 2010 +0000

    Fix info-document-has-wrong-extension to allow multiple digit filenames
    
    * checks/infofiles:
      + [ADB] Don't flag info files with filenames of info-N.gz as having an
        incorrect extension if N contains multiple digits.  (Closes: #564900)

diff --git a/checks/infofiles b/checks/infofiles
index f1932ec..2c5b994 100644
--- a/checks/infofiles
+++ b/checks/infofiles
@@ -78,7 +78,7 @@ foreach my $file (sort keys %{$info->index}) {
 	tag "info-document-not-compressed", "$file";
     }
     my $infoext = pop @fname_pieces;
-    unless ($infoext && $infoext =~ /^info(-\d)?$/) { # it's not foo.info
+    unless ($infoext && $infoext =~ /^info(-\d+)?$/) { # it's not foo.info
 	unless (!@fname_pieces) { # it's not foo{,-{1,2,3,...}}
 	    tag "info-document-has-wrong-extension", "$file";
 	}
diff --git a/debian/changelog b/debian/changelog
index 364fab5..1a2733a 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ lintian (2.3.2) UNRELEASED; urgency=low
     + [JP] Fix outdated reference in file-in-usr-lib-site-python.
   * checks/infofiles:
     + [RA] Pass LOCPATH to subprocesses.
+    + [ADB] Don't flag info files with filenames of info-N.gz as having an
+      incorrect extension if N contains multiple digits.  (Closes: #564900)
   * checks/manpages:
     + [RA] Pass LOCPATH to subprocesses.
 

-- 
Debian package checker


Reply to: