The following commit has been merged in the master branch:
commit e7ccdeab2aded64709ec229e30813ebca0b5e334
Author: Russ Allbery <[email protected]>
Date:   Fri Jun 26 19:21:16 2009 -0700

    Exclude Haskell interface files from the extra license check
    
    *.hi and *.p_hi are Haskell interface files, so a file named
    License.hi is probably actually code to display a license, not a
    duplicate license.  Thanks, Erik de Castro Lopo.

diff --git a/checks/files b/checks/files
index a1399b6..678e0ef 100644
--- a/checks/files
+++ b/checks/files
@@ -644,9 +644,10 @@ foreach my $file (sort keys %{$info->index}) {
 
     # ---------------- license files
     if ($file =~ m,(?:copying|licen[cs]e)(?:\.[^/]+)?$,i
-       # Ignore some common extensions; there was at least one file named
-       # "license.el".  These are probably license-displaying code, not
-       # license files.  Also ignore binaries in /usr/bin and friends.
+       # Ignore some common extensions for source or compiled extension files.
+       # There was at least one file named "license.el".  These are probably
+       # license-displaying code, not license files.  Also ignore binaries in
+       # /usr/bin and friends.
        #
        # Another exception is made for .html and .php because preserving
        # working links is more important than saving some bytes, and
@@ -660,7 +661,7 @@ foreach my $file (sort keys %{$info->index}) {
        #
        # Ignore extra license files in examples, since various package
        # building software includes example packages with licenses.
-       and not $file =~ 
m/\.(?:el|c|h|py|cc|pl|pm|html|php|rb|xpm|png|jpe?g|gif|svg|dtd)$/
+       and not $file =~ 
m/\.(?:el|c|h|py|cc|pl|pm|hi|p_hi|html|php|rb|xpm|png|jpe?g|gif|svg|dtd)$/
        and not $file =~ m,^usr/share/zope/Products/.*\.(?:dtml|pt|cpt)$,
        and not $file =~ m,/under\S+License\.docbook$,
        and not $file =~ m,^(?:usr/)?s?bin/,

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to