0397197231
bnc#927981 CVE-2015-2575: * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html - Remove not applicable patch: * mysql-connector-java-7-jdbc-4.1.patch - Do not explicitely check for jdk6 but be happy with 7 and 8: * jdk6-check-use-jdk7.patch - Do not require hibernate4 to actually build: * extra-libs-build.patch - Do not build jdk5 depending jdbc3: * no-jdk5-requirement.patch - Add and rebase jdbc4.1 patch: * mysql-connector-java-jdbc-4.1.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=21
16 lines
350 B
Bash
16 lines
350 B
Bash
#!/bin/sh
|
|
|
|
VERSION=$1
|
|
|
|
rm -rf mysql-connector-java-$VERSION
|
|
|
|
tar xfz mysql-connector-java-$VERSION.tar.gz || exit 1
|
|
|
|
find mysql-connector-java-$VERSION -name '*.jar' -exec rm {} \; -o -name '*.zip' -exec rm {} \;
|
|
|
|
tar cfJ mysql-connector-java-$VERSION-suse.tar.xz mysql-connector-java-$VERSION || exit 1
|
|
|
|
rm -rf mysql-connector-java-$VERSION
|
|
|
|
exit 0
|