removed hibernate dependency, updated .spec file

This commit is contained in:
Ondrej Dubaj 2019-10-02 09:49:30 +02:00
commit daeabbd4b0

View file

@ -2,7 +2,7 @@
Summary: Official JDBC driver for MySQL
Name: mysql-connector-java
Version: 8.0.16
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
License: GPLv2 with exceptions
URL: http://dev.mysql.com/downloads/connector/j/
@ -30,8 +30,8 @@ Source0: %{name}-%{version}-nojars.tar.xz
# ./generate-tarball.sh version
# will create a new tarball compressed with xz and without those jar files.
Source1: generate-tarball.sh
Patch3: java-version-detection.patch
Patch4: remove-coverage-test.patch
Patch1: remove-coverage-test.patch
BuildArch: noarch
@ -41,7 +41,7 @@ BuildRequires: ant-junit
BuildRequires: apache-commons-logging
BuildRequires: c3p0
BuildRequires: git
BuildRequires: hibernate-core
BuildRequires: javassist
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: javapackages-local
BuildRequires: jta >= 1.0
@ -73,8 +73,7 @@ done
sed -i 's/>@.*</>%{version}</' src/build/misc/pom.xml
#%%patch3 -p1
%patch4 -p1
%patch1 -p1
%build
@ -89,7 +88,7 @@ rm src/test/java/testsuite/regression/DataSourceRegressionTest.java
rm src/test/java/testsuite/simple/StatementsTest.java
ant -Dcom.mysql.cj.build.jdk=%{java_home} \
-Dcom.mysql.cj.extra.libs=/usr/share/java \
-Dcom.mysql.cj.extra.libs=%{_javadir} \
test dist
%install
@ -103,6 +102,9 @@ ant -Dcom.mysql.cj.build.jdk=%{java_home} \
%license LICENSE
%changelog
* Wed Oct 02 2019 Ondrej Dubaj <odubaj@redhat.com> - 1:8.0.16-2
- removed hibernate dependency, updated .spec file
* Mon May 06 2019 Jakub Janco <jjanco@redhat.com> - 1:8.0.16-1
- new version