[Bug 193897] Review Request: mysql-connector-java - Official JDBC driver for MySQL

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 11 22:18:44 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=193897


Orion Poplawski <orion at cora.nwra.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orion at cora.nwra.com,
                   |                            |xjakub at fi.muni.cz




--- Comment #20 from Orion Poplawski <orion at cora.nwra.com>  2009-12-11 17:18:42 EDT ---
Any chance of getting this into EPEL?  I'd be willing to maintain.

With the following patch and ant-contrib built for EPEL (I've requested one) it
builds find on EL-5.

diff -u -r1.11 mysql-connector-java.spec
--- mysql-connector-java.spec   4 Dec 2009 16:44:20 -0000       1.11
+++ mysql-connector-java.spec   11 Dec 2009 22:15:26 -0000
@@ -57,7 +57,7 @@
 BuildRequires:         junit
 BuildRequires:         log4j
 BuildRequires:         java-1.6.0-openjdk-devel
-BuildRequires:         java-1.5.0-gcj-devel
+BuildRequires:         java-devel-gcj
 BuildRequires:         jakarta-commons-logging

 Requires:               jpackage-utils
@@ -93,7 +93,11 @@

 # We need both JDK1.5 (for JDBC3.0; appointed by $JAVA_HOME) and JDK1.6 (for
JDBC4.0; appointed in the build.xml)
 export CLASSPATH=$(build-classpath ant-contrib jdbc-stdext jta junit log4j
commons-logging.jar)
+%if 0%{?rhel} == 5
+export JAVA_HOME=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0
+%else
 export JAVA_HOME=/usr/lib/jvm/java-1.5.0-gcj
+%endif

 # We currently need to disable jboss integration because of missing
jboss-common-jdbc-wrapper.jar (built from sources).
 # See BZ#480154 and BZ#471915 for details.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Fedora-package-review mailing list