Fridrich Strba 2023-09-18 07:35:31 +00:00 committed by Git OBS Bridge
parent 90775fa1ca
commit 8ef04dcacb
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
--- mysql-connector-j-8.1.0/build.xml 2023-09-18 09:29:29.026966561 +0200
+++ mysql-connector-j-8.1.0/build.xml 2023-09-18 09:30:04.777205839 +0200
@@ -1129,6 +1129,7 @@
<target name="-compile-driver" depends="-init, -clean-classes">
<echo>Compiling MySQL Connector/J with '${com.mysql.cj.build.jdk}' to '${com.mysql.cj.build.compiler.output}'</echo>
+ <sequential>
<javac sourcepath=""
srcdir="${com.mysql.cj.build.dir.driver}"
destdir="${com.mysql.cj.build.compiler.output}"
@@ -1169,6 +1170,7 @@
<arg value="${com.mysql.cj.build.compiler.output}" />
<arg value="${com.mysql.cj.build.verbose}" />
</java>
+ </sequential>
</target>

View File

@ -37,6 +37,7 @@ Patch0: javac-check.patch
# The patch doesn't remove the file AuthenticationOciClient.java
# therefore it's removed during prep phase
Patch1: %{name}-remove-oci-support.patch
Patch2: %{name}-sequential.patch
BuildRequires: ant
BuildRequires: ant-contrib
BuildRequires: apache-commons-logging
@ -80,6 +81,7 @@ set that supports the capabilities of MySQL.
%setup -q -n mysql-connector-j-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150200
# ship protobuf generated files compatible with protobuf 3.9.2