Removed jta dependency

Resolves: #1832459
This commit is contained in:
Ondrej Dubaj 2020-05-07 13:06:33 +02:00
commit 8a8db8accb

View file

@ -2,7 +2,7 @@
Summary: Official JDBC driver for MySQL
Name: mysql-connector-java
Version: 8.0.16
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 1
License: GPLv2 with exceptions
URL: http://dev.mysql.com/downloads/connector/j/
@ -43,12 +43,10 @@ BuildRequires: git
BuildRequires: javassist
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: javapackages-local
BuildRequires: jta >= 1.0
BuildRequires: junit
BuildRequires: protobuf-java
BuildRequires: slf4j
Requires: jta >= 1.0
Requires: slf4j
%description
@ -77,7 +75,7 @@ sed -i 's/>@.*</>%{version}</' src/build/misc/pom.xml
%build
# 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 jdbc-stdext jta junit slf4j commons-logging.jar)
export CLASSPATH=$(build-classpath jdbc-stdext junit slf4j commons-logging.jar)
# 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.
@ -101,6 +99,9 @@ ant -Dcom.mysql.cj.build.jdk=%{java_home} \
%license LICENSE
%changelog
* Thu May 07 2020 Ondrej Dubaj <odubaj@redhat.com> - 1:8.0.16-6
- removed jta dependency
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.0.16-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild