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

lamby pushed a commit to branch master
in repository lintian.

commit a8397ceb162c7982c062007abf110a05d5f06c33
Author: Chris Lamb <la...@debian.org>
Date:   Mon Aug 7 22:40:35 2017 -0400

     Additionally consider .cljc files as code to avoid false-positive 
codeless-jar warnings. (Closes: #870649)
---
 checks/java.pm   | 2 +-
 debian/changelog | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/java.pm b/checks/java.pm
index e8a55be..828b13b 100644
--- a/checks/java.pm
+++ b/checks/java.pm
@@ -82,7 +82,7 @@ sub run {
         foreach my $class (grep { m/\.(?:class|clj)$/oi } sort keys %{$files}){
             my $mver = $files->{$class};
             $classes = 1;
-            next if $class =~ m/\.clj$/;
+            next if $class =~ m/\.cljc?$/;
             # .class but no major version?
             next if $mver eq '-';
             if (   $mver <= $MAX_BYTECODE->value('min-bytecode-version') - 1
diff --git a/debian/changelog b/debian/changelog
index 7e7edb5..0913315 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,9 @@ lintian (2.5.53) UNRELEASED; urgency=medium
     + [CL] Ensure that python3-foo packages have "Section: python", not
       just python2-foo.  (Closes: #870272)
     + [RG] Do no longer require debug packages to be priority extra.
+  * checks/java.pm:
+    + [CL] Additionally consider .cljc files as code to avoid false-
+      positive codeless-jar warnings.  (Closes: #870649)
   * checks/python.{pm,desc}:
     + [CL] Split out Python checks from "scripts" check to a new, source
       check of type "source".

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

Reply via email to