[jruby-joni] 231/279: fix incompatible-java-bytecode-format

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:27:42 UTC 2015


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

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit 013f10a66bbffbd0c162bb41d68390f38d91ff8b
Author: Hideki Yamane <henrich at debian.org>
Date:   Tue Dec 30 17:39:06 2014 +0900

    fix incompatible-java-bytecode-format
---
 debian/changelog | 3 +++
 debian/rules     | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 599ee15..e227f7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 jruby-joni (2.1.5-1) unstable; urgency=medium
 
   * New Upstream version 2.1.5
+  * debian/rules
+    - use override_dh_auto_build target to apply debian/ant.properties value
+      properly. It fixes lintian warning "incompatible-java-bytecode-format".
 
  -- Hideki Yamane <henrich at debian.org>  Tue, 30 Dec 2014 15:06:52 +0900
 
diff --git a/debian/rules b/debian/rules
index a29e503..d61fb48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,12 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-export ANT="ant -propertyfile $(CURDIR)/debian/ant.properties"
-
 %:
 	dh $@
 
+override_dh_auto_build:
+	ant -propertyfile $(CURDIR)/debian/ant.properties
+
 override_dh_auto_install:
 	dh_auto_install
 	mh_installpoms -plibjruby-joni-java

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



More information about the pkg-java-commits mailing list