From ff1ca8592cb02730699a20b2de131a7da35b092e Mon Sep 17 00:00:00 2001 From: "Norvald H. Ryeng" Date: Mon, 12 Dec 2016 11:01:57 +0100 Subject: [PATCH] Update to MySQL 5.7.17. --- community-mysql.spec | 33 ++++++++++++++++++++++++++++++--- sources | 2 +- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/community-mysql.spec b/community-mysql.spec index d891119..326a883 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -79,7 +79,7 @@ %global sameevr %{?epoch:%{epoch}:}%{version}-%{release} Name: community-mysql -Version: 5.7.16 +Version: 5.7.17 Release: 1%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries Group: Applications/Databases @@ -137,7 +137,14 @@ BuildRequires: libedit-devel BuildRequires: libevent-devel BuildRequires: lz4-devel BuildRequires: mecab-devel +%ifnarch aarch64 %{arm} s390 s390x +BuildRequires: numactl-devel +%endif +%if 0%{?fedora} < 26 BuildRequires: openssl-devel +%else +BuildRequires: compat-openssl10-devel +%endif BuildRequires: perl %if 0%{?fedora} > 24 || 0%{?rhel} > 7 BuildRequires: perl-generators @@ -297,7 +304,8 @@ the MySQL server and some accompanying files and directories. Summary: Files for development of MySQL applications Group: Applications/Databases %{?with_clibrary:Requires: %{name}-libs%{?_isa} = %{sameevr}} -Requires: openssl-devel%{?_isa} +Requires: pkgconfig(openssl) +Requires: zlib-devel %{?with_conflicts:Conflicts: mariadb-devel} %description devel @@ -329,6 +337,10 @@ Summary: Development files for MySQL as an embeddable library Group: Applications/Databases Requires: %{name}-embedded%{?_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} %description embedded-devel @@ -409,6 +421,8 @@ touch %{skiplist} add_test main.xa_prepared_binlog_off : unstable test add_test binlog.binlog_xa_prepared_disconnect : 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 %ifarch %arm @@ -495,6 +509,9 @@ cmake .. \ -DSYSTEMD_PID_DIR="%{pidfiledir}" \ %endif -DWITH_INNODB_MEMCACHED=ON \ +%ifnarch aarch64 %{arm} s390 s390x + -DWITH_NUMA=ON \ +%endif -DWITH_EMBEDDED_SERVER=ON \ -DWITH_EMBEDDED_SHARED_LIBRARY=ON \ -DWITH_EDITLINE=system \ @@ -503,7 +520,7 @@ cmake .. \ -DWITH_MECAB=system \ -DWITH_SSL=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_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \ %{?with_debug: -DWITH_DEBUG=1}\ @@ -947,6 +964,16 @@ fi %endif %changelog +* Mon Dec 12 2016 Norvald H. Ryeng - 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 - 5.7.16-1 - 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 diff --git a/sources b/sources index 841acf8..ebe91d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f7724b816919878760b5c7c9956e6508 mysql-boost-5.7.16.tar.gz +SHA512 (mysql-boost-5.7.17.tar.gz) = a1512abeba307fd21687677d2ee4bf20ced373312824de034e9b340d97e67eb4fcc5caa4ad7d9f58d6c0ddf57f6f6c0b0978e7b01c46f397ac661da843e3dfa6