[lintian] 01/01: checks/java: Don't emit javalib-but-no-public-jars for transitional packages
This is an automated email from the git hooks/post-receive script.
jwilk pushed a commit to branch master
in repository lintian.
commit 6c531ba5151bb49722ea214c28d5dffade47a5c8
Author: Jakub Wilk <jwilk@debian.org>
Date: Fri Jul 1 18:31:40 2016 +0200
checks/java: Don't emit javalib-but-no-public-jars for transitional packages
---
checks/java.pm | 3 ++-
debian/changelog | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/checks/java.pm b/checks/java.pm
index 6392d09..43e3e57 100644
--- a/checks/java.pm
+++ b/checks/java.pm
@@ -240,7 +240,8 @@ sub run {
tag 'missing-classpath', join(', ', @java_lib_depends);
}
- if (!$has_public_jars && $pkg =~ /^lib[^\s,]+-java$/) {
+ my $is_transitional = $info->is_pkg_class('transitional');
+ if (!$has_public_jars && !$is_transitional && $pkg =~ /^lib[^\s,]+-java$/){
# Skip this if it installs a symlink in usr/share/java
return if any { m@^usr/share/java/[^/]+\.jar$@o } $info->sorted_index;
tag 'javalib-but-no-public-jars';
diff --git a/debian/changelog b/debian/changelog
index a96cbeb..a27e997 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ lintian (2.5.46) UNRELEASED; urgency=medium
+ [JW] Fix typos.
* checks/infofiles.desc:
+ [JW] Fix typo.
+ * checks/java.pm:
+ + [JW] Don't emit javalib-but-no-public-jars for transitional packages.
+ Thanks to Jeremy Bicha for the bug report. (Closes: #829047)
* checks/manpages.desc:
+ [JW] Fix typos.
* checks/systemd.desc:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: