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

[SCM] Debian package checker branch, master, updated. 2.2.12-20-ge7ccdea



The following commit has been merged in the master branch:
commit e7ccdeab2aded64709ec229e30813ebca0b5e334
Author: Russ Allbery <rra@debian.org>
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


Reply to: