Author: glen                         Date: Wed Dec 12 23:01:15 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- 5.1.5 but unable to compile as some parts need 1.5 and other parts 1.6 to
  compile

---- Files affected:
SPECS:
   mysql-connector-j.spec (1.13 -> 1.13.2.1) 

---- Diffs:

================================================================
Index: SPECS/mysql-connector-j.spec
diff -u SPECS/mysql-connector-j.spec:1.13 SPECS/mysql-connector-j.spec:1.13.2.1
--- SPECS/mysql-connector-j.spec:1.13   Wed Dec 12 23:59:26 2007
+++ SPECS/mysql-connector-j.spec        Thu Dec 13 00:01:10 2007
@@ -1,17 +1,20 @@
 # $Revision$, $Date$
+# TODO
+# - needs jdk 1.5 and jdk 1.6 to compile
 %include       /usr/lib/rpm/macros.java
 Summary:       MySQL Connector/J - JDBC driver for MySQL
 Summary(pl.UTF-8):     MySQL Connector/J - sterownik JDBC dla MySQL-a
 Name:          mysql-connector-j
-Version:       5.0.8
-Release:       2
+Version:       5.1.5
+Release:       0.1
 License:       GPL v2+ + MySQL FLOSS Exception
 Group:         Libraries
 Source0:       
http://mysql.tonnikala.org/Downloads/Connector-J/%{name}ava-%{version}.tar.gz
-# Source0-md5: 7a3caaa764fd6266bc312d8930972e8f
+# Source0-md5: 85289f74093a2b165d42f5ac38850d18
 URL:           http://www.mysql.com/products/connector/j/
 BuildRequires: ant >= 1.5
 BuildRequires: jaxp_parser_impl
+BuildRequires: jdk >= 1.6
 BuildRequires: jpackage-utils
 BuildRequires: rpm-javaprov
 BuildRequires: rpmbuild(macros) >= 1.300
@@ -60,7 +63,9 @@
 required_jars="jaxp_parser_impl"
 CLASSPATH=$(build-classpath $required_jars)
 export CLASSPATH
-%ant
+
+%ant \
+       -Dcom.mysql.jdbc.java6.javac=%javac
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -89,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13.2.1  2007-12-12 23:01:10  glen
+- 5.1.5 but unable to compile as some parts need 1.5 and other parts 1.6 to
+  compile
+
 Revision 1.13  2007-12-12 22:59:26  glen
 - unify java package; rel 2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysql-connector-j.spec?r1=1.13&r2=1.13.2.1&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to