1
0

- Add new patch to build tests:

* use-classpath-in-tests.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal 2015-05-13 17:29:13 +00:00 committed by Git OBS Bridge
parent c9803e11f7
commit e1f41462f5
3 changed files with 17 additions and 0 deletions

View File

@ -14,6 +14,8 @@ Tue Apr 21 15:22:44 UTC 2015 - tchvatal@suse.com
* no-jdk5-requirement.patch
- Add and rebase jdbc4.1 patch:
* mysql-connector-java-jdbc-4.1.patch
- Add new patch to build tests:
* use-classpath-in-tests.patch
-------------------------------------------------------------------
Wed Mar 18 09:46:18 UTC 2015 - tchvatal@suse.com

View File

@ -35,6 +35,8 @@ Patch1: extra-libs-build.patch
Patch2: no-jdk5-requirement.patch
# PATCH-FIX-UPSTREAM: build with jdbc4.1 and also with new javac
Patch3: mysql-connector-java-jdbc-4.1.patch
# PATCH-FIX-UPSTREAM: do not lose classpath during tests build
Patch4: use-classpath-in-tests.patch
BuildRequires: ant
BuildRequires: ant-contrib
BuildRequires: apache-commons-logging
@ -71,6 +73,7 @@ set that supports the capabilities of MySQL.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# dup
rm -f README

View File

@ -0,0 +1,12 @@
Index: mysql-connector-java-5.1.35/build.xml
===================================================================
--- mysql-connector-java-5.1.35.orig/build.xml
+++ mysql-connector-java-5.1.35/build.xml
@@ -191,6 +191,7 @@ com.mysql.jdbc.noCleanBetweenCompiles=ye
</fileset>
<pathelement location="${buildDir}/${fullProdName}" />
+ <pathelement path="${java.class.path}" />
</path>