From 8ef04dcacb2d005ad055350f8a5814b919bf345194c2154c4b413dad1ac5b4fe Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 18 Sep 2023 07:35:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=86 --- mysql-connector-java-sequential.patch | 18 ++++++++++++++++++ mysql-connector-java.spec | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 mysql-connector-java-sequential.patch diff --git a/mysql-connector-java-sequential.patch b/mysql-connector-java-sequential.patch new file mode 100644 index 0000000..361c39b --- /dev/null +++ b/mysql-connector-java-sequential.patch @@ -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 @@ + + Compiling MySQL Connector/J with '${com.mysql.cj.build.jdk}' to '${com.mysql.cj.build.compiler.output}' + ++ + + + ++ + + + diff --git a/mysql-connector-java.spec b/mysql-connector-java.spec index d1c008c..e6ef9bc 100644 --- a/mysql-connector-java.spec +++ b/mysql-connector-java.spec @@ -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