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

[lintian] 01/01: c/java: Skip the codeless-jar tag on some jar files



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

nthykier pushed a commit to branch master
in repository lintian.

commit 957aeaa5e2cde6617c6a06e62ac89058d62d637e
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Apr 24 22:22:58 2014 +0200

    c/java: Skip the codeless-jar tag on some jar files
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/java.pm   | 2 ++
 debian/changelog | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/checks/java.pm b/checks/java.pm
index b7c491f..5e7eac1 100644
--- a/checks/java.pm
+++ b/checks/java.pm
@@ -137,6 +137,8 @@ sub run {
                 if ((
                            $bsname !~ m/\.source$/o
                         && $jar_file!~ m#^usr/share/maven-repo/.*-javadoc\.jar#
+                        && $jar_file!~m#\.doc(?:\.(?:user|isv))?_[^/]+.jar#
+                        && $jar_file!~m#\.source_[^/]+.jar#
                     )
                     || $cp
                   ) {
diff --git a/debian/changelog b/debian/changelog
index 39891dd..e12b47f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,10 @@ lintian (2.5.23) UNRELEASED; urgency=medium
     + [SL] Catch uses of Java8 byte code.  (Closes: #743384).
     + [SL] Warn that the suggests/recommends on libservlet[\d\.]+-java is
       needless (Closes: #743453)
+    + [NT] Exclude some jar files from "codeless-jar" tag based
+      on the basename of the jar file.  This is intended to
+      reduce the number of codeless jars for source/doc jars in
+      eclipse(-based) packages.
   * checks/source-copyright.pm:
     + [NT] Permit the use of "https://"; in DEP-5 format URIs even
       if the policy suggests that they have to use "http://";.

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


Reply to: