Update to MySQL 5.7.17.

This commit is contained in:
Norvald H. Ryeng 2016-12-12 11:01:57 +01:00 committed by Michal Schorm
parent 6c7478e1df
commit ff1ca8592c
2 changed files with 31 additions and 4 deletions

View File

@ -79,7 +79,7 @@
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release} %global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
Name: community-mysql Name: community-mysql
Version: 5.7.16 Version: 5.7.17
Release: 1%{?with_debug:.debug}%{?dist} Release: 1%{?with_debug:.debug}%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
Group: Applications/Databases Group: Applications/Databases
@ -137,7 +137,14 @@ BuildRequires: libedit-devel
BuildRequires: libevent-devel BuildRequires: libevent-devel
BuildRequires: lz4-devel BuildRequires: lz4-devel
BuildRequires: mecab-devel BuildRequires: mecab-devel
%ifnarch aarch64 %{arm} s390 s390x
BuildRequires: numactl-devel
%endif
%if 0%{?fedora} < 26
BuildRequires: openssl-devel BuildRequires: openssl-devel
%else
BuildRequires: compat-openssl10-devel
%endif
BuildRequires: perl BuildRequires: perl
%if 0%{?fedora} > 24 || 0%{?rhel} > 7 %if 0%{?fedora} > 24 || 0%{?rhel} > 7
BuildRequires: perl-generators BuildRequires: perl-generators
@ -297,7 +304,8 @@ the MySQL server and some accompanying files and directories.
Summary: Files for development of MySQL applications Summary: Files for development of MySQL applications
Group: Applications/Databases Group: Applications/Databases
%{?with_clibrary:Requires: %{name}-libs%{?_isa} = %{sameevr}} %{?with_clibrary:Requires: %{name}-libs%{?_isa} = %{sameevr}}
Requires: openssl-devel%{?_isa} Requires: pkgconfig(openssl)
Requires: zlib-devel
%{?with_conflicts:Conflicts: mariadb-devel} %{?with_conflicts:Conflicts: mariadb-devel}
%description devel %description devel
@ -329,6 +337,10 @@ Summary: Development files for MySQL as an embeddable library
Group: Applications/Databases Group: Applications/Databases
Requires: %{name}-embedded%{?_isa} = %{sameevr} Requires: %{name}-embedded%{?_isa} = %{sameevr}
Requires: %{name}-devel%{?_isa} = %{sameevr} Requires: %{name}-devel%{?_isa} = %{sameevr}
Requires: libaio-devel
Requires: lz4-devel
Requires: pkgconfig(openssl)
Requires: zlib-devel
%{?with_conflicts:Conflicts: mariadb-embedded-devel} %{?with_conflicts:Conflicts: mariadb-embedded-devel}
%description embedded-devel %description embedded-devel
@ -409,6 +421,8 @@ touch %{skiplist}
add_test main.xa_prepared_binlog_off : unstable test add_test main.xa_prepared_binlog_off : unstable test
add_test binlog.binlog_xa_prepared_disconnect : unstable test add_test binlog.binlog_xa_prepared_disconnect : unstable test
add_test innodb.table_encrypt_kill : unstable test add_test innodb.table_encrypt_kill : unstable test
add_test perfschema.memory_aggregate_no_a_no_u_no_h : unstable test
add_test main.mysqlpump_basic : unstable test
# these tests fail in 5.7.14 on arm32 # these tests fail in 5.7.14 on arm32
%ifarch %arm %ifarch %arm
@ -495,6 +509,9 @@ cmake .. \
-DSYSTEMD_PID_DIR="%{pidfiledir}" \ -DSYSTEMD_PID_DIR="%{pidfiledir}" \
%endif %endif
-DWITH_INNODB_MEMCACHED=ON \ -DWITH_INNODB_MEMCACHED=ON \
%ifnarch aarch64 %{arm} s390 s390x
-DWITH_NUMA=ON \
%endif
-DWITH_EMBEDDED_SERVER=ON \ -DWITH_EMBEDDED_SERVER=ON \
-DWITH_EMBEDDED_SHARED_LIBRARY=ON \ -DWITH_EMBEDDED_SHARED_LIBRARY=ON \
-DWITH_EDITLINE=system \ -DWITH_EDITLINE=system \
@ -503,7 +520,7 @@ cmake .. \
-DWITH_MECAB=system \ -DWITH_MECAB=system \
-DWITH_SSL=system \ -DWITH_SSL=system \
-DWITH_ZLIB=system \ -DWITH_ZLIB=system \
-DWITH_BOOST=../boost/boost_1_59_0 \ -DWITH_BOOST=../boost \
-DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \ -DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
-DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \ -DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
%{?with_debug: -DWITH_DEBUG=1}\ %{?with_debug: -DWITH_DEBUG=1}\
@ -947,6 +964,16 @@ fi
%endif %endif
%changelog %changelog
* Mon Dec 12 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.17-1
- Update to MySQL 5.7.17, for various fixes described at
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html
- Add new plugin: connnection_control.so
- Add MySQL Group Replication: group_replication.so
- Add numactl-devel to buildreq and enable NUMA support (if available)
- Simplify boost path
- Build compat-openssl10 in rawhide for now
- Reqs. in -devel packages was incomplete
* Tue Oct 18 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.16-1 * Tue Oct 18 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.16-1
- Update to MySQL 5.7.16, for various fixes described at - Update to MySQL 5.7.16, for various fixes described at
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-16.html https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-16.html

View File

@ -1 +1 @@
f7724b816919878760b5c7c9956e6508 mysql-boost-5.7.16.tar.gz SHA512 (mysql-boost-5.7.17.tar.gz) = a1512abeba307fd21687677d2ee4bf20ced373312824de034e9b340d97e67eb4fcc5caa4ad7d9f58d6c0ddf57f6f6c0b0978e7b01c46f397ac661da843e3dfa6