[mysql-connector-java] 03/05: Do not build the JDBC 4+ implementation.

Markus Koschany apo at moszumanska.debian.org
Wed Jun 22 15:37:45 UTC 2016


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

apo pushed a commit to branch jessie-security
in repository mysql-connector-java.

commit d2d2deac47b24a7f24d9244501e32a5aa817dea2
Author: Markus Koschany <apo at debian.org>
Date:   Tue Jun 21 22:33:57 2016 +0200

    Do not build the JDBC 4+ implementation.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d17bc7f..99108ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ mysql-connector-java (5.1.39-1~deb8u1) jessie-security; urgency=medium
     access to some MySQL Connectors accessible data as well as read access to a
     subset of MySQL Connectors accessible data.
   * Relax build-dependency on default-jdk to >= 1.7.
+  * Do not build the JDBC 4+ implementation which requires Java 8.
 
  -- Markus Koschany <apo at debian.org>  Tue, 21 Jun 2016 21:48:42 +0200
 
diff --git a/debian/rules b/debian/rules
index 88c0adb..c6c2d3b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,12 @@ JAVA_HOME := /usr/lib/jvm/default-java
 DEB_JARS := ant ant-launcher ant-junit junit ant-contrib slf4j-api
 DEB_ANT_ARGS := \
     -Dcom.mysql.jdbc.jdk5.javac=$(JAVA_HOME)/bin/javac \
-    -Dcom.mysql.jdbc.jdk8.javac=$(JAVA_HOME)/bin/javac \
+    -Dcom.mysql.jdbc.java6.rtjar=$(JAVA_HOME)/jre/lib/rt.jar \
     -Dsnapshot.version= \
     -Dcom.mysql.jdbc.extra.libs=lib \
     -Dant.java.version=1.5 \
     -Dant.build.javac.source=1.6 \
-    -Dant.build.javac.target=1.7
+    -Dant.build.javac.target=1.6
 
 pre-build::
 	mkdir -p lib

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



More information about the pkg-java-commits mailing list