[pkg-java] r16182 - trunk/libjbib2-java/debian

Niels Thykier nthykier at alioth.debian.org
Wed Jun 20 20:00:25 UTC 2012


Author: nthykier
Date: 2012-06-20 20:00:25 +0000 (Wed, 20 Jun 2012)
New Revision: 16182

Modified:
   trunk/libjbib2-java/debian/changelog
   trunk/libjbib2-java/debian/rules
Log:
Fix FTBFS with Java7

Modified: trunk/libjbib2-java/debian/changelog
===================================================================
--- trunk/libjbib2-java/debian/changelog	2012-06-20 19:23:20 UTC (rev 16181)
+++ trunk/libjbib2-java/debian/changelog	2012-06-20 20:00:25 UTC (rev 16182)
@@ -1,3 +1,11 @@
+libjbzip2-java (0.9.1-2) UNRELEASED; urgency=low
+
+  * Team upload.
+  * Pass -source 1.5 -target 1.5 to javac to fix FTBFS with
+    Java7 and to ensure backwards compatible Java byte code.
+
+ -- Niels Thykier <niels at thykier.net>  Wed, 20 Jun 2012 21:57:33 +0200
+
 libjbzip2-java (0.9.1-1) unstable; urgency=low
 
   * Initial release (Closes: #670314).

Modified: trunk/libjbib2-java/debian/rules
===================================================================
--- trunk/libjbib2-java/debian/rules	2012-06-20 19:23:20 UTC (rev 16181)
+++ trunk/libjbib2-java/debian/rules	2012-06-20 20:00:25 UTC (rev 16182)
@@ -9,7 +9,7 @@
 
 override_dh_auto_build:
 	mkdir -p build/org/itadaki/bzip2
-	javac -d build src/org/itadaki/bzip2/*.java
+	javac -source 1.5 -target 1.5 -d build src/org/itadaki/bzip2/*.java
 	cd build && jar cvf ../jbzip2.jar *
 
 override_dh_clean:




More information about the pkg-java-commits mailing list