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

[lintian] 01/01: checks/files.pm: Ignore Rust .rs files in extra-license-file. (Closes: #887715)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 35250ffad038e57f49cc276370570d01d43f2034
Author: Chris Lamb <lamby@debian.org>
Date:   Fri Jan 19 22:44:22 2018 +1100

    checks/files.pm: Ignore Rust .rs files in extra-license-file. (Closes: #887715)
---
 checks/files.pm  | 2 +-
 debian/changelog | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/files.pm b/checks/files.pm
index f14feb6..2d8b7d1 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -1286,7 +1286,7 @@ sub run {
             and not $fname =~ m{ \. (?:
                   # Common "non-license" file extensions...
                    el|[ch]|cc|p[ylmc]|[hu]i|p_hi|html|php|rb|xpm
-                     |png|jpe?g|gif|svg|dtd|mk|lisp|yml
+                     |png|jpe?g|gif|svg|dtd|mk|lisp|yml|rs
                ) \Z}xsm
             and not $fname=~ m,^usr/share/zope/Products/.*\.(?:dtml|pt|cpt)$,
             and not $fname =~ m,/under\S+License\.docbook$,
diff --git a/debian/changelog b/debian/changelog
index f4ec5fe..8f94390 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ lintian (2.5.71) UNRELEASED; urgency=medium
 
   XXX: generate tag summary
 
+  * checks/files.pm:
+    + [CL] Ignore Rust .rs files in extra-license-file.  (Closes: #887715)
+
   * lib/Lintian/Collect/Package.pm:
     + [CL] Fix "Use of uninitialized value in string ne" warnings that
       would have appeared as part of the src-orig-index handling in 2.5.66.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: