Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e53ef2a4bf |
4 changed files with 71 additions and 67 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -15,3 +15,4 @@
|
||||||
/mysql-connector-java-8.0.15-nojars.tar.xz
|
/mysql-connector-java-8.0.15-nojars.tar.xz
|
||||||
/mysql-connector-java-8.0.16-nojars.tar.xz
|
/mysql-connector-java-8.0.16-nojars.tar.xz
|
||||||
/mysql-connector-java-8.0.20-nojars.tar.xz
|
/mysql-connector-java-8.0.20-nojars.tar.xz
|
||||||
|
/mysql-connector-java-8.0.21-nojars.tar.xz
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
Summary: Official JDBC driver for MySQL
|
Summary: Official JDBC driver for MySQL
|
||||||
Name: mysql-connector-java
|
Name: mysql-connector-java
|
||||||
Version: 8.0.20
|
Version: 8.0.21
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2 with exceptions
|
License: GPLv2 with exceptions
|
||||||
URL: http://dev.mysql.com/downloads/connector/j/
|
URL: http://dev.mysql.com/downloads/connector/j/
|
||||||
|
|
@ -43,7 +43,7 @@ BuildRequires: git
|
||||||
BuildRequires: javassist
|
BuildRequires: javassist
|
||||||
BuildRequires: java-devel >= 1:1.6.0
|
BuildRequires: java-devel >= 1:1.6.0
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: junit
|
BuildRequires: junit5
|
||||||
BuildRequires: protobuf-java
|
BuildRequires: protobuf-java
|
||||||
BuildRequires: slf4j
|
BuildRequires: slf4j
|
||||||
BuildRequires: java-1.8.0-openjdk-devel
|
BuildRequires: java-1.8.0-openjdk-devel
|
||||||
|
|
@ -101,6 +101,9 @@ ant -Dcom.mysql.cj.build.jdk=/usr/lib/jvm/java-1.8.0-openjdk \
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 25 2020 Ondrej Dubaj <odubaj@redhat.com> - 1:8.0.21-1
|
||||||
|
- rebase to version 8.0.21
|
||||||
|
|
||||||
* Fri Jun 26 2020 Ondrej Dubaj <odubaj@redhat.com> - 1:8.0.20-2
|
* Fri Jun 26 2020 Ondrej Dubaj <odubaj@redhat.com> - 1:8.0.20-2
|
||||||
- remove *-headless dependecny
|
- remove *-headless dependecny
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,32 +1,17 @@
|
||||||
From 134dadce2a60a2d51d1c2e13d152ec11a419c575 Mon Sep 17 00:00:00 2001
|
From b31d3c13c6eb99aa75739cd80cb9c43972320e0f Mon Sep 17 00:00:00 2001
|
||||||
From: Ondrej Dubaj <odubaj@redhat.com>
|
From: Ondrej Dubaj <odubaj@redhat.com>
|
||||||
Date: Thu, 14 May 2020 13:40:39 +0200
|
Date: Wed, 26 Aug 2020 08:08:39 +0200
|
||||||
Subject: [PATCH] Remove coverage test
|
Subject: [PATCH] Remove coverage test
|
||||||
|
|
||||||
---
|
---
|
||||||
build.xml | 133 ------------------------------------------------------
|
build.xml | 140 ------------------------------------------------------
|
||||||
1 file changed, 133 deletions(-)
|
1 file changed, 140 deletions(-)
|
||||||
|
|
||||||
diff --git a/build.xml b/build.xml
|
diff --git a/build.xml b/build.xml
|
||||||
index 83b6e2c..af374ee 100644
|
index 98f00ed..fde7906 100644
|
||||||
--- a/build.xml
|
--- a/build.xml
|
||||||
+++ b/build.xml
|
+++ b/build.xml
|
||||||
@@ -338,14 +338,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
@@ -1290,72 +1290,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
</fail>
|
|
||||||
-
|
|
||||||
- <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
|
|
||||||
- <classpath>
|
|
||||||
- <fileset dir="${com.mysql.cj.extra.libs}">
|
|
||||||
- <include name="**/jacocoant.jar" />
|
|
||||||
- </fileset>
|
|
||||||
- </classpath>
|
|
||||||
- </taskdef>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1307,56 +1299,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
|
||||||
</condition>
|
</condition>
|
||||||
<echo>${com.mysql.cj.testsuite.message.test.mode}</echo>
|
<echo>${com.mysql.cj.testsuite.message.test.mode}</echo>
|
||||||
|
|
||||||
|
|
@ -35,55 +20,71 @@ index 83b6e2c..af374ee 100644
|
||||||
- <isset property="com.mysql.cj.coverage.result.dir.final" />
|
- <isset property="com.mysql.cj.coverage.result.dir.final" />
|
||||||
- </condition>
|
- </condition>
|
||||||
-
|
-
|
||||||
- <jacoco:coverage destfile="${com.mysql.cj.coverage.result.dir.final}/${com.mysql.cj.coverage.result.name.final}"
|
- <local name="com.mysql.cj.testsuite.test.coverage.jvmarg" />
|
||||||
- enabled="${com.mysql.cj.testsuite.test.coverage}">
|
- <jacoco:agent destfile="${com.mysql.cj.coverage.result.dir.final}/${com.mysql.cj.coverage.result.name.final}"
|
||||||
- <junit printsummary="yes"
|
- enabled="${com.mysql.cj.testsuite.test.coverage}"
|
||||||
- fork="on"
|
- property="com.mysql.cj.testsuite.test.coverage.jvmarg" />
|
||||||
- forkmode="once"
|
|
||||||
- jvm="${com.mysql.cj.testsuite.jvm.java}"
|
|
||||||
- errorproperty="com.mysql.cj.testsuite.junit.fail"
|
|
||||||
- failureproperty="com.mysql.cj.testsuite.junit.fail">
|
|
||||||
- <jvmarg value="-Xmx1024m" />
|
|
||||||
-
|
-
|
||||||
- <syspropertyset refid="junit.system.properties" />
|
- <local name="com.mysql.cj.testsuite.test.coverage.jvmargfinal" />
|
||||||
- <sysproperty key="com.mysql.cj.testsuite.url" value="${com.mysql.cj.testsuite.url}" />
|
- <condition property="com.mysql.cj.testsuite.test.coverage.jvmargfinal"
|
||||||
|
- value="${com.mysql.cj.testsuite.test.coverage.jvmarg}"
|
||||||
|
- else="-Dcoverage=disabled">
|
||||||
|
- <and>
|
||||||
|
- <isset property="com.mysql.cj.testsuite.test.coverage.jvmarg" />
|
||||||
|
- <not>
|
||||||
|
- <equals arg1="${com.mysql.cj.testsuite.test.coverage.jvmarg}" arg2="" />
|
||||||
|
- </not>
|
||||||
|
- </and>
|
||||||
|
- </condition>
|
||||||
-
|
-
|
||||||
- <classpath>
|
- <junitlauncher haltOnFailure="false" printSummary="true" failureProperty="com.mysql.cj.testsuite.junit.fail">
|
||||||
- <fileset dir="${com.mysql.cj.extra.libs}">
|
- <classpath refid="com.mysql.cj.testsuite.build.classpath" />
|
||||||
- <include name="**/*.jar" />
|
|
||||||
- <exclude name="**/protobuf-java-2.6.0.jar" />
|
|
||||||
- </fileset>
|
|
||||||
- <pathelement location="${com.mysql.cj.build.dir.driver}" />
|
|
||||||
- <pathelement location="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}" />
|
|
||||||
- <pathelement path="${com.mysql.cj.testsuite.build.classpath}" />
|
|
||||||
- <pathelement path="${java.class.path}" />
|
|
||||||
- </classpath>
|
|
||||||
-
|
-
|
||||||
- <formatter type="xml" />
|
- <test if="${com.mysql.cj.testsuite.test.methods.enabled}"
|
||||||
|
- name="${com.mysql.cj.testsuite.test.class}"
|
||||||
|
- methods="${com.mysql.cj.testsuite.test.methods}"
|
||||||
|
- outputdir="${com.mysql.cj.testsuite.junit.results}">
|
||||||
|
- <fork>
|
||||||
|
- <jvmarg value="-Xmx1024m" />
|
||||||
|
- <jvmarg value="${com.mysql.cj.testsuite.test.coverage.jvmargfinal}" />
|
||||||
|
- <syspropertyset refid="junit.system.properties" />
|
||||||
|
- </fork>
|
||||||
|
- <listener type="legacy-xml" sendSysOut="true" sendSysErr="true" />
|
||||||
|
- <listener type="legacy-plain" sendSysOut="true" sendSysErr="true" />
|
||||||
|
- </test>
|
||||||
-
|
-
|
||||||
- <test if="${com.mysql.cj.testsuite.test.methods.enabled}"
|
- <test if="com.mysql.cj.testsuite.test.class"
|
||||||
- name="${com.mysql.cj.testsuite.test.class}"
|
- unless="com.mysql.cj.testsuite.test.methods"
|
||||||
- methods="${com.mysql.cj.testsuite.test.methods}"
|
- name="${com.mysql.cj.testsuite.test.class}"
|
||||||
- todir="${com.mysql.cj.testsuite.junit.results}" />
|
- outputdir="${com.mysql.cj.testsuite.junit.results}">
|
||||||
|
- <fork>
|
||||||
|
- <jvmarg value="-Xmx1024m" />
|
||||||
|
- <jvmarg value="${com.mysql.cj.testsuite.test.coverage.jvmargfinal}" />
|
||||||
|
- <syspropertyset refid="junit.system.properties" />
|
||||||
|
- </fork>
|
||||||
|
- <listener type="legacy-xml" sendSysOut="true" sendSysErr="true" />
|
||||||
|
- <listener type="legacy-plain" sendSysOut="true" sendSysErr="true" />
|
||||||
|
- </test>
|
||||||
-
|
-
|
||||||
- <test if="com.mysql.cj.testsuite.test.class"
|
- <testclasses unless="com.mysql.cj.testsuite.test.class" outputdir="${com.mysql.cj.testsuite.junit.results}">
|
||||||
- unless="com.mysql.cj.testsuite.test.methods"
|
- <fileset dir="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}">
|
||||||
- name="${com.mysql.cj.testsuite.test.class}"
|
- <include name="**/*Test.class" />
|
||||||
- todir="${com.mysql.cj.testsuite.junit.results}" />
|
- <exclude name="**/perf/*.class" />
|
||||||
-
|
- </fileset>
|
||||||
- <batchtest unless="com.mysql.cj.testsuite.test.class" todir="${com.mysql.cj.testsuite.junit.results}">
|
- <fork>
|
||||||
- <fileset dir="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}">
|
- <jvmarg value="-Xmx1024m" />
|
||||||
- <include name="**/*Test.java" />
|
- <jvmarg value="${com.mysql.cj.testsuite.test.coverage.jvmargfinal}" />
|
||||||
- <exclude name="**/perf/*.java" />
|
- <syspropertyset refid="junit.system.properties" />
|
||||||
- </fileset>
|
- </fork>
|
||||||
- </batchtest>
|
- <listener type="legacy-xml" sendSysOut="true" sendSysErr="true" />
|
||||||
- </junit>
|
- <listener type="legacy-plain" sendSysOut="true" sendSysErr="true" />
|
||||||
- </jacoco:coverage>
|
- </testclasses>
|
||||||
|
- </junitlauncher>
|
||||||
-
|
-
|
||||||
<junitreport todir="${com.mysql.cj.testsuite.junit.results}/report">
|
<junitreport todir="${com.mysql.cj.testsuite.junit.results}/report">
|
||||||
<fileset dir="${com.mysql.cj.testsuite.junit.results}">
|
<fileset dir="${com.mysql.cj.testsuite.junit.results}">
|
||||||
<include name="**/TEST-*.xml" />
|
<include name="**/TEST-*.xml" />
|
||||||
@@ -1375,81 +1317,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
@@ -1374,80 +1308,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -136,7 +137,6 @@ index 83b6e2c..af374ee 100644
|
||||||
- </structure>
|
- </structure>
|
||||||
-
|
-
|
||||||
- <html destdir="${com.mysql.cj.coverage.report.dir.final}" />
|
- <html destdir="${com.mysql.cj.coverage.report.dir.final}" />
|
||||||
-
|
|
||||||
- </jacoco:report>
|
- </jacoco:report>
|
||||||
- </target>
|
- </target>
|
||||||
-
|
-
|
||||||
|
|
@ -166,5 +166,5 @@ index 83b6e2c..af374ee 100644
|
||||||
<!-- ***** RPM/DEB PACKAGING ***** -->
|
<!-- ***** RPM/DEB PACKAGING ***** -->
|
||||||
<!-- ***************************** -->
|
<!-- ***************************** -->
|
||||||
--
|
--
|
||||||
2.24.1
|
2.26.0
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (mysql-connector-java-8.0.20-nojars.tar.xz) = afe91a3c20ec58992b326f3a0c5da89ee3f51830082009defbe3f78d2ee4ff62eb63fca11cf86749292095d250f262f3a73026e58a0dd44141dc257dd68acfe4
|
SHA512 (mysql-connector-java-8.0.21-nojars.tar.xz) = 4c0186c0e915ae0c0036defa7cd7a1b04009440458d1effc58d557d6604bdd87496238774bda3b0d93b983e3e0b5c23441c3f83349b9209d6ee6be541f191296
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue