[tomcat8] 13/14: Added a Lintian override for the incompatible-java-bytecode-format warning since Tomcat requires Java 7

Emmanuel Bourg ebourg-guest at alioth.debian.org
Fri Sep 13 16:05:04 UTC 2013


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

ebourg-guest pushed a commit to branch master
in repository tomcat8.

commit 27cfc9785cfffebfd42821d761e6d3136fa77641
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Sep 13 17:52:55 2013 +0200

    Added a Lintian override for the incompatible-java-bytecode-format warning since Tomcat requires Java 7
---
 debian/changelog                            |    2 ++
 debian/libservlet3.1-java.lintian-overrides |    2 ++
 debian/rules                                |    1 +
 debian/tomcat8-common.lintian-overrides     |    2 ++
 4 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index eb929cb..45df5af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ tomcat8 (8.0.0~RC1-1) UNRELEASED; urgency=low
   * Removed libservlet3.1-java.links defining the tomcat-* links
     in /usr/share/java with the specifications versions
   * Added the missing descriptions to the patches
+  * Added a Lintian override for the incompatible-java-bytecode-format warning
+    since Tomcat requires Java 7
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 12 Sep 2013 16:10:10 +0200
 
diff --git a/debian/libservlet3.1-java.lintian-overrides b/debian/libservlet3.1-java.lintian-overrides
new file mode 100644
index 0000000..3d2f727
--- /dev/null
+++ b/debian/libservlet3.1-java.lintian-overrides
@@ -0,0 +1,2 @@
+# Tomcat requires Java 7
+libservlet3.1-java: incompatible-java-bytecode-format Java7 version (Class format: 51)
diff --git a/debian/rules b/debian/rules
index 2bf3a52..bf150b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -175,6 +175,7 @@ binary-indep: build install
 	jh_manifest
 	dh_compress
 	dh_fixperms
+	dh_lintian
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
diff --git a/debian/tomcat8-common.lintian-overrides b/debian/tomcat8-common.lintian-overrides
new file mode 100644
index 0000000..fe56c6d
--- /dev/null
+++ b/debian/tomcat8-common.lintian-overrides
@@ -0,0 +1,2 @@
+# Tomcat requires Java 7
+tomcat8-common: incompatible-java-bytecode-format Java7 version (Class format: 51)

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



More information about the pkg-java-commits mailing list