Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
941b04e443 | ||
|
|
daeabbd4b0 |
1 changed files with 12 additions and 8 deletions
|
|
@ -2,7 +2,7 @@
|
|||
Summary: Official JDBC driver for MySQL
|
||||
Name: mysql-connector-java
|
||||
Version: 8.0.16
|
||||
Release: 1%{?dist}
|
||||
Release: 3%{?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
|
||||
|
||||
|
|
@ -39,9 +39,8 @@ BuildRequires: ant >= 1.6.0
|
|||
BuildRequires: ant-contrib >= 1.0
|
||||
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 +72,7 @@ done
|
|||
|
||||
sed -i 's/>@.*</>%{version}</' src/build/misc/pom.xml
|
||||
|
||||
#%%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
|
@ -89,7 +87,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 +101,12 @@ ant -Dcom.mysql.cj.build.jdk=%{java_home} \
|
|||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Oct 14 2019 Ondrej Dubaj <odubaj@redhat.com> - 1:8.0.16-3
|
||||
- removed c3p0 dependency
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue