%bcond_with tests # FIXME: don't run correctly
%bcond_with ndb # NDB is now a separate product, this here is broken, so disable it
-%define rel 1
-%define percona_rel 71.0
+%define rel 2
+%define percona_rel 73.1
%include /usr/lib/rpm/macros.perl
Summary: MySQL: a very fast and reliable SQL database engine
Summary(de.UTF-8): MySQL: ist eine SQL-Datenbank
Summary(uk.UTF-8): MySQL - швидкий SQL-сервер
Summary(zh_CN.UTF-8): MySQL数据库服务器
Name: mysql
-Version: 5.6.22
+Version: 5.6.25
Release: %{percona_rel}.%{rel}
License: GPL + MySQL FLOSS Exception
Group: Applications/Databases
-# Source0Download: http://dev.mysql.com/downloads/mysql/5.5.html#downloads
-# Source0: http://vesta.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.5/%{name}-%{version}.tar.gz
Source0: http://www.percona.com/downloads/Percona-Server-5.6/LATEST/source/tarball/percona-server-%{version}-%{percona_rel}.tar.gz
-# Source0-md5: 374a67fa9c2f4e76f4194076c3379c98
-Source100: http://www.sphinxsearch.com/files/sphinx-2.2.7-release.tar.gz
-# Source100-md5: ac74f013665f473d7ea22623f4b72468
+# Source0-md5: 3a60a01f046139e1b2f680d2df4917a6
+Source100: http://www.sphinxsearch.com/files/sphinx-2.2.9-release.tar.gz
+# Source100-md5: 1fcc3d180c0559bdeb93602ef248caf4
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.logrotate
%patch20 -p1
%patch21 -p1
%patch22 -p1
-%patch23 -p1
-%patch24 -p1
# to get these files rebuild
[ -f sql/sql_yacc.cc ] && rm sql/sql_yacc.cc
-DWITH_PAM=ON \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
-DWITH_PIC=ON \
- -DWITH_EDITLINE=system \
+ -DWITH_READLINE=system \
-DWITH_SSL=%{?with_ssl:system}%{!?with_ssl:no} \
-DWITH_UNIT_TESTS=%{?with_tests:ON}%{!?with_tests:OFF} \
-DWITH_ZLIB=system \