218698f
#   This is a fix for the https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
218698f
#   So the beaviour will be the same also in F31 nad F32
218698f
%undefine __cmake_in_source_build
218698f
75032c4
# Name of the package without any prefixes
245cc80
%global pkg_name %{name}
27a9fc8
%global pkgnamepatch community-mysql
75032c4
8fcbdd7
# Regression tests may take a long time (many cores recommended), skip them by
9d8b442
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
9d8b442
# --nocheck is not possible (e.g. in koji build)
ffd96fa
%{!?runselftest:%global runselftest 1}
9d8b442
Jakub Dorňák bf0a83b
# Set this to 1 to see which tests fail
Norvald H. Ryeng e32085d
%global check_testsuite 0
Jakub Dorňák bf0a83b
421f344
# Aditional SELinux rules
7ee5c2c
%global require_mysql_selinux 1
421f344
245cc80
# In f20+ use unversioned docdirs, otherwise the old versioned one
245cc80
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
245cc80
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
245cc80
7a5573f
# By default, patch(1) creates backup files when chunks apply with offsets.
7a5573f
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
7a5573f
%global _default_patch_flags --no-backup-if-mismatch
7a5573f
7190edc
%global skiplist platform-specific-tests.list
Bjorn Munch 5f2a76b
75032c4
# For some use cases we do not need some parts of the package
75032c4
%bcond_without clibrary
75032c4
%bcond_without devel
75032c4
%bcond_without client
75032c4
%bcond_without common
75032c4
%bcond_without errmsg
75032c4
%bcond_without test
75032c4
c4225a6
# When there is already another package that ships /etc/my.cnf,
c4225a6
# rather include it than ship the file again, since conflicts between
c4225a6
# those files may create issues
c4225a6
%bcond_with config
c4225a6
3ff9598
# For deep debugging we need to build binaries with extra debug info
3ff9598
%bcond_with debug
3ff9598
f62df44
%global boost_bundled_version 1.73.0
784581a
7e955cd
# Include files for systemd
8fcbdd7
%global daemon_name mysqld
062422d
%global daemon_no_prefix mysqld
062422d
062422d
# Directory for storing pid file
Norvald H. Ryeng 77ff3a5
%global pidfiledir %{_rundir}/%{daemon_name}
75032c4
75032c4
# We define some system's well known locations here so we can use them easily
75032c4
# later when building to another location (like SCL)
75032c4
%global logrotateddir %{_sysconfdir}/logrotate.d
ba09688
%global logfiledir %{_localstatedir}/log/mysql
062422d
%global logfile %{logfiledir}/%{daemon_no_prefix}.log
75032c4
245cc80
# Defining where database data live
245cc80
%global dbdatadir %{_localstatedir}/lib/mysql
245cc80
75032c4
# Home directory of mysql user should be same for all packages that create it
75032c4
%global mysqluserhome /var/lib/mysql
99fd710
1e9e908
# Provide mysql names for compatibility
1e9e908
%bcond_without mysql_names
8fcbdd7
%bcond_without conflicts
1e9e908
75032c4
# Make long macros shorter
27a9fc8
%global sameevr   %{?epoch:%{epoch}:}%{version}-%{release}
75032c4
245cc80
Name:             community-mysql
f62df44
Version:          8.0.22
f62df44
Release:          1%{?with_debug:.debug}%{?dist}
9d8b442
Summary:          MySQL client programs and shared libraries
9d8b442
URL:              http://www.mysql.com
9d8b442
9d8b442
# Exceptions allow client libraries to be linked with most open source SW,
9d8b442
# not only GPL code.  See README.mysql-license
9d8b442
License:          GPLv2 with exceptions and LGPLv2 and BSD
9d8b442
a4a6473
Source0:          https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-%{version}.tar.gz
75032c4
Source2:          mysql_config_multilib.sh
c48a49a
Source3:          my.cnf.in
9d8b442
Source6:          README.mysql-docs
9d8b442
Source7:          README.mysql-license
99fd710
Source10:         mysql.tmpfiles.d.in
75032c4
Source11:         mysql.service.in
75032c4
Source12:         mysql-prepare-db-dir.sh
75032c4
Source14:         mysql-check-socket.sh
75032c4
Source15:         mysql-scripts-common.sh
9abc751
Source17:         mysql-wait-stop.sh
bd72127
Source18:         mysql@.service.in
9d8b442
# To track rpmlint warnings
017d9e3
Source30:         %{pkgnamepatch}.rpmlintrc
1eadb03
# Configuration for server
1eadb03
Source31:         server.cnf.in
9d8b442
9d8b442
# Comments for these patches are in the patch files
75032c4
# Patches common for more mysql-like packages
Jakub Dorňák bf0a83b
Patch1:           %{pkgnamepatch}-install-test.patch
Jakub Dorňák bf0a83b
Patch2:           %{pkgnamepatch}-s390-tsc.patch
Norvald H. Ryeng 2f29560
Patch3:           %{pkgnamepatch}-file-contents.patch
Norvald H. Ryeng 2f29560
Patch4:           %{pkgnamepatch}-scripts.patch
Norvald H. Ryeng 2f29560
Patch5:           %{pkgnamepatch}-paths.patch
75032c4
75032c4
# Patches specific for this mysql package
27a9fc8
Patch51:          %{pkgnamepatch}-chain-certs.patch
27a9fc8
Patch52:          %{pkgnamepatch}-sharedir.patch
7c7c8b3
Patch55:          %{pkgnamepatch}-rpath.patch
a4a6473
Patch75:          %{pkgnamepatch}-arm32-timer.patch
7da55b4
Patch78:	  %{pkgnamepatch}-gcc11.patch
420fa92
Jakub Dorňák 44a4c48
# Patches taken from boost 1.59
Jakub Dorňák 44a4c48
Patch115: boost-1.58.0-pool.patch
Jakub Dorňák 44a4c48
Patch125: boost-1.57.0-mpl-print.patch
Jakub Dorňák 44a4c48
a4a6473
BuildRequires:    cmake
a4a6473
BuildRequires:    gcc-c++
9d8b442
BuildRequires:    libaio-devel
9d8b442
BuildRequires:    libedit-devel
9d8b442
BuildRequires:    libevent-devel
Norvald H. Ryeng 905ffd5
BuildRequires:    libicu-devel
a4a6473
BuildRequires:    lz4
Jakub Dorňák bf0a83b
BuildRequires:    lz4-devel
Jakub Dorňák bf0a83b
BuildRequires:    mecab-devel
ffd96fa
BuildRequires:    bison
525141d
BuildRequires:    libzstd-devel
Norvald H. Ryeng ff1ca85
%ifnarch aarch64 %{arm} s390 s390x
Norvald H. Ryeng ff1ca85
BuildRequires:    numactl-devel
Norvald H. Ryeng ff1ca85
%endif
Lars Tangvald dbb00c9
BuildRequires:    openssl
9d8b442
BuildRequires:    openssl-devel
6b973cd
%if 0%{?fedora} || 0%{?rhel} > 7
42d1733
BuildRequires:    perl-interpreter
c53a0d0
BuildRequires:    perl-generators
a0bac69
%endif
6b973cd
%if 0%{?fedora} || 0%{?rhel} > 7
f07a920
BuildRequires:    rpcgen
f07a920
BuildRequires:    libtirpc-devel
f07a920
%endif
a4a6473
BuildRequires:    protobuf-lite-devel
Norvald H. Ryeng 905ffd5
BuildRequires:    rapidjson-devel
a4a6473
BuildRequires:    zlib
9d8b442
BuildRequires:    zlib-devel
20d65c4
BuildRequires:    multilib-rpm-config
9d8b442
# Tests requires time and ps and some perl modules
9d8b442
BuildRequires:    procps
9d8b442
BuildRequires:    time
4899286
BuildRequires:    perl(base)
4899286
BuildRequires:    perl(Carp)
4899286
BuildRequires:    perl(Cwd)
Jakub Dorňák bf0a83b
BuildRequires:    perl(Digest::file)
Jakub Dorňák bf0a83b
BuildRequires:    perl(Digest::MD5)
4899286
BuildRequires:    perl(English)
9d8b442
BuildRequires:    perl(Env)
4899286
BuildRequires:    perl(Errno)
9d8b442
BuildRequires:    perl(Exporter)
9d8b442
BuildRequires:    perl(Fcntl)
4899286
BuildRequires:    perl(File::Basename)
4899286
BuildRequires:    perl(File::Copy)
4899286
BuildRequires:    perl(File::Find)
4899286
BuildRequires:    perl(File::Spec)
4899286
BuildRequires:    perl(File::Spec::Functions)
9d8b442
BuildRequires:    perl(File::Temp)
Lars Tangvald c816b33
BuildRequires:    perl(FindBin)
75032c4
BuildRequires:    perl(Data::Dumper)
9d8b442
BuildRequires:    perl(Getopt::Long)
4899286
BuildRequires:    perl(if)
4899286
BuildRequires:    perl(IO::File)
4899286
BuildRequires:    perl(IO::Handle)
4899286
BuildRequires:    perl(IO::Select)
4899286
BuildRequires:    perl(IO::Socket::INET)
9d8b442
BuildRequires:    perl(IPC::Open3)
Norvald H. Ryeng 5e9f498
BuildRequires:    perl(JSON)
4899286
BuildRequires:    perl(lib)
a4a6473
BuildRequires:    perl(LWP::Simple)
Jakub Dorňák e82d4dd
BuildRequires:    perl(Memoize)
4899286
BuildRequires:    perl(Net::Ping)
4899286
BuildRequires:    perl(POSIX)
9d8b442
BuildRequires:    perl(Socket)
4899286
BuildRequires:    perl(strict)
9d8b442
BuildRequires:    perl(Sys::Hostname)
75032c4
BuildRequires:    perl(Test::More)
9d8b442
BuildRequires:    perl(Time::HiRes)
4899286
BuildRequires:    perl(Time::localtime)
4899286
BuildRequires:    perl(warnings)
7e955cd
BuildRequires:    systemd
9d8b442
edace6b
edace6b
61b324e
Requires:         bash coreutils grep
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
75032c4
784581a
Provides:         bundled(boost) = %{boost_bundled_version}
784581a
8ac654b
1e9e908
%if %{with mysql_names}
27a9fc8
Provides:         mysql = %{sameevr}
27a9fc8
Provides:         mysql%{?_isa} = %{sameevr}
27a9fc8
Provides:         mysql-compat-client = %{sameevr}
27a9fc8
Provides:         mysql-compat-client%{?_isa} = %{sameevr}
1e9e908
%endif
75032c4
8fcbdd7
%{?with_conflicts:Conflicts:        mariadb}
9d8b442
9d8b442
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
9d8b442
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
Honza Horak 43d8322
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so)$
9d8b442
7a5573f
%description
7a5573f
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
7a5573f
client/server implementation consisting of a server daemon (mysqld)
7a5573f
and many different client programs and libraries. The base package
7a5573f
contains the standard MySQL client programs and generic MySQL files.
7a5573f
7a5573f
75032c4
%if %{with clibrary}
9d8b442
%package          libs
9d8b442
Summary:          The shared libraries required for MySQL clients
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
1e9e908
%if %{with mysql_names}
27a9fc8
Provides:         mysql-libs = %{sameevr}
27a9fc8
Provides:         mysql-libs%{?_isa} = %{sameevr}
1e9e908
%endif
7a5573f
9d8b442
%description      libs
edace6b
The mysql-libs package provides the essential shared libraries for any
7a5573f
MySQL client program or interface. You will need to install this package
7a5573f
to use any other MySQL package or any clients that need to connect to a
7a5573f
MySQL server.
75032c4
%endif
7a5573f
7a5573f
c4225a6
%if %{with config}
c4225a6
%package          config
c4225a6
Summary:          The config files required by server and client
c4225a6
c4225a6
%description      config
c4225a6
The package provides the config file my.cnf and my.cnf.d directory used by any
c4225a6
MariaDB or MySQL program. You will need to install this package to use any
c4225a6
other MariaDB or MySQL package if the config files are not provided in the
c4225a6
package itself.
c4225a6
%endif
c4225a6
c4225a6
75032c4
%if %{with common}
9d8b442
%package          common
9d8b442
Summary:          The shared files required for MySQL server and client
5ec838a
Requires:         %{_sysconfdir}/my.cnf
7a5573f
9d8b442
%description      common
9d8b442
The mysql-common package provides the essential shared files for any
7a5573f
MySQL program. You will need to install this package to use any other
7a5573f
MySQL package.
75032c4
%endif
7a5573f
7a5573f
75032c4
%if %{with errmsg}
Honza Horak 43d8322
%package          errmsg
a4a6473
Summary:          The error messages files required by MySQL server
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
Honza Horak 43d8322
Honza Horak 43d8322
%description      errmsg
a4a6473
The package provides error messages files for the MySQL daemon
75032c4
%endif
75032c4
Honza Horak 43d8322
9d8b442
%package          server
9d8b442
Summary:          The MySQL server and related files
9d8b442
edace6b
# Require any mysql client, but prefer community-mysql client for community-mysql server
edace6b
Suggests:         %{name}%{?_isa} = %{sameevr}
edace6b
Requires:         mysql%{?_isa}
edace6b
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
75032c4
Requires:         %{_sysconfdir}/my.cnf
75032c4
Requires:         %{_sysconfdir}/my.cnf.d
27a9fc8
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
Jakub Dorňák bf0a83b
%{?mecab:Requires: mecab-ipadic}
61b324e
Requires:         coreutils
9d8b442
Requires(pre):    /usr/sbin/useradd
75032c4
# We require this to be present for %%{_tmpfilesdir}
9d8b442
Requires:         systemd
7a5573f
# Make sure it's there when scriptlets run, too
Honza Horak 43d8322
%{?systemd_requires: %systemd_requires}
756300c
# SYS_NICE capabilities; #1540946
756300c
Recommends:       libcap
f4c1cfd
# semanage
f4c1cfd
Requires(post):   policycoreutils-python-utils
756300c
421f344
# Aditional SELinux rules (common for MariaDB & MySQL) shipped in a separate package
421f344
# For cases, where we want to fix a SELinux issues in MySQL sooner than patched selinux-policy-targeted package is released
421f344
%if %require_mysql_selinux
421f344
Requires:         (mysql-selinux if selinux-policy-targeted)
421f344
%endif
421f344
1e9e908
%if %{with mysql_names}
27a9fc8
Provides:         mysql-server = %{sameevr}
27a9fc8
Provides:         mysql-server%{?_isa} = %{sameevr}
27a9fc8
Provides:         mysql-compat-server = %{sameevr}
27a9fc8
Provides:         mysql-compat-server%{?_isa} = %{sameevr}
1e9e908
%endif
8fcbdd7
%{?with_conflicts:Conflicts:        mariadb-server}
8fcbdd7
%{?with_conflicts:Conflicts:        mariadb-galera-server}
7a5573f
9d8b442
%description      server
7a5573f
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
7a5573f
client/server implementation consisting of a server daemon (mysqld)
7a5573f
and many different client programs and libraries. This package contains
7a5573f
the MySQL server and some accompanying files and directories.
7a5573f
7a5573f
75032c4
%if %{with devel}
9d8b442
%package          devel
9d8b442
Summary:          Files for development of MySQL applications
df95dc8
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
b404ef3
Requires:         openssl-devel
Norvald H. Ryeng ff1ca85
Requires:         zlib-devel
c722da2
Requires:         libzstd-devel
8fcbdd7
%{?with_conflicts:Conflicts:        mariadb-devel}
7a5573f
9d8b442
%description      devel
7a5573f
MySQL is a multi-user, multi-threaded SQL database server. This
7a5573f
package contains the libraries and header files that are needed for
7a5573f
developing MySQL client applications.
75032c4
%endif
7a5573f
75032c4
%if %{with test}
9d8b442
%package          test
9d8b442
Summary:          The test suite distributed with MySQL
27a9fc8
Requires:         %{name}%{?_isa} = %{sameevr}
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
27a9fc8
Requires:         %{name}-server%{?_isa} = %{sameevr}
a4a6473
Requires:         gzip
a4a6473
Requires:         lz4
Lars Tangvald dbb00c9
Requires:         openssl
Jakub Dorňák bf0a83b
Requires:         perl(Digest::file)
Jakub Dorňák bf0a83b
Requires:         perl(Digest::MD5)
75032c4
Requires:         perl(Env)
75032c4
Requires:         perl(Exporter)
75032c4
Requires:         perl(Fcntl)
75032c4
Requires:         perl(File::Temp)
Lars Tangvald c816b33
Requires:         perl(FindBin)
75032c4
Requires:         perl(Data::Dumper)
75032c4
Requires:         perl(Getopt::Long)
75032c4
Requires:         perl(IPC::Open3)
Norvald H. Ryeng 5e9f498
Requires:         perl(JSON)
a4a6473
Requires:         perl(LWP::Simple)
a4a6473
Requires:         perl(Memoize)
75032c4
Requires:         perl(Socket)
75032c4
Requires:         perl(Sys::Hostname)
75032c4
Requires:         perl(Test::More)
75032c4
Requires:         perl(Time::HiRes)
8fcbdd7
%{?with_conflicts:Conflicts:        mariadb-test}
1e9e908
%if %{with mysql_names}
27a9fc8
Provides:         mysql-test = %{sameevr}
27a9fc8
Provides:         mysql-test%{?_isa} = %{sameevr}
1e9e908
%endif
7a5573f
Honza Horak 43d8322
%description      test
7a5573f
MySQL is a multi-user, multi-threaded SQL database server. This
7a5573f
package contains the regression test suite distributed with
7a5573f
the MySQL sources.
75032c4
%endif
7a5573f
9d8b442
7a5573f
%prep
0ba73f9
%setup -q -n mysql-%{version}
75032c4
%patch1 -p1
7a5573f
%patch2 -p1
Norvald H. Ryeng 2f29560
%patch3 -p1
7a5573f
%patch4 -p1
75032c4
%patch5 -p1
75032c4
%patch51 -p1
75032c4
%patch52 -p1
7c7c8b3
%patch55 -p1
a4a6473
%patch75 -p1
7da55b4
%patch78 -p1
Bjorn Munch 5f2a76b
Jakub Dorňák 44a4c48
# Patch Boost
784581a
pushd boost/boost_$(echo %{boost_bundled_version}| tr . _)
Jakub Dorňák 44a4c48
%patch115 -p0
Jakub Dorňák 44a4c48
%patch125 -p1
Jakub Dorňák 44a4c48
popd
Jakub Dorňák bf0a83b
Bjorn Munch 5f2a76b
# Modify tests to pass on all archs
Bjorn Munch 5f2a76b
pushd mysql-test
Jakub Dorňák 891c072
Bjorn Munch 5f2a76b
add_test () {
Lars Tangvald 780acf2
    echo "$1" : BUG#0 "${@:2}" >> %{skiplist}
Bjorn Munch 5f2a76b
}
7a5573f
Jakub Dorňák 891c072
touch %{skiplist}
Jakub Dorňák 891c072
Lars Tangvald dbb00c9
add_test innodb.redo_log_archive_04 failed since 8.0.17
Lars Tangvald dbb00c9
add_test clone.remote_dml_no_binlog failed since 8.0.17
Lars Tangvald 36e47c3
add_test auth_sec.keyring_file_data_qa sporadic since 8.0.19
Lars Tangvald 36e47c3
add_test collations.chinese sporadic since 8.0.19
Lars Tangvald dbb00c9
Lars Tangvald c816b33
# Fails when -DENABLED_LOCAL_INFILE=ON
Lars Tangvald c816b33
add_test main.mysql_load_data_local_dir local infile on
Lars Tangvald c816b33
f62df44
add_test rpl.rpl_row_jsondiff_basic_pk failed since 8.0.22
f62df44
add_test rpl.rpl_row_jsondiff_basic_nokey failed since 8.0.22
f62df44
Lars Tangvald 780acf2
# These tests fail on armv7hl; last check 8.0.16
6b973cd
%ifarch %arm aarch64
Lars Tangvald 780acf2
add_test gis.st_latitude
Lars Tangvald 780acf2
add_test gis.st_longitude
Lars Tangvald 780acf2
# Missing hw counters
Lars Tangvald 780acf2
add_test perfschema.func_file_io          missing hw on arm32
Lars Tangvald 780acf2
add_test perfschema.func_mutex            missing hw on arm32
Lars Tangvald 780acf2
add_test perfschema.global_read_lock      missing hw on arm32
Lars Tangvald 780acf2
add_test perfschema.setup_objects         missing hw on arm32
Lars Tangvald 36e47c3
# Test added in 8.0.19
Lars Tangvald 36e47c3
add_test clone.remote_error_basic max_allowed_packet is 0
Lars Tangvald 36e47c3
# Failing in ~90% of times
1b305cc
add_test innodb.create_tablespace
1b305cc
%endif
d5605e5
4e311fe
%ifarch s390x
4e311fe
# Fails since F32 Mass Rebuild
4e311fe
add_test gis.geometry_class_attri_prop
4e311fe
add_test gis.geometry_property_function_issimple
4e311fe
add_test gis.gis_bugs_crashes
4e311fe
add_test gis.spatial_analysis_functions_buffer
4e311fe
add_test gis.spatial_analysis_functions_centroid
4e311fe
add_test gis.spatial_analysis_functions_distance
4e311fe
add_test gis.spatial_operators_intersection
4e311fe
add_test gis.spatial_op_testingfunc_mix
4e311fe
add_test gis.spatial_utility_function_distance_sphere
4e311fe
add_test gis.spatial_utility_function_simplify
4e311fe
add_test innodb.log_encrypt_kill main.with_recursive
4e311fe
add_test innodb.mysqldump_max_recordsize
4e311fe
add_test main.lock_multi_bug38499
4e311fe
add_test main.window_std_var
4e311fe
add_test main.window_std_var_optimized
4e311fe
add_test main.with_recursive
b98f39f
b98f39f
# Fails since 8.0.21
b98f39f
add_test x.resource_groups
b98f39f
add_test gis.spatial_operators_symdifference
b98f39f
add_test gis.spatial_operators_union
b98f39f
87520de
# Fails since 8.0.22
87520de
add_test main.subquery_bugs
87520de
4e311fe
%endif
4e311fe
f62df44
%ifarch %arm
f62df44
# Fails since 8.0.22
f62df44
add_test perfschema.relaylog
f62df44
f62df44
%endif
f62df44
218698f
# mysql-test
Bjorn Munch 5f2a76b
popd
7a5573f
7e955cd
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
7e955cd
   %{SOURCE14} %{SOURCE15} %{SOURCE17} %{SOURCE18} %{SOURCE31} scripts
99fd710
7a5573f
%build
1e4b405
# arm build ends with out of memory error for LTO enabled build
1e4b405
%ifarch %arm
1e4b405
%define _lto_cflags %{nil}
1e4b405
%endif
f374a62
7a5573f
# fail quickly and obviously if user tries to build as root
7a5573f
%if %runselftest
9d8b442
    if [ x"$(id -u)" = "x0" ]; then
9d8b442
        echo "mysql's regression tests fail if run as root."
9d8b442
        echo "If you really need to build the RPM as root, use"
9d8b442
        echo "--nocheck to skip the regression tests."
9d8b442
        exit 1
9d8b442
    fi
7a5573f
%endif
7a5573f
7a5573f
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
7a5573f
# so we can't use %%{_datadir} and so forth here.
218698f
%cmake \
245bbf8
         -DBUILD_CONFIG=mysql_release \
9d8b442
         -DFEATURE_SET="community" \
9d8b442
         -DINSTALL_LAYOUT=RPM \
99fd710
         -DDAEMON_NAME="%{daemon_name}" \
062422d
         -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
c48a49a
         -DLOG_LOCATION="%{logfile}" \
062422d
         -DPID_FILE_DIR="%{pidfiledir}" \
75032c4
         -DNICE_PROJECT_NAME="MySQL" \
9d8b442
         -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
c48a49a
         -DSYSCONFDIR="%{_sysconfdir}" \
e11843d
         -DSYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
245cc80
         -DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
245cc80
         -DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
9d8b442
         -DINSTALL_INCLUDEDIR=include/mysql \
9d8b442
         -DINSTALL_INFODIR=share/info \
Norvald H. Ryeng 2f29560
         -DINSTALL_LIBEXECDIR=libexec \
9d8b442
         -DINSTALL_LIBDIR="%{_lib}/mysql" \
7c7c8b3
         -DRPATH_LIBDIR="%{_libdir}" \
9d8b442
         -DINSTALL_MANDIR=share/man \
245cc80
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
9d8b442
         -DINSTALL_MYSQLTESTDIR=share/mysql-test \
9d8b442
         -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
Norvald H. Ryeng 2f29560
         -DINSTALL_SBINDIR=bin \
245cc80
         -DINSTALL_SUPPORTFILESDIR=share/%{pkg_name} \
8fcbdd7
         -DMYSQL_DATADIR="%{dbdatadir}" \
8fcbdd7
         -DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
9d8b442
         -DENABLED_LOCAL_INFILE=ON \
Jakub Dorňák bf0a83b
         -DWITH_SYSTEMD=1 \
Jakub Dorňák bf0a83b
         -DSYSTEMD_SERVICE_NAME="%{daemon_name}" \
Jakub Dorňák bf0a83b
         -DSYSTEMD_PID_DIR="%{pidfiledir}" \
038583b
         -DWITH_INNODB_MEMCACHED=ON \
Norvald H. Ryeng ff1ca85
%ifnarch aarch64 %{arm} s390 s390x
Norvald H. Ryeng ff1ca85
         -DWITH_NUMA=ON \
Norvald H. Ryeng ff1ca85
%endif
525141d
%ifarch s390 s390x armv7hl
a4a6473
         -DUSE_LD_GOLD=OFF \
a4a6473
%endif
Lars Tangvald 780acf2
         -DWITH_ROUTER=OFF \
Norvald H. Ryeng 905ffd5
         -DWITH_SYSTEM_LIBS=ON \
20de77e
         -DWITH_MECAB=system \
218698f
         -DWITH_BOOST=boost \
Norvald H. Ryeng 905ffd5
         -DREPRODUCIBLE_BUILD=OFF \
3ff9598
         -DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
Norvald Ryeng a51381c
         -DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
f374a62
         -DCMAKE_EXE_LINKER_FLAGS="-pie %{build_ldflags}" \
f374a62
%{?with_debug: -DWITH_DEBUG=1} \
f374a62
%{?with_debug: -DMYSQL_MAINTAINER_MODE=0} \
c48a49a
         -DTMPDIR=/var/tmp \
f374a62
         -DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \
f374a62
         -DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \
ff2b8dc
         -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}"
7a5573f
525141d
# Note: linking with GOLD disabled on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698
525141d
218698f
cmake -B %{_vpath_builddir} -LAH
ffd96fa
218698f
%cmake_build
75032c4
7a5573f
%install
218698f
%cmake_install
7a5573f
20d65c4
# multilib support for shell scripts
Honza Horak 43d8322
# we only apply this to known Red Hat multilib arches, per bug #181335
20d65c4
if %multilib_capable; then
Bjorn Munch 5f2a76b
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
218698f
install -p -m 0755 %{_vpath_builddir}/scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
20d65c4
fi
7a5573f
7a5573f
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
75032c4
# but that's pretty wacko --- see also %%{name}-file-contents.patch)
218698f
install -p -m 0644 %{_vpath_builddir}/Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
218698f
install -p -m 0644 %{_vpath_builddir}/Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
7a5573f
75032c4
mkdir -p %{buildroot}%{logfiledir}
7a5573f
062422d
mkdir -p %{buildroot}%{pidfiledir}
8fcbdd7
install -p -m 0755 -d %{buildroot}%{dbdatadir}
1d9080e
install -p -m 0750 -d %{buildroot}%{_localstatedir}/lib/mysql-files
1998188
install -p -m 0700 -d %{buildroot}%{_localstatedir}/lib/mysql-keyring
7a5573f
c4225a6
%if %{with config}
218698f
install -D -p -m 0644 %{_vpath_builddir}/scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
5ec838a
%endif
7a5573f
9d8b442
# install systemd unit files and scripts for handling server startup
218698f
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
218698f
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}@.service
218698f
install -D -p -m 0644 %{_vpath_builddir}/scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{daemon_name}.conf
1d6166c
rm -r %{buildroot}%{_tmpfilesdir}/mysql.conf
75032c4
75032c4
# helper scripts for service starting
218698f
install -D -p -m 755 %{_vpath_builddir}/scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
218698f
install -p -m 755 %{_vpath_builddir}/scripts/mysql-wait-stop %{buildroot}%{_libexecdir}/mysql-wait-stop
218698f
install -p -m 755 %{_vpath_builddir}/scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
218698f
install -p -m 644 %{_vpath_builddir}/scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
218698f
install -D -p -m 0644 %{_vpath_builddir}/scripts/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
7a5573f
41d78fe
rm %{buildroot}%{_libdir}/mysql/*.a
1d6166c
rm %{buildroot}%{_mandir}/man1/comp_err.1*
7a5573f
7a5573f
# put logrotate script where it needs to be
75032c4
mkdir -p %{buildroot}%{logrotateddir}
245cc80
mv %{buildroot}%{_datadir}/%{pkg_name}/mysql-log-rotate %{buildroot}%{logrotateddir}/%{daemon_name}
75032c4
chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
9d8b442
75032c4
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
75032c4
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
7a5573f
d9f9c9c
# for back-ward compatibility and SELinux, let's keep the mysqld in libexec
d9f9c9c
# and just create a symlink in /usr/sbin
d9f9c9c
mv %{buildroot}%{_bindir}/mysqld %{buildroot}%{_libexecdir}/mysqld
d9f9c9c
mkdir -p %{buildroot}%{_sbindir}
d9f9c9c
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
d9f9c9c
3ff9598
%if %{with debug}
d9f9c9c
mv %{buildroot}%{_bindir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
3ff9598
%endif
3ff9598
7a5573f
# copy additional docs into build tree so %%doc will find them
218698f
install -p -m 0644 %{SOURCE6} %{_vpath_srcdir}/%{basename:%{SOURCE6}}
218698f
install -p -m 0644 %{SOURCE7} %{_vpath_srcdir}/%{basename:%{SOURCE7}}
9d8b442
9d8b442
# Install the list of skipped tests to be available for user runs
218698f
install -p -m 0644 %{_vpath_srcdir}/mysql-test/%{skiplist} %{buildroot}%{_datadir}/mysql-test
9d8b442
75032c4
%if %{without clibrary}
c99fec2
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
1d6166c
rm -r %{buildroot}%{_libdir}/mysql/libmysqlclient*.so.*
1d6166c
rm -r %{buildroot}%{_sysconfdir}/ld.so.conf.d
75032c4
%endif
75032c4
75032c4
%if %{without devel}
1d6166c
rm %{buildroot}%{_bindir}/mysql_config*
1d6166c
rm -r %{buildroot}%{_includedir}/mysql
1d6166c
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
1d6166c
rm %{buildroot}%{_libdir}/pkgconfig/mysqlclient.pc
1d6166c
rm %{buildroot}%{_libdir}/mysql/libmysqlclient*.so
1d6166c
rm %{buildroot}%{_mandir}/man1/mysql_config.1*
75032c4
%endif
75032c4
75032c4
%if %{without client}
1d6166c
rm %{buildroot}%{_bindir}/{mysql,mysql_config_editor,\
Jakub Dorňák bf0a83b
mysql_plugin,mysqladmin,mysqlbinlog,\
Jakub Dorňák bf0a83b
mysqlcheck,mysqldump,mysqlpump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}
1d6166c
rm %{buildroot}%{_mandir}/man1/{mysql,mysql_config_editor,\
Jakub Dorňák bf0a83b
mysql_plugin,mysqladmin,mysqlbinlog,\
Jakub Dorňák bf0a83b
mysqlcheck,mysqldump,mysqlpump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}.1*
75032c4
%endif
75032c4
c4225a6
%if %{with config}
c4225a6
mkdir -p %{buildroot}%{_sysconfdir}/my.cnf.d
c4225a6
%else
1d6166c
#rm %{buildroot}%{_sysconfdir}/my.cnf
c4225a6
%endif
c4225a6
c4225a6
%if %{without common}
1d6166c
rm -r %{buildroot}%{_datadir}/%{pkg_name}/charsets
75032c4
%endif
75032c4
75032c4
%if %{without errmsg}
Lars Tangvald 36e47c3
rm %{buildroot}%{_datadir}/%{pkg_name}/{messages_to_error_log.txt,messages_to_clients.txt}
1d6166c
rm -r %{buildroot}%{_datadir}/%{pkg_name}/{english,bulgarian,czech,danish,dutch,estonian,\
75032c4
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
75032c4
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian}
75032c4
%endif
75032c4
75032c4
%if %{without test}
08e55cb
rm %{buildroot}%{_bindir}/{mysql_client_test,mysqlxtest,mysqltest_safe_process,zlib_decompress}
1d6166c
rm -r %{buildroot}%{_datadir}/mysql-test
75032c4
%endif
75032c4
9d8b442
%check
75032c4
%if %{with test}
9d8b442
%if %runselftest
218698f
pushd %_vpath_builddir
Bjorn Munch 5f2a76b
make test VERBOSE=1
Bjorn Munch 5f2a76b
pushd mysql-test
Bjorn Munch 5f2a76b
cp ../../mysql-test/%{skiplist} .
e2b0b78
# builds might happen at the same host, avoid collision
e2b0b78
export MTR_BUILD_THREAD=%{__isa_bits}
6b973cd
a4a6473
./mtr %{?with_debug:--debug-server} \
Norvald H. Ryeng 9bd5aae
  --mem --parallel=auto --force --retry=2 \
7190edc
  --mysqld=--binlog-format=mixed \
Bjorn Munch 5f2a76b
  --suite-timeout=720 --testcase-timeout=30 \
Norvald H. Ryeng 77ff3a5
  --report-unstable-tests --clean-vardir \
Jakub Dorňák bf0a83b
%if %{check_testsuite}
6b973cd
  --max-test-fail=0 || :
Jakub Dorňák bf0a83b
%else
Jakub Dorňák bf0a83b
  --skip-test-list=%{skiplist}
Jakub Dorňák bf0a83b
%endif
Lars Tangvald 780acf2
rm -r var $(readlink var)
Bjorn Munch 5f2a76b
popd
Bjorn Munch 5f2a76b
popd
9d8b442
%endif
75032c4
%endif
906d64a
7a5573f
%pre server
7a5573f
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
75032c4
/usr/sbin/useradd -M -N -g mysql -o -r -d %{mysqluserhome} -s /sbin/nologin \
9d8b442
  -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
7a5573f
7a5573f
%post server
75032c4
%systemd_post %{daemon_name}.service
Norvald H. Ryeng 51a726c
if [ ! -e "%{logfile}" -a ! -h "%{logfile}" ] ; then
Norvald H. Ryeng 51a726c
    install /dev/null -m0640 -omysql -gmysql "%{logfile}"
Norvald H. Ryeng 51a726c
fi
Norvald H. Ryeng 51a726c
7a5573f
%preun server
75032c4
%systemd_preun %{daemon_name}.service
7a5573f
7a5573f
%postun server
75032c4
%systemd_postun_with_restart %{daemon_name}.service
7a5573f
75032c4
%if %{with client}
4a93e49
%files
7a5573f
%{_bindir}/mysql
9d8b442
%{_bindir}/mysql_config_editor
7a5573f
%{_bindir}/mysqladmin
7a5573f
%{_bindir}/mysqlbinlog
7a5573f
%{_bindir}/mysqlcheck
7a5573f
%{_bindir}/mysqldump
7a5573f
%{_bindir}/mysqlimport
Jakub Dorňák bf0a83b
%{_bindir}/mysqlpump
7a5573f
%{_bindir}/mysqlshow
7a5573f
%{_bindir}/mysqlslap
7a5573f
7a5573f
%{_mandir}/man1/mysql.1*
9d8b442
%{_mandir}/man1/mysql_config_editor.1*
7a5573f
%{_mandir}/man1/mysqladmin.1*
9d8b442
%{_mandir}/man1/mysqlbinlog.1*
9d8b442
%{_mandir}/man1/mysqlcheck.1*
7a5573f
%{_mandir}/man1/mysqldump.1*
9d8b442
%{_mandir}/man1/mysqlimport.1*
Jakub Dorňák bf0a83b
%{_mandir}/man1/mysqlpump.1*
7a5573f
%{_mandir}/man1/mysqlshow.1*
7a5573f
%{_mandir}/man1/mysqlslap.1*
75032c4
%endif
7a5573f
75032c4
%if %{with clibrary}
7a5573f
%files libs
Honza Horak 43d8322
%{_libdir}/mysql/libmysqlclient*.so.*
Honza Horak 43d8322
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/*
75032c4
%endif
Honza Horak 43d8322
c4225a6
%if %{with config}
c4225a6
%files config
7a5573f
# although the default my.cnf contains only server settings, we put it in the
75032c4
# common package because it can be used for client settings too.
9d8b442
%dir %{_sysconfdir}/my.cnf.d
8fcbdd7
%config(noreplace) %{_sysconfdir}/my.cnf
Honza Horak 43d8322
%endif
c4225a6
c4225a6
%if %{with common}
c4225a6
%files common
a4a6473
%license LICENSE
a4a6473
%doc README README.mysql-license README.mysql-docs
c4225a6
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
8fcbdd7
%dir %{_libdir}/mysql
245cc80
%dir %{_datadir}/%{pkg_name}
245cc80
%{_datadir}/%{pkg_name}/charsets
75032c4
%endif
Honza Horak 43d8322
75032c4
%if %{with errmsg}
Honza Horak 43d8322
%files errmsg
Lars Tangvald 36e47c3
%{_datadir}/%{pkg_name}/messages_to_error_log.txt
Lars Tangvald 36e47c3
%{_datadir}/%{pkg_name}/messages_to_clients.txt
245cc80
%{_datadir}/%{pkg_name}/english
245cc80
%lang(bg) %{_datadir}/%{pkg_name}/bulgarian
245cc80
%lang(cs) %{_datadir}/%{pkg_name}/czech
245cc80
%lang(da) %{_datadir}/%{pkg_name}/danish
245cc80
%lang(nl) %{_datadir}/%{pkg_name}/dutch
245cc80
%lang(et) %{_datadir}/%{pkg_name}/estonian
245cc80
%lang(fr) %{_datadir}/%{pkg_name}/french
245cc80
%lang(de) %{_datadir}/%{pkg_name}/german
245cc80
%lang(el) %{_datadir}/%{pkg_name}/greek
245cc80
%lang(hu) %{_datadir}/%{pkg_name}/hungarian
245cc80
%lang(it) %{_datadir}/%{pkg_name}/italian
245cc80
%lang(ja) %{_datadir}/%{pkg_name}/japanese
245cc80
%lang(ko) %{_datadir}/%{pkg_name}/korean
245cc80
%lang(no) %{_datadir}/%{pkg_name}/norwegian
245cc80
%lang(no) %{_datadir}/%{pkg_name}/norwegian-ny
245cc80
%lang(pl) %{_datadir}/%{pkg_name}/polish
245cc80
%lang(pt) %{_datadir}/%{pkg_name}/portuguese
245cc80
%lang(ro) %{_datadir}/%{pkg_name}/romanian
245cc80
%lang(ru) %{_datadir}/%{pkg_name}/russian
245cc80
%lang(sr) %{_datadir}/%{pkg_name}/serbian
245cc80
%lang(sk) %{_datadir}/%{pkg_name}/slovak
245cc80
%lang(es) %{_datadir}/%{pkg_name}/spanish
245cc80
%lang(sv) %{_datadir}/%{pkg_name}/swedish
245cc80
%lang(uk) %{_datadir}/%{pkg_name}/ukrainian
75032c4
%endif
7a5573f
7a5573f
%files server
a4a6473
%{_bindir}/ibd2sdi
75032c4
%{_bindir}/myisamchk
7a5573f
%{_bindir}/myisam_ftdump
7a5573f
%{_bindir}/myisamlog
7a5573f
%{_bindir}/myisampack
a88a835
%{_bindir}/my_print_defaults
7a5573f
%{_bindir}/mysql_secure_installation
Jakub Dorňák bf0a83b
%{_bindir}/mysql_ssl_rsa_setup
7a5573f
%{_bindir}/mysql_tzinfo_to_sql
7a5573f
%{_bindir}/mysql_upgrade
Jakub Dorňák bf0a83b
%{_bindir}/mysqld_pre_systemd
7a5573f
%{_bindir}/mysqldumpslow
7a5573f
%{_bindir}/innochecksum
7a5573f
%{_bindir}/perror
7a5573f
245cc80
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
1eadb03
d9f9c9c
%{_sbindir}/mysqld
7c7c8b3
# sys_nice capability required for rhbz#1628814
7c7c8b3
%caps(cap_sys_nice=ep) %{_libexecdir}/mysqld
7a5573f
7a5573f
%{_libdir}/mysql/INFO_SRC
7a5573f
%{_libdir}/mysql/INFO_BIN
75032c4
%if %{without common}
245cc80
%dir %{_datadir}/%{pkg_name}
75032c4
%endif
75032c4
3b646db
%dir %{_libdir}/mysql/plugin
3b646db
%{_libdir}/mysql/plugin/adt_null.so
3b646db
%{_libdir}/mysql/plugin/auth_socket.so
3b646db
%{_libdir}/mysql/plugin/component_audit_api_message_emit.so
3b646db
%{_libdir}/mysql/plugin/component_log_filter_dragnet.so
3b646db
%{_libdir}/mysql/plugin/component_log_sink_json.so
3b646db
%{_libdir}/mysql/plugin/component_log_sink_syseventlog.so
3b646db
%{_libdir}/mysql/plugin/component_mysqlbackup.so
3b646db
%{_libdir}/mysql/plugin/component_validate_password.so
3b646db
%{_libdir}/mysql/plugin/connection_control.so
3b646db
%{_libdir}/mysql/plugin/daemon_example.ini
3b646db
%{_libdir}/mysql/plugin/ddl_rewriter.so
3b646db
%{_libdir}/mysql/plugin/group_replication.so
3b646db
%{_libdir}/mysql/plugin/ha_example.so
3b646db
%{_libdir}/mysql/plugin/ha_mock.so
3b646db
%{_libdir}/mysql/plugin/innodb_engine.so
3b646db
%{_libdir}/mysql/plugin/keyring_file.so
3b646db
%{_libdir}/mysql/plugin/keyring_udf.so
3b646db
%{_libdir}/mysql/plugin/libmemcached.so
20de77e
%{_libdir}/mysql/plugin/libpluginmecab.so
3b646db
%{_libdir}/mysql/plugin/locking_service.so
3b646db
%{_libdir}/mysql/plugin/mypluglib.so
3b646db
%{_libdir}/mysql/plugin/mysql_clone.so
3b646db
%{_libdir}/mysql/plugin/mysql_no_login.so
3b646db
%{_libdir}/mysql/plugin/rewrite_example.so
3b646db
%{_libdir}/mysql/plugin/rewriter.so
3b646db
%{_libdir}/mysql/plugin/semisync_master.so
3b646db
%{_libdir}/mysql/plugin/semisync_slave.so
3b646db
%{_libdir}/mysql/plugin/validate_password.so
3b646db
%{_libdir}/mysql/plugin/version_token.so
7a5573f
a4a6473
%{_mandir}/man1/ibd2sdi.1*
7a5573f
%{_mandir}/man1/myisamchk.1*
7a5573f
%{_mandir}/man1/myisamlog.1*
7a5573f
%{_mandir}/man1/myisampack.1*
7a5573f
%{_mandir}/man1/myisam_ftdump.1*
a88a835
%{_mandir}/man1/my_print_defaults.1*
7a5573f
%{_mandir}/man1/mysql_secure_installation.1*
Jakub Dorňák bf0a83b
%{_mandir}/man1/mysql_ssl_rsa_setup.1*
Jakub Dorňák bf0a83b
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
7a5573f
%{_mandir}/man1/mysql_upgrade.1*
7a5573f
%{_mandir}/man1/mysqldumpslow.1*
7a5573f
%{_mandir}/man1/mysqlman.1*
7a5573f
%{_mandir}/man1/innochecksum.1*
7a5573f
%{_mandir}/man1/perror.1*
Jakub Dorňák 44a4c48
%{_mandir}/man1/lz4_decompress.1*
7a5573f
%{_mandir}/man8/mysqld.8*
7a5573f
245cc80
%{_datadir}/%{pkg_name}/dictionary.txt
ffd96fa
%{_datadir}/%{pkg_name}/*.sql
Honza Horak 43d8322
7e955cd
%{_unitdir}/%{daemon_name}*
75032c4
%{_libexecdir}/mysql-prepare-db-dir
9abc751
%{_libexecdir}/mysql-wait-stop
75032c4
%{_libexecdir}/mysql-check-socket
75032c4
%{_libexecdir}/mysql-scripts-common
7a5573f
7e955cd
%{_tmpfilesdir}/%{daemon_name}.conf
8fcbdd7
%attr(0755,mysql,mysql) %dir %{dbdatadir}
1d9080e
%attr(0750,mysql,mysql) %dir %{_localstatedir}/lib/mysql-files
1998188
%attr(0700,mysql,mysql) %dir %{_localstatedir}/lib/mysql-keyring
062422d
%attr(0755,mysql,mysql) %dir %{pidfiledir}
12a01a4
%attr(0750,mysql,mysql) %dir %{logfiledir}
75032c4
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
75032c4
%config(noreplace) %{logrotateddir}/%{daemon_name}
7a5573f
75032c4
%if %{with devel}
7a5573f
%files devel
20d65c4
%{_bindir}/mysql_config*
Norvald H. Ryeng 51a726c
%exclude %{_bindir}/mysql_config_editor
7a5573f
%{_includedir}/mysql
7a5573f
%{_datadir}/aclocal/mysql.m4
c99fec2
%if %{with clibrary}
7a5573f
%{_libdir}/mysql/libmysqlclient.so
c99fec2
%endif
Jakub Dorňák bf0a83b
%{_libdir}/pkgconfig/mysqlclient.pc
Honza Horak 43d8322
%{_mandir}/man1/mysql_config.1*
75032c4
%endif
7a5573f
75032c4
%if %{with test}
7a5573f
%files test
7a5573f
%{_bindir}/mysql_client_test
Norvald H. Ryeng 51a726c
%{_bindir}/mysqltest
Lars Tangvald 780acf2
%{_bindir}/mysqltest_safe_process
Jakub Dorňák e9f8195
%{_bindir}/mysqlxtest
Lars Tangvald 36e47c3
%{_bindir}/mysqld_safe
Lars Tangvald 36e47c3
%{_bindir}/comp_err
08e55cb
%{_bindir}/zlib_decompress
7a5573f
%attr(-,mysql,mysql) %{_datadir}/mysql-test
08e55cb
%{_mandir}/man1/zlib_decompress.1*
3b646db
3b646db
%dir %{_libdir}/mysql/plugin
3b646db
%{_libdir}/mysql/plugin/auth.so
3b646db
%{_libdir}/mysql/plugin/auth_test_plugin.so
3b646db
%{_libdir}/mysql/plugin/component_example_component1.so
3b646db
%{_libdir}/mysql/plugin/component_example_component2.so
3b646db
%{_libdir}/mysql/plugin/component_example_component3.so
3b646db
%{_libdir}/mysql/plugin/component_log_sink_test.so
3b646db
%{_libdir}/mysql/plugin/component_mysqlx_global_reset.so
3b646db
%{_libdir}/mysql/plugin/component_pfs_example_component_population.so
3b646db
%{_libdir}/mysql/plugin/component_pfs_example.so
3b646db
%{_libdir}/mysql/plugin/component_test_audit_api_message.so
3b646db
%{_libdir}/mysql/plugin/component_test_backup_lock_service.so
3b646db
%{_libdir}/mysql/plugin/component_test_component_deinit.so
3b646db
%{_libdir}/mysql/plugin/component_test_host_application_signal.so
3b646db
%{_libdir}/mysql/plugin/component_test_mysql_current_thread_reader.so
3b646db
%{_libdir}/mysql/plugin/component_test_mysql_runtime_error.so
3b646db
%{_libdir}/mysql/plugin/component_test_pfs_notification.so
3b646db
%{_libdir}/mysql/plugin/component_test_pfs_resource_group.so
3b646db
%{_libdir}/mysql/plugin/component_test_status_var_service_int.so
3b646db
%{_libdir}/mysql/plugin/component_test_status_var_service_reg_only.so
3b646db
%{_libdir}/mysql/plugin/component_test_status_var_service.so
3b646db
%{_libdir}/mysql/plugin/component_test_status_var_service_str.so
3b646db
%{_libdir}/mysql/plugin/component_test_status_var_service_unreg_only.so
3b646db
%{_libdir}/mysql/plugin/component_test_string_service_charset.so
3b646db
%{_libdir}/mysql/plugin/component_test_string_service_long.so
3b646db
%{_libdir}/mysql/plugin/component_test_string_service.so
3b646db
%{_libdir}/mysql/plugin/component_test_system_variable_source.so
3b646db
%{_libdir}/mysql/plugin/component_test_sys_var_service_int.so
3b646db
%{_libdir}/mysql/plugin/component_test_sys_var_service_same.so
3b646db
%{_libdir}/mysql/plugin/component_test_sys_var_service.so
3b646db
%{_libdir}/mysql/plugin/component_test_sys_var_service_str.so
3b646db
%{_libdir}/mysql/plugin/component_test_udf_registration.so
3b646db
%{_libdir}/mysql/plugin/component_test_udf_services.so
3b646db
%{_libdir}/mysql/plugin/component_udf_reg_3_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_reg_avg_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_reg_int_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_reg_int_same_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_reg_only_3_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_reg_real_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_unreg_3_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_unreg_int_func.so
3b646db
%{_libdir}/mysql/plugin/component_udf_unreg_real_func.so
3b646db
%{_libdir}/mysql/plugin/libdaemon_example.so
3b646db
%{_libdir}/mysql/plugin/libtest_framework.so
3b646db
%{_libdir}/mysql/plugin/libtest_services.so
3b646db
%{_libdir}/mysql/plugin/libtest_services_threaded.so
3b646db
%{_libdir}/mysql/plugin/libtest_session_attach.so
3b646db
%{_libdir}/mysql/plugin/libtest_session_detach.so
3b646db
%{_libdir}/mysql/plugin/libtest_session_info.so
3b646db
%{_libdir}/mysql/plugin/libtest_session_in_thd.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_2_sessions.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_all_col_types.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_cmds_1.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_commit.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_complex.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_errors.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_lock.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_processlist.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_replication.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_reset_connection.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_shutdown.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_sqlmode.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_stmt.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_stored_procedures_functions.so
3b646db
%{_libdir}/mysql/plugin/libtest_sql_views_triggers.so
3b646db
%{_libdir}/mysql/plugin/libtest_x_sessions_deinit.so
3b646db
%{_libdir}/mysql/plugin/libtest_x_sessions_init.so
3b646db
%{_libdir}/mysql/plugin/pfs_example_plugin_employee.so
3b646db
%{_libdir}/mysql/plugin/qa_auth_client.so
3b646db
%{_libdir}/mysql/plugin/qa_auth_interface.so
3b646db
%{_libdir}/mysql/plugin/qa_auth_server.so
3b646db
%{_libdir}/mysql/plugin/replication_observers_example_plugin.so
3b646db
%{_libdir}/mysql/plugin/test_security_context.so
3b646db
%{_libdir}/mysql/plugin/test_services_host_application_signal.so
3b646db
%{_libdir}/mysql/plugin/test_services_plugin_registry.so
3b646db
%{_libdir}/mysql/plugin/test_udf_services.so
3b646db
%{_libdir}/mysql/plugin/udf_example.so
75032c4
%endif
7a5573f
7a5573f
%changelog
f62df44
* Wed Oct 21 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.22-1
f62df44
- Update to MySQL 8.0.22
f62df44
- community-mysql-certs-expired.patch patched by upstream
f62df44
- community-mysql-lto.patch patched by upstream
f62df44
363f5a1
* Tue Oct 20 2020 Jeff Law <law@redhat> - 8.0.21-16
363f5a1
- Fix another missing #include for gcc-11
363f5a1
f62df44
* Tue Oct 06 2020 Jeff Law <law@redhat> - 8.0.21-15
7da55b4
- Add missing #include for gcc-11
7da55b4
f62df44
* Thu Oct 01 13:33:42 CEST 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 8.0.21-14
2c54227
- Rebuilt for libevent 2.1.12 (again)
2c54227
a0d81df
* Wed Sep 23 2020 Adrian Reber <adrian@lisas.de> - 8.0.21-13
a0d81df
- Rebuilt for protobuf 3.13
a0d81df
2f05e65
* Tue Sep 15 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-12
2f05e65
- Rebuild due to libevent soname change
2f05e65
20de77e
* Tue Aug 25 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-11
20de77e
- Start building the MeCab plugin
20de77e
3b646db
* Mon Aug 24 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-10
3b646db
- Fix the filelist. A number of shared libraries in the plugindir
3b646db
  are part of the testsuite and thus should reside in *-test subpackage
3b646db
  It will be best to keep the file list explicit to avoid this in the future
3b646db
1e4b405
* Tue Aug 18 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-9
1e4b405
- I encounter the ARM memory exaustion in the end
1e4b405
  Looks like it is only issue on some machines
1e4b405
c7c5a5f
* Tue Aug 18 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-8
c7c5a5f
- I haven't encounter the ARM memory exaustion on Fedora build infrastructure
c7c5a5f
  Let's enable it and see how it will work
c7c5a5f
c7c5a5f
* Mon Aug 17 2020 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.21-7
Lars Tangvald c10b1b7
- Use upstream patch to enable LTO
Lars Tangvald c10b1b7
- Skip LTO on ARM due to out of memory issue
Lars Tangvald c10b1b7
218698f
* Thu Aug 13 2020 Michal Schorm <mschorm@redhat.com> - 8.0.21-6
218698f
- Do a proper out-of-source CMake builds
218698f
- Force the CMake change regarding the in-source builds also to F31 and F32
218698f
- Use CMake macros instead of cmake & make direct commands
218698f
- %%cmake macro covers the %%{set_build_flags}, so they are not needed
0904309
- Remove ancient obsoletes
218698f
784581a
* Wed Aug 12 2020 Honza Horak <hhorak@redhat.com> - 8.0.21-5
784581a
- Check that we have correct versions in bundled(*) Provides
d4f8a16
- Remove re2 dependency that is not needed any more
784581a
4d636e8
* Thu Aug 06 2020 Jeff Law <law@redhat.com> - 8.0.21-4
4d636e8
- Disable LTO
4d636e8
e0b1fcc
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.21-3
e0b1fcc
- Second attempt - Rebuilt for
e0b1fcc
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e0b1fcc
30e914f
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.21-2
30e914f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
30e914f
Lars Tangvald c816b33
* Fri Jul 17 2020 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.21-1
Lars Tangvald c816b33
- Update to MySQL 8.0.21
Lars Tangvald c816b33
5623b66
* Sun Jun 14 2020 Adrian Reber <adrian@lisas.de> - 8.0.20-3
5623b66
- Rebuilt for protobuf 3.12
5623b66
d405449
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 8.0.20-2
d405449
- Rebuild for ICU 67
d405449
Lars Tangvald 7834706
* Sun Apr 26 2020 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.20-1
Lars Tangvald 7834706
- Update to MySQL 8.0.20
Lars Tangvald 7834706
4899286
* Wed Apr 01 2020 Jitka Plesnikova <jplesnik@redhat.com> - 8.0.19-3
4899286
- Specify all perl dependencies
4899286
b8d09ea
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.19-2
b8d09ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b8d09ea
Lars Tangvald 36e47c3
* Thu Jan 02 2020 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.19-1
Lars Tangvald 36e47c3
- Update to MySQL 8.0.19
Lars Tangvald 36e47c3
420fa92
* Thu Dec 19 2019 Adrian Reber <adrian@lisas.de> - 8.0.18-6
420fa92
- Include patch to build against protobuf 3.11
420fa92
994efdc
* Thu Dec 19 2019 Orion Poplawski <orion@nwra.com> - 8.0.18-5
994efdc
- Rebuild for protobuf 3.11
994efdc
ff2b8dc
* Fri Nov 15 2019 Michal Schorm <mschorm@redhat.com> - 8.0.18-4
ff2b8dc
- Typo fixup
ff2b8dc
c722da2
* Mon Nov 11 2019 Michal Schorm <mschorm@redhat.com> - 8.0.18-3
c722da2
- Let the devel package require the libzstd-devel
c722da2
6915bb0
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 8.0.18-2
6915bb0
- Rebuild for ICU 65
6915bb0
Lars Tangvald 9be4f7f
* Mon Oct 14 2019 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.18-1
Lars Tangvald 9be4f7f
- Update to MySQL 8.0.18
Lars Tangvald 9be4f7f
f374a62
* Mon Aug 19 2019 Michal Schorm <mschorm@redhat.com> - 8.0.17-2
f374a62
- Use RELRO hardening on all binaries
f374a62
Lars Tangvald dbb00c9
* Wed Jul 31 2019 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.17-1
Lars Tangvald dbb00c9
- Update to MySQL 8.0.17
Lars Tangvald dbb00c9
8eefbd9
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.16-3
8eefbd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8eefbd9
7e955cd
* Wed May 01 2019 Michal Schorm <mschorm@redhat.com> - 8.0.16-2
7e955cd
- Remove SysVInit stuff, no longer needed
7e955cd
- Clean up the SPECfile
7e955cd
Lars Tangvald 780acf2
* Fri Apr 26 2019 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.16-1
Lars Tangvald 780acf2
- Update to MySQL 8.0.16
Lars Tangvald 780acf2
- Rediff sharedir patch
Lars Tangvald 780acf2
- Refresh skip list and use new, required format
Lars Tangvald 780acf2
- Remove GCC9 patch now upstream
Lars Tangvald 780acf2
- Upstream: my_safe_process renamed and moved into proper location
Lars Tangvald 780acf2
- Use upstream option to skip router build
Lars Tangvald 780acf2
- OpenSSL 1.1.1 and TLSv1.3 is now supported, enable tests
7ee5c2c
- Update version of bundled Boost
7ee5c2c
- Start requiring mysql-selinux package
Lars Tangvald 780acf2
6e1efab
* Mon Feb 11 2019 Michal Schorm <mschorm@redhat.com> - 8.0.15-1
6e1efab
- Update to MySQL 8.0.15
6e1efab
b5baffd
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.14-3
b5baffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b5baffd
7c7c8b3
* Sun Jan 27 2019 Honza Horak <hhorak@redhat.com> - 8.0.14-2
7c7c8b3
- Use RPATH for mysqld, so we can later set capabilities
7c7c8b3
- Set capabilities for mysqld the correct way
7c7c8b3
Lars Tangvald 6489882
* Mon Jan 21 2019 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.14-1
Lars Tangvald 6489882
- Update to MySQL 8.0.14
6b973cd
- Remove fedora version condition that are no longer relevant
6b973cd
- Update skipped tests list
6b973cd
- CVEs fixed: #1666778
6b973cd
  CVE-2019-2420 CVE-2019-2434 CVE-2019-2436 CVE-2019-2455 CVE-2019-2481
6b973cd
  CVE-2019-2482 CVE-2019-2486 CVE-2019-2494 CVE-2019-2495 CVE-2019-2502
6b973cd
  CVE-2019-2503 CVE-2019-2507 CVE-2019-2510 CVE-2019-2528 CVE-2019-2529
6b973cd
  CVE-2019-2530 CVE-2019-2531 CVE-2019-2532 CVE-2019-2533 CVE-2019-2534
6b973cd
  CVE-2019-2535 CVE-2019-2536 CVE-2019-2537 CVE-2019-2539
Lars Tangvald 6489882
421f344
* Wed Jan 16 2019 Michal Schorm <mschorm@redhat.com> - 8.0.13-3
421f344
- Tweak handling of the mysql-selinux requirement
421f344
ecc6b13
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 8.0.13-2
ecc6b13
- Rebuilt for libcrypt.so.2 (#1666033)
ecc6b13
ffd96fa
* Tue Oct 23 2018 Michal Schorm <mschorm@redhat.com> - 8.0.13-1
ffd96fa
- Rebase to 8.0.13
ffd96fa
- ICU patch removed; upstreamed
ffd96fa
- Patch for MySQL Router introduced. Do not build it.
ffd96fa
- CVEs fixed:
ffd96fa
  CVE-2018-3276 CVE-2018-3200 CVE-2018-3137 CVE-2018-3284 CVE-2018-3195
ffd96fa
  CVE-2018-3173 CVE-2018-3212 CVE-2018-3279 CVE-2018-3162 CVE-2018-3247
ffd96fa
  CVE-2018-3156 CVE-2018-3161 CVE-2018-3278 CVE-2018-3174 CVE-2018-3282
ffd96fa
  CVE-2018-3285 CVE-2018-3187 CVE-2018-3277 CVE-2018-3144 CVE-2018-3145
ffd96fa
  CVE-2018-3170 CVE-2018-3186 CVE-2018-3182 CVE-2018-3133 CVE-2018-3143
ffd96fa
  CVE-2018-3283 CVE-2018-3171 CVE-2018-3251 CVE-2018-3286 CVE-2018-3185
ffd96fa
  CVE-2018-3280 CVE-2018-3203 CVE-2018-3155
ffd96fa
756300c
* Thu Sep 06 2018 Michal Schorm <mschorm@redhat.com> - 8.0.12-2
756300c
- Fix the SYS_NICE capabilities
756300c
  Related: #1540946
f4c1cfd
- Add requires for the semanage binary
756300c
Norvald H. Ryeng 905ffd5
* Wed Aug 01 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 8.0.12-1
Norvald H. Ryeng 905ffd5
- Update to MySQL 8.0.12
Norvald H. Ryeng 905ffd5
12a01a4
* Tue Jul 17 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-5
12a01a4
- Move log file to a directory owned by mysql user
12a01a4
  Resolves: #1590369
b404ef3
- Use explicitly openssl-devel as dependency for -devel sub-package
12a01a4
d9f9c9c
* Thu Jul 12 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-4
d9f9c9c
- Move mysqld back to /usr/libexec, and create a symlink in /usr/sbin
d9f9c9c
4c6a98e
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.11-3
4c6a98e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4c6a98e
Norvald H. Ryeng 2f29560
* Mon May 14 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 8.0.11-2
Norvald H. Ryeng 2f29560
- MySQL 8.0 has notify support
Norvald H. Ryeng 2f29560
- SQL restart command needs MYSQLD_PARENT_PID=1
Norvald H. Ryeng 2f29560
- Increase LimitNOFILE
Norvald H. Ryeng 2f29560
- Disable symbolic links is default (and option deprecated)
Norvald H. Ryeng 2f29560
- Move mysqld to /usr/bin, with mysqld_safe gone there no reason
Norvald H. Ryeng 2f29560
  to have mysqld in libexec
Norvald H. Ryeng 2f29560
- FIPS mode is now supported:
Norvald H. Ryeng 2f29560
   https://dev.mysql.com/doc/refman/8.0/en/fips-mode.html
Norvald H. Ryeng 2f29560
- Remove legacy embedded refs from cnf files
Norvald H. Ryeng 2f29560
- Clean up patches: re-numbering and removing
Norvald H. Ryeng 2f29560
- Recommend to use systemctl edit to modify service files
Norvald H. Ryeng 2f29560
a4a6473
* Fri Apr 20 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 8.0.11-1
a4a6473
- Update to MySQL 8.0.11 (GA).
a4a6473
0535da7
* Thu Apr 19 2018 Michal Schorm <mschorm@redhat.com> - 5.7.22-1
0535da7
- Rebase to 5.7.22 version
0535da7
- CVE fixes: #1568963
0535da7
            CVE-2018-2755 CVE-2018-2758 CVE-2018-2759 CVE-2018-2761 CVE-2018-2762
0535da7
            CVE-2018-2766 CVE-2018-2769 CVE-2018-2771 CVE-2018-2773 CVE-2018-2775
0535da7
            CVE-2018-2776 CVE-2018-2777 CVE-2018-2778 CVE-2018-2779 CVE-2018-2780
0535da7
            CVE-2018-2781 CVE-2018-2782 CVE-2018-2784 CVE-2018-2786 CVE-2018-2787
0535da7
            CVE-2018-2810 CVE-2018-2812 CVE-2018-2813 CVE-2018-2816 CVE-2018-2817
0535da7
            CVE-2018-2818 CVE-2018-2819 CVE-2018-2839 CVE-2018-2846
0535da7
e49d56a
* Tue Feb 27 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-6
e49d56a
- Rebuilt after Rawhide & f28 & f27 & f26 merge
e49d56a
e8f86d7
* Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-5
88d3299
- Rebuilt for ldconfig_post and ldconfig_postun bug
88d3299
  Related: #1548331
88d3299
a88a835
* Mon Feb 19 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-3
a88a835
- Move my_print_defaults binary to the server package to resolve conflict with mariadb
a88a835
3622151
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.21-2
3622151
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
41d78fe
- Removed 'static' library subpackage
3622151
181a715
* Sun Jan 21 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.21-1
f07a920
- Update to MySQL 5.7.21, for various fixes described at
f07a920
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-21.html
f07a920
- Add rpcgen to buildrep
f07a920
- Add support for libtirpc
f07a920
- Fix for various CVEs listed on
f07a920
  http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
9afcfe2
- Add fix for libxcrypt - do not assume "crypt()" function is provided by glibc
9afcfe2
  Resolves: #1536881
f960602
- Fix obsoletes using isa macro, remove the line entirely
5c84754
  Resolves: #1537210
f07a920
5a03d7e
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 5.7.20-5
5a03d7e
- Rebuilt for switch to libxcrypt
5a03d7e
d662c89
* Tue Jan 02 2018 Michal Schorm <mschorm@redhat.com> - 5.7.20-4
d662c89
- Provide subackage with a client static library
d662c89
  Needed by mysql-connector-odbc package
d662c89
- Remove Group tag as it shouldn't be used anymore
d662c89
5bccc9c
* Sat Dec 09 2017 Honza Horak <hhorak@redhat.com> - 5.7.20-3
5bccc9c
- Port for OpenSSL 1.1
5bccc9c
  Fix tests that expect some particular ciphers
5bccc9c
Norvald H. Ryeng 5c70dc0
* Tue Nov 28 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-2
Norvald H. Ryeng 5c70dc0
- In F>27 stick to upstream library version naming
Norvald H. Ryeng 5c70dc0
Norvald H. Ryeng 51a726c
* Wed Oct 25 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-1
Norvald H. Ryeng 51a726c
- Fix owner and perms on log file in post script
Norvald H. Ryeng 51a726c
  Related: #1497694
Norvald H. Ryeng 51a726c
Norvald H. Ryeng 51a726c
* Mon Oct 16 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.20-1
Norvald H. Ryeng 51a726c
- Update to MySQL 5.7.20, for various fixes described at
Norvald H. Ryeng 51a726c
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-20.html
Norvald H. Ryeng 51a726c
- Move all test binaries to -test package
Norvald H. Ryeng 51a726c
- Dont ship unneeded man pages on systemd platforms
Norvald H. Ryeng 51a726c
- Remove mysql_config_editor from -devel package, shipped in client
Norvald H. Ryeng 51a726c
- CVE fixes: #1503701
Norvald H. Ryeng 51a726c
            CVE-2017-10155 CVE-2017-10227 CVE-2017-10268 CVE-2017-10276 CVE-2017-10279
Norvald H. Ryeng 51a726c
            CVE-2017-10283 CVE-2017-10286 CVE-2017-10294 CVE-2017-10314 CVE-2017-10378
Norvald H. Ryeng 51a726c
            CVE-2017-10379 CVE-2017-10384
Norvald H. Ryeng 51a726c
8ac654b
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 5.7.19-6
8ac654b
- Add bundled(boost) virtual provide
7df1bd6
- Support --defaults-group-suffix option in systemd unit file
7df1bd6
  Related: #1400702
8ac654b
87ebae8
* Fri Aug 04 2017 Honza Horak <hhorak@redhat.com> - 5.7.19-5
87ebae8
- Allow to use MD5 in FIPS mode
87ebae8
  Related: #1449689
dd8b0ea
- Remove snippets from mysql-preparep-db-dir.sh that could have security impact
435e717
  Do not run parts of SysV init script as root if possible
dd8b0ea
  Related: CVE-2017-3312
bd72127
- Include mysqld@.service file and do not run start scripts in the unit file as root
87ebae8
db61b0f
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.19-4
db61b0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
db61b0f
96f4391
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.19-3
96f4391
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
96f4391
bd72127
* Tue Jul 25 2017 Michal Schorm <mschorm@redhat.com> - 5.7.19-2
7190edc
- Replication tests in the testsuite enabled, they don't fail anymore
7190edc
- Retry count in the testsuite dropped to 0
7190edc
Norvald H. Ryeng 77ff3a5
* Wed Jul 12 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.19-1
Norvald H. Ryeng 77ff3a5
- Update to MySQL 5.7.19, for various fixes described at
Norvald H. Ryeng 77ff3a5
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html
Norvald H. Ryeng 77ff3a5
- Use new --report-unstable-tests to handle unstable tests
Norvald H. Ryeng 77ff3a5
- Prefer /run over /var/run (#1462688)
7190edc
- Resolves: #1462688; /run
7190edc
            #1406172; random failures of the testsuite
7190edc
            #1417880, #1417883, #1417885, #1417887,  #1417890, #1417891, #1417893,
7190edc
            #1417894, #1417896; replication tests
7190edc
- CVE fixes: #1472716
7190edc
            CVE-2017-3633, CVE-2017-3634, CVE-2017-3635, CVE-2017-3641, CVE-2017-3647
7190edc
            CVE-2017-3648, CVE-2017-3649, CVE-2017-3651, CVE-2017-3652, CVE-2017-3653
Norvald H. Ryeng 77ff3a5
Igor Gnatenko 3e9e8cd
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 5.7.18-4
Igor Gnatenko 3e9e8cd
- Rebuild due to bug in RPM (RHBZ #1468476)
Igor Gnatenko 3e9e8cd
d8ac7a4
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7.18-3
d8ac7a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
d8ac7a4
1d6166c
* Wed Apr 19 2017 Michal Schorm <mschorm@redhat.com> - 5.7.18-2
1d6166c
- 'force' option for 'rm' removed in specfile
1d6166c
- CVEs fixed by previous commit, #1443407:
1d6166c
  CVE-2017-3308 CVE-2017-3309 CVE-2017-3329 CVE-2017-3450
1d6166c
  CVE-2017-3453 CVE-2017-3456 CVE-2017-3461 CVE-2017-3462
1d6166c
  CVE-2017-3463 CVE-2017-3464 CVE-2017-3599 CVE-2017-3600
1d6166c
Norvald H. Ryeng ef8535f
* Mon Apr 03 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.18-1
Norvald H. Ryeng ef8535f
- Update to MySQL 5.7.18, for various fixes described at
Norvald H. Ryeng ef8535f
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html
Norvald H. Ryeng ef8535f
- Remove patch for test fix now upstream
Norvald H. Ryeng ef8535f
- Sample my-*.cnf is gone
Norvald H. Ryeng ef8535f
edace6b
* Wed Feb 15 2017 Michal Schorm <mschorm@redhat.com> - 5.7.17-4
edace6b
- Fix of broken cross mysql-mariadb dependecies
edace6b
- Fix of community-mysql server-client dependecy
55aff2c
- Testsuite retry count lifted to 3 tries
edace6b
fddd774
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.17-3
fddd774
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fddd774
Norvald H. Ryeng a5b2635
* Wed Jan 04 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.17-2
Norvald H. Ryeng a5b2635
- Fix test that used a hardcoded date (2017-01-01)
Norvald H. Ryeng a5b2635
Norvald H. Ryeng ff1ca85
* Mon Dec 12 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.17-1
Norvald H. Ryeng ff1ca85
- Update to MySQL 5.7.17, for various fixes described at
Norvald H. Ryeng ff1ca85
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html
Norvald H. Ryeng ff1ca85
- Add new plugin: connnection_control.so
Norvald H. Ryeng ff1ca85
- Add MySQL Group Replication: group_replication.so
Norvald H. Ryeng ff1ca85
- Add numactl-devel to buildreq and enable NUMA support (if available)
Norvald H. Ryeng ff1ca85
- Simplify boost path
Norvald H. Ryeng ff1ca85
- Build compat-openssl10 in rawhide for now
Norvald H. Ryeng ff1ca85
- Reqs. in -devel packages was incomplete
Norvald H. Ryeng ff1ca85
Norvald H. Ryeng 6c7478e
* Tue Oct 18 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.16-1
Norvald H. Ryeng 6c7478e
- Update to MySQL 5.7.16, for various fixes described at
Norvald H. Ryeng 6c7478e
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-16.html
Norvald H. Ryeng 6c7478e
Norvald H. Ryeng 5e9f498
* Tue Sep 06 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.15-1
Norvald H. Ryeng 5e9f498
- Update to MySQL 5.7.15, for various fixes described at
Norvald H. Ryeng 5e9f498
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
Norvald H. Ryeng 5e9f498
- Remove patches now upstream (buf_block_align,  lz4)
Norvald H. Ryeng 5e9f498
- perl(JSON) needed for tests
Norvald H. Ryeng 7c7448b
- Adjust list of problematic tests
Norvald H. Ryeng 5e9f498
Norvald H. Ryeng 5e9f498
* Wed Aug 10 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.14-2
Norvald H. Ryeng 5e9f498
- Skip rpl tests, unstable in Fedora build environment
Norvald H. Ryeng 5e9f498
Norvald H. Ryeng 5e9f498
* Tue Aug 09 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.14-1
Norvald H. Ryeng 5e9f498
- Update to MySQL 5.7.14, for various fixes described at
Norvald H. Ryeng 5e9f498
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-14.html
Norvald H. Ryeng 5e9f498
- Remove patches for bugs fixed upstream
Norvald H. Ryeng 5e9f498
- Fix for bug #79378 (buf_block_align)
Norvald H. Ryeng 5e9f498
- Fix for bug #82426 (build failure with system liblz4)
Norvald H. Ryeng 5e9f498
- Further reduce list of tests known to fail on certain platforms
Norvald H. Ryeng 5e9f498
- Set check_testsuite to 0 to make sure the build fails if any tests fail
Norvald H. Ryeng 5e9f498
Norvald H. Ryeng 5e9f498
* Wed Jul 13 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.13-1
Norvald H. Ryeng 5e9f498
- Update to MySQL 5.7.13, for various fixes described at
Norvald H. Ryeng 5e9f498
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-13.html
Norvald H. Ryeng 5e9f498
20d65c4
* Mon Jun 27 2016 Pavel Raiskup <praiskup@redhat.com> - 5.7.12-2
20d65c4
- BR multilib-rpm-config and use it for multilib workarounds
20d65c4
Jakub Dorňák e9f8195
* Tue May 24 2016 Jakub Dorňák <jdornak@redhat.com> - 5.7.12-1
Jakub Dorňák e9f8195
- Update to 5.7.12
Jakub Dorňák e9f8195
  Thanks to Norvald H. Ryeng
Jakub Dorňák e9f8195
12f495c
* Sun Feb 14 2016 Honza Horak <hhorak@redhat.com> - 5.7.11-2
12f495c
- Remove duplicate tmpfiles.d file
12f495c
  Resolves: #1288216
12f495c
1998188
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 5.7.11-1
1998188
- Update to 5.7.11
1998188
  Thanks to Norvald H. Ryeng
1998188
  Removing tar ball with boost and using mysql tar ball with boost bundled
1998188
eddc6ae
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.10-3
eddc6ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eddc6ae
1d9080e
* Wed Jan 27 2016 Honza Horak <hhorak@redhat.com> - 5.7.10-2
1d9080e
- Use mysqld instead of mysqld_safe (mysqld_safe not necessary for 5.7)
1d9080e
  Use mysqld --initialize-insecure instead of mysql_install_db
1d9080e
  Create /var/lib/mysql-files (used by secure-file-priv)
1d9080e
    http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv
1d9080e
  Remove unnecessary Perl dependencies (mysqlhotcopy was removed in 5.7)
1d9080e
  Thanks Norvald H. Ryeng
1d9080e
Jakub Dorňák 44a4c48
* Wed Dec 16 2015 Jakub Dorňák <jdornak@redhat.com> - 5.7.10-1
Jakub Dorňák 44a4c48
- Update to 5.7.10
Jakub Dorňák 44a4c48
Jakub Dorňák bf0a83b
* Fri Oct  2 2015 Jakub Dorňák <jdornak@redhat.com> - 5.7.9-1
Jakub Dorňák bf0a83b
- Update to 5.7.9
Jakub Dorňák bf0a83b
Jakub Dorňák e82d4dd
* Thu Oct  1 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.27-1
Jakub Dorňák e82d4dd
- Update to 5.6.27
Jakub Dorňák e82d4dd
Jakub Dorňák 39ca453
* Thu Jul 30 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.26-1
Jakub Dorňák 39ca453
- Update to 5.6.26
Jakub Dorňák 39ca453
Jakub Dorňák fa509c7
* Tue Jul 21 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.25-1
Jakub Dorňák fa509c7
- Update to 5.6.25
Jakub Dorňák fa509c7
149b312
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.24-4
149b312
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
149b312
Bjorn Munch 19dd401
* Thu Apr 23 2015 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.24-3
Bjorn Munch 19dd401
- gcc5 makes gcc49-aarch64 patch obsolete (and wrong)
Bjorn Munch 19dd401
51a58b5
* Fri Apr 10 2015 Honza Horak <hhorak@redhat.com> - 5.6.24-2
51a58b5
- Fix for big integers on gcc5
51a58b5
5bece5d
* Thu Apr 09 2015 Honza Horak <hhorak@redhat.com> - 5.6.24-1
5bece5d
- Update to 5.6.24
5bece5d
062422d
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-4
062422d
- Do not use scl prefix more than once in paths
062422d
  Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
42a566e
- Check permissions when starting service on RHEL-6
42a566e
  Resolves: #1194699
9abc751
- Wait for daemon ends
9abc751
  Related: #1072958
062422d
90502f1
* Mon Feb 23 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-3
90502f1
- Expand paths in perl scripts in mysql-test
d90e5b1
- Use correct path in install_db script warning
82d026e
- Use --no-defaults when checking server status before starting
90502f1
Bjorn Munch 3266fef
* Thu Jan 29 2015 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.23-1
Bjorn Munch 3266fef
- Update to MySQL 5.6.23, for various fixes described at
Bjorn Munch 3266fef
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-23.html
Bjorn Munch 3266fef
- Expired certs patch now obsolete
Bjorn Munch 3266fef
- Fixed changelog
Bjorn Munch 3266fef
- Refreshed file contents patch
47a5490
- Man pages fixed upstream
Bjorn Munch 3266fef
- Fix typo in server.cnf.in
Bjorn Munch 3266fef
e406525
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-6
e406525
- Do not own /var/log
e406525
e11843d
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-5
e11843d
- Use correct dir for config files
e11843d
740a4a0
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-4
740a4a0
- Move server settings to renamed config file under my.cnf.d dir
740a4a0
8fcbdd7
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-3
8fcbdd7
- Fix path for sysconfig file
8fcbdd7
  Filter provides in el6 properly
8fcbdd7
  Fix initscript file location
8fcbdd7
1eadb03
* Mon Jan 12 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-2
1eadb03
- Add configuration file for server
1eadb03
Jakub Dorňák 891c072
* Wed Dec  3 2014 Jakub Dorňák <jdornak@redhat.com> - 5.6.22-1
Jakub Dorňák 891c072
- Update to MySQL 5.6.22
Jakub Dorňák 891c072
Bjorn Munch e29bd9d
* Wed Oct 08 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.21-5
Bjorn Munch e29bd9d
- Fix rhbz #1149986
Bjorn Munch e29bd9d
1e9e908
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 5.6.21-4
1e9e908
- Add bcond_without mysql_names
1e9e908
0d2208e
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 5.6.21-3
0d2208e
- Check upgrade script added to warn about need for mysql_upgrade
69f97d3
- Move mysql_plugin into base and errmsg-utf8.txt into -errmsg to correspond
69f97d3
  with MariaDB upstream packages
3ff9598
- Add with_debug option
0d2208e
Bjorn Munch c9f01ef
* Thu Sep 25 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.21-2
Bjorn Munch c9f01ef
- Using %%cmake macro break some tests, reverted
Bjorn Munch c9f01ef
- Unwanted dtrace dep fixed upstream
Bjorn Munch c9f01ef
7894e5c
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-1
7894e5c
- Update to MySQL 5.6.21, for various fixes described at
7894e5c
  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-21.html
7894e5c
568d54e
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-5
568d54e
- Fix paths in mysql_install_db script
568d54e
  Related: #1134328
245bbf8
- Use %%cmake macro
33065de
- Install systemd service file on RHEL-7+
33065de
  Server requires any mysql package, so it should be fine with older client
568d54e
e99685b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.20-4
e99685b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e99685b
c4225a6
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-3
c4225a6
- Introduce -config subpackage and ship base config files here
c4225a6
27a9fc8
* Tue Aug 05 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-2
27a9fc8
- Adopt changes from mariadb to sync spec files
27a9fc8
Bjorn Munch 02226f4
* Thu Jul 31 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.20-1
Bjorn Munch 02226f4
- Update to MySQL 5.6.20, for various fixes described at
Bjorn Munch 02226f4
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html
Bjorn Munch 02226f4
- Rebase install and pluginerrmsg patch
Bjorn Munch 02226f4
- Drop dos2unix from buildreq, files fixed upstream
Bjorn Munch 02226f4
- No need to add -O3, it's default
Bjorn Munch 02226f4
- LDFLAGS is passed by cmake option, not from environment
Bjorn Munch 02226f4
- Using __requires_exclude in conditional don't seems to work, swap
Bjorn Munch 02226f4
  to dist macros
Bjorn Munch 02226f4
- Avoid unwanted dtrace dep
Bjorn Munch 02226f4
- Fix mysql.init and mysql-prepare-db-dir
Bjorn Munch 02226f4
- Logfile name must match value from /etc/my.cnf (and be known
Bjorn Munch 02226f4
  by SELinux policy)
Bjorn Munch 02226f4
99fd710
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-5
c48a49a
- Hardcoded paths removed to work fine in chroot
75032c4
- Spec rewrite to be more similar to oterh MySQL implementations
75032c4
- Include SysV init script if built on older system
75032c4
- Add possibility to not ship some sub-packages
99fd710
- Port scripts for systemd unit from MariaDB
99fd710
Honza Horak 43d8322
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-4
Honza Horak 43d8322
- Port some latest changes from MariaDB package to sync those packages
Honza Horak 43d8322
- Error messages now provided by a separate package (thanks Alexander Barkov)
Honza Horak 43d8322
1d0f053
* Fri Jun 27 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-3
1d0f053
- Add mysql-compat-server symbol, common symbol for arbitrary MySQL
1d0f053
  implementation
5ec838a
- Require /etc/my.cnf instead of shipping it
dff09ae
- Server requires any compatible mysql-compat-client package
1d0f053
Bjorn Munch fbe934c
* Thu Jun 12 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.19-2
Bjorn Munch fbe934c
- Fix build on aarch64
Bjorn Munch fbe934c
- Rebase cipherspec patch
Bjorn Munch fbe934c
022daca
* Wed Jun 11 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.19-1
022daca
- Update to MySQL 5.6.19, for various fixes described at
022daca
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-19.html
022daca
- outfile_loaddata resolved on all archs
022daca
- Solaris files not installed, no need to remove
022daca
- Simplify multilib install
edace6b
- Use install's -D option some places
022daca
- Add explicit conflict with mariadb-galera-server
022daca
e52ad46
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.17-3
e52ad46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e52ad46
e2b0b78
* Fri Apr 18 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.17-2
e2b0b78
- Fix multiple mtr sessions
e2b0b78
Bjorn Munch 5f2a76b
* Fri Apr 04 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.17-1
Bjorn Munch 5f2a76b
- Update to MySQL 5.6.17, for various fixes described at
Bjorn Munch 5f2a76b
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-17.html
Bjorn Munch 5f2a76b
- libmysqld built as shared lib now supported upstream
Bjorn Munch 5f2a76b
- Remove patches now upstream: truncate-file, rhbz1059545, ssltest
Bjorn Munch 5f2a76b
  and regex-werror
Bjorn Munch 5f2a76b
- Use more standard (and tested) build flags, while still respect
Bjorn Munch 5f2a76b
  optflags and hardened_build
Bjorn Munch 5f2a76b
- libmysqlclient_r* symlinks are fixed upstream
Bjorn Munch 5f2a76b
- Remove sysv to systemd logic
Bjorn Munch 5f2a76b
- Rework skipping of arch specific tests
Bjorn Munch 5f2a76b
- Multiple mtr sessions are supported by default
Bjorn Munch 5f2a76b
a49d466
* Mon Feb  3 2014 Honza Horak <hhorak@redhat.com> 5.6.16-2
a49d466
- Rebuild -man-pages.patch to apply smoothly
a49d466
a49d466
* Fri Jan 31 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.16-1
a49d466
- Update to MySQL 5.6.16, for various fixes described at
a49d466
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-16.html
a49d466
- Patches now upstream: tmpdir, cve-2013-1861, covscan-signexpr,
a49d466
  covscan-stroverflow
a49d466
- Fixed upstream: innodbwarn
a49d466
- ldconfig needed in embedded subpackage
a49d466
- Remove unused generate-tarball.sh from tree
a49d466
- Rediff mysql-install patch
a49d466
- Make symvers 18 default, provide symvers 16 for backward compat
a49d466
  (bz #1045013)
a49d466
- Man page patch disabled due too many conflicts
a49d466
- Memcached build patched to not remove -Werror=<something> in CFLAGS
a49d466
b2325d2
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 5.6.15-4
b2325d2
  Fix for CVE-2014-0001
b2325d2
  Resolves: #1059545
6f8e826
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
6f8e826
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
6f8e826
  Related: #1044565
b2325d2
f2e31ad
* Fri Jan 24 2014 Honza Horak <hhorak@redhat.com> 5.6.15-3
f2e31ad
- Disable tests for ppc(64) and s390(x):
f2e31ad
  innodb.innodb_ctype_ldml main.ctype_ldml main.ps_ddl main.ps_ddl1
f2e31ad
  Related: #1056972
f2e31ad
7fad07b
* Mon Dec 16 2013 Honza Horak <hhorak@redhat.com> 5.6.15-2
7fad07b
- Some spec file clean-up based on Bjorn Munch's suggestions
038583b
- Enable InnoDB Memcached plugin
7fad07b
1d21d16
* Mon Dec  9 2013 Honza Horak <hhorak@redhat.com> 5.6.15-1
1d21d16
- Update to MySQL 5.6.15, for various fixes described at
1d21d16
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-15.html
1d21d16
458c978
* Fri Oct 11 2013 Honza Horak <hhorak@redhat.com> 5.6.14-2
458c978
- Fix my.cnf to not conflict with mariadb
458c978
  Resolves: #1003115
458c978
9d8b442
* Wed Oct  9 2013 Honza Horak <hhorak@redhat.com> 5.6.14-1
9d8b442
- Update to MySQL 5.6.14, for various fixes described at
9d8b442
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-14.html
9d8b442
- Incorporate changes done by Bjorn Munch <bjorn.munch@oracle.com>
9d8b442
0a86414
* Mon Sep  2 2013 Honza Horak <hhorak@redhat.com> 5.5.33-2
0a86414
- Enhanced my.cnf to be the same as in mariadb
0a86414
  Resolves: #1003115
0a86414
0a42b35
* Tue Aug 20 2013 Honza Horak <hhorak@redhat.com> 5.5.33-1
0a42b35
- Update to MySQL 5.5.33, for various fixes described at
0a42b35
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-33.html
0a42b35
0a42b35
* Tue Aug 20 2013 Honza Horak <hhorak@redhat.com> 5.5.32-12
4b58197
- Fix multilib header location for arm
4b58197
66b5ce1
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 5.5.32-11
66b5ce1
- Perl 5.18 rebuild
66b5ce1
b982a18
* Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> 5.5.32-10
b982a18
- Copy some generated files in order find-debuginfo.sh finds them
b982a18
  Related: #729040
1fd05dc
- Fix systemd and perl requirements
b982a18
b531bff
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.5.32-9
b531bff
- Perl 5.18 rebuild
b531bff
f335c11
* Mon Jul 15 2013 Honza Horak <hhorak@redhat.com> 5.5.32-8
f335c11
- Revert path change to ldconfig, UsrMove is not complete yet
f335c11
99dcbef
* Wed Jul 10 2013 Honza Horak <hhorak@redhat.com> 5.5.32-7
99dcbef
- Arm support for multilib hacks
99dcbef
56c556f
* Tue Jul  9 2013 Honza Horak <hhorak@redhat.com> 5.5.32-6
56c556f
- Use proper path to ldconfig
affa944
- Use xz instead of gzip
affa944
  Resolves: #982387
56c556f
e8e5360
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 5.5.32-5
e8e5360
- Fix misleading error message when uninstalling built-in plugins
e8e5360
  Related: #966645
e8e5360
f3c10fc
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 5.5.32-4
f3c10fc
- Remove external man pages, upstream fixed man pages license
62be228
- Apply fixes found by Coverity static analysis tool
f3c10fc
850e75a
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 5.5.32-3
d3b12fb
- Use man pages from 5.5.30, because their license do not
d3b12fb
  allow us to ship them since 5.5.31
d3b12fb
906d64a
* Fri Jun  7 2013 Honza Horak <hhorak@redhat.com> 5.5.32-1
906d64a
- Update to MySQL 5.5.32, for various fixes described at
906d64a
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-32.html
906d64a
4e46615
* Mon Jun  3 2013 Honza Horak <hhorak@redhat.com> 5.5.31-7
4e46615
- Use /var/tmp as default tmpdir to prevent potential issues
4e46615
  Resolves: #905635
7d20638
- Fix test suite requirements
80c5bbd
- Fix for CVE-2013-1861 backported from MariaDB
80c5bbd
  Resolves: #921836
4e46615
8652d15
* Wed May 29 2013 Jan Stanek <jstanek@redhat.com> 5.5.31-6
8652d15
- Added missing command-line options to man-pages (#948930)
8652d15
de34d33
* Tue Apr 30 2013 Honza Horak <hhorak@redhat.com> 5.5.31-5
de34d33
- Remove mysql provides from devel sub-packages to not build against
de34d33
  community-mysql if mysql-devel is specified
de34d33
654bf00
* Fri Apr 26 2013 Honza Horak <hhorak@redhat.com> 5.5.31-4
654bf00
- Fix building with relro and PIE
654bf00
bd951ae
* Thu Apr 25 2013 Honza Horak <hhorak@redhat.com> 5.5.31-3
bd951ae
- Fix paths in -plugin-test patch
bd951ae
eab6baa
* Mon Apr 22 2013 Honza Horak <hhorak@redhat.com> 5.5.31-2
eab6baa
- Build with _hardened_build
04d6ad3
- Fix some paths and require perl(Env), which is needed by tests
eab6baa
6fadff0
* Fri Apr 19 2013 Honza Horak <hhorak@redhat.com> 5.5.31-1
6fadff0
- Update to MySQL 5.5.31, for various fixes described at
6fadff0
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-31.html
6fadff0
7a5573f
* Wed Mar 20 2013 Honza Horak <hhorak@redhat.com> 5.5.30-5
7a5573f
- Renaming package MySQL to community-mysql to handle issues
7a5573f
  introduced by case-insensitive operations of yum and for proper
7a5573f
  prioritizing mariadb over community-mysql
7a5573f
7a5573f
* Tue Mar 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-4
7a5573f
- Allow server to be installed without client side
7a5573f
- Separate -lib and -common sub-packages
7a5573f
- Fix some path issues in tests
7a5573f
7a5573f
* Mon Mar 11 2013 Honza Horak <hhorak@redhat.com> 5.5.30-3
7a5573f
- Adjusting major soname number of libmysqlclient to avoid
7a5573f
  library name conflicts with mariadb
7a5573f
7a5573f
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-1
7a5573f
- Update to MySQL 5.5.30, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-30.html
7a5573f
7a5573f
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
7a5573f
- Use real- prefix for cross-package requirements
7a5573f
7a5573f
* Mon Feb 11 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
7a5573f
- Provide own symbols with real- prefix to distinguish packages from other
7a5573f
  MySQL implementations unambiguously
7a5573f
7a5573f
* Wed Jan  2 2013 Tom Lane <tgl@redhat.com> 5.5.29-1
7a5573f
- Update to MySQL 5.5.29, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-29.html
7a5573f
- Fix inaccurate default for socket location in mysqld-wait-ready
7a5573f
Resolves: #890535
7a5573f
7a5573f
* Thu Dec  6 2012 Honza Horak <hhorak@redhat.com> 5.5.28-3
7a5573f
- Rebase patches to not leave backup files when not applied smoothly
7a5573f
- Use --no-backup-if-mismatch to prevent including backup files
7a5573f
7a5573f
* Wed Dec  5 2012 Tom Lane <tgl@redhat.com> 5.5.28-2
7a5573f
- Add patch for CVE-2012-5611
7a5573f
Resolves: #883642
7a5573f
- Widen DH key length from 512 to 1024 bits to meet minimum requirements
7a5573f
  of FIPS 140-2
7a5573f
Related: #877124
7a5573f
7a5573f
* Sat Sep 29 2012 Tom Lane <tgl@redhat.com> 5.5.28-1
7a5573f
- Update to MySQL 5.5.28, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html
7a5573f
- Clean up partially-created database files when mysql_install_db fails
7a5573f
Related: #835131
7a5573f
- Honor user and group settings from service file in mysqld-prepare-db-dir
7a5573f
Resolves: #840431
7a5573f
- Export THR_KEY_mysys as a workaround for inadequate threading support
7a5573f
Resolves: #846602
7a5573f
- Adopt new systemd macros for server package install/uninstall triggers
7a5573f
Resolves: #850222
7a5573f
- Use --no-defaults when invoking mysqladmin to wait for the server to start
7a5573f
Related: #855704
7a5573f
7a5573f
* Sun Aug  5 2012 Tom Lane <tgl@redhat.com> 5.5.27-1
7a5573f
- Update to MySQL 5.5.27, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-27.html
7a5573f
7a5573f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.25a-2
7a5573f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7a5573f
7a5573f
* Fri Jul  6 2012 Tom Lane <tgl@redhat.com> 5.5.25a-1
7a5573f
- Update to MySQL 5.5.25a, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25a.html
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25.html
7a5573f
- Don't use systemd's Restart feature; rely on mysqld_safe instead
7a5573f
Resolves: #832029
7a5573f
7a5573f
* Mon Jun 11 2012 Tom Lane <tgl@redhat.com> 5.5.24-1
7a5573f
- Update to MySQL 5.5.24, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html
7a5573f
  including the fix for CVE-2012-2122
7a5573f
Resolves: #830680
7a5573f
- Tweak logrotate script to put the right permissions on mysqld.log
7a5573f
- Minor specfile fixes for recent packaging guidelines changes
7a5573f
7a5573f
* Sat Apr 28 2012 Tom Lane <tgl@redhat.com> 5.5.23-1
7a5573f
- Update to MySQL 5.5.23, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-23.html
7a5573f
7a5573f
* Sat Mar 24 2012 Tom Lane <tgl@redhat.com> 5.5.22-1
7a5573f
- Update to MySQL 5.5.22, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-22.html
7a5573f
- Turn on PrivateTmp in service file
7a5573f
Resolves: #782513
7a5573f
- Comment out the contents of /etc/logrotate.d/mysqld, so that manual
7a5573f
  action is needed to enable log rotation.  Given the multiple ways in
7a5573f
  which the rotation script can fail, it seems imprudent to try to make
7a5573f
  it run by default.
7a5573f
Resolves: #799735
7a5573f
7a5573f
* Tue Mar 20 2012 Honza Horak <hhorak@redhat.com> 5.5.21-3
7a5573f
- Revise mysql_plugin test patch so it moves plugin files to
7a5573f
  a temporary directory (better solution to #789530)
7a5573f
7a5573f
* Tue Mar 13 2012 Honza Horak <hhorak@redhat.com> 5.5.21-2
7a5573f
- Fix ssl-related tests to specify expected cipher explicitly
7a5573f
Related: #789600
7a5573f
- Fix several strcpy calls to check destination size
7a5573f
7a5573f
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 5.5.21-1
7a5573f
- Update to MySQL 5.5.21, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-21.html
7a5573f
- Hack openssl regression test to still work with rawhide's openssl
7a5573f
- Fix assorted failures in post-install regression tests (mysql-test RPM)
7a5573f
Resolves: #789530
7a5573f
7a5573f
* Fri Feb 10 2012 Tom Lane <tgl@redhat.com> 5.5.20-2
7a5573f
- Revise our test-disabling method to make it possible to disable tests on a
7a5573f
  platform-specific basis, and also to get rid of mysql-disable-test.patch,
7a5573f
  which broke in just about every upstream update (Honza Horak)
7a5573f
- Disable cycle-counter-dependent regression tests on ARM, since there is
7a5573f
  not currently any support for that in Fedora ARM kernels
7a5573f
Resolves: #773116
7a5573f
- Add some comments to mysqld.service documenting how to customize it
7a5573f
Resolves: #785243
7a5573f
7a5573f
* Fri Jan 27 2012 Tom Lane <tgl@redhat.com> 5.5.20-1
7a5573f
- Update to MySQL 5.5.20, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html
7a5573f
  as well as security fixes described at
7a5573f
  http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
7a5573f
Resolves: #783828
7a5573f
- Re-include the mysqld logrotate script, now that it's not so bogus
7a5573f
Resolves: #547007
7a5573f
7a5573f
* Wed Jan  4 2012 Tom Lane <tgl@redhat.com> 5.5.19-1
7a5573f
- Update to MySQL 5.5.19, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html
7a5573f
7a5573f
* Sun Nov 20 2011 Tom Lane <tgl@redhat.com> 5.5.18-1
7a5573f
- Update to MySQL 5.5.18, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-18.html
7a5573f
7a5573f
* Sat Nov 12 2011 Tom Lane <tgl@redhat.com> 5.5.17-1
7a5573f
- Update to MySQL 5.5.17, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-17.html
7a5573f
- Get rid of version-number assumption in sysv-to-systemd conversion trigger
7a5573f
7a5573f
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 5.5.16-4
7a5573f
- Don't assume all ethernet devices are named ethX
7a5573f
Resolves: #682365
7a5573f
- Exclude user definition from my.cnf, user is defined in mysqld.service now
7a5573f
Resolves: #661265
7a5573f
7a5573f
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-3
7a5573f
- Fix unportable usage associated with va_list arguments
7a5573f
Resolves: #744707
7a5573f
7a5573f
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-2
7a5573f
- Update to MySQL 5.5.16, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-16.html
7a5573f
7a5573f
* Fri Jul 29 2011 Tom Lane <tgl@redhat.com> 5.5.15-2
7a5573f
- Update to MySQL 5.5.15, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-15.html
7a5573f
7a5573f
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 5.5.14-3
7a5573f
- Convert to systemd startup support (no socket activation, for now anyway)
7a5573f
Related: #714426
7a5573f
7a5573f
* Tue Jul 12 2011 Tom Lane <tgl@redhat.com> 5.5.14-2
7a5573f
- Remove make_scrambled_password and make_scrambled_password_323 from mysql.h,
7a5573f
  since we're not allowing clients to call those functions anyway
7a5573f
Related: #690346
7a5573f
7a5573f
* Mon Jul 11 2011 Tom Lane <tgl@redhat.com> 5.5.14-1
7a5573f
- Update to MySQL 5.5.14, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-14.html
7a5573f
7a5573f
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 5.5.13-2
7a5573f
- Remove erroneously-included Default-Start line from LSB init block
7a5573f
Resolves: #717024
7a5573f
7a5573f
* Thu Jun  2 2011 Tom Lane <tgl@redhat.com> 5.5.13-1
7a5573f
- Update to MySQL 5.5.13, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-13.html
7a5573f
7a5573f
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.12-1
7a5573f
- Update to MySQL 5.5.12, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-12.html
7a5573f
7a5573f
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.10-3
7a5573f
- Add LSB init block to initscript, to ensure sane ordering at system boot
7a5573f
Resolves: #703214
7a5573f
- Improve initscript start action to notice when mysqladmin is failing
7a5573f
  because of configuration problems
7a5573f
Related: #703476
7a5573f
- Remove exclusion of "gis" regression test, since upstream bug 59908
7a5573f
  is fixed (for some value of "fixed") as of 5.5.10.
7a5573f
7a5573f
* Wed Mar 23 2011 Tom Lane <tgl@redhat.com> 5.5.10-2
7a5573f
- Add my_make_scrambled_password to the list of symbols exported by
7a5573f
  libmysqlclient.so.  Needed at least by pure-ftpd.
7a5573f
7a5573f
* Mon Mar 21 2011 Tom Lane <tgl@redhat.com> 5.5.10-1
7a5573f
- Update to MySQL 5.5.10, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-10.html
7a5573f
  Note that this includes a rather belated soname version bump for
7a5573f
  libmysqlclient.so, from .16 to .18
7a5573f
- Add tmpfiles.d config file so that /var/run/mysqld is recreated at boot
7a5573f
  (only needed in Fedora 15 and later)
7a5573f
Resolves: #658938
7a5573f
7a5573f
* Wed Feb 16 2011 Tom Lane <tgl@redhat.com> 5.5.9-2
7a5573f
- Disable a regression test that is now showing platform-dependent results
7a5573f
Resolves: #674253
7a5573f
7a5573f
* Sat Feb 12 2011 Tom Lane <tgl@redhat.com> 5.5.9-1
7a5573f
- Update to MySQL 5.5.9, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-9.html
7a5573f
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
7a5573f
7a5573f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.8-10
7a5573f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7a5573f
7a5573f
* Fri Feb  4 2011 Tom Lane <tgl@redhat.com> 5.5.8-9
7a5573f
- Support s390/s390x in performance schema's cycle-counting functions
7a5573f
  (needed to make regression tests pass on these platforms)
7a5573f
7a5573f
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-8
7a5573f
- PPC64 floating-point differences are not masked by -ffloat-store after all,
7a5573f
  so let's just disable gis regression test till upstream makes it less picky
7a5573f
Resolves: #674253
7a5573f
- Add __perllib_requires setting to make rpm 4.9 do what we need
7a5573f
7a5573f
* Wed Feb  2 2011 Tom Lane <tgl@redhat.com> 5.5.8-7
7a5573f
- Work around some portability issues on PPC64
7a5573f
Resolves: #674253
7a5573f
7a5573f
* Thu Jan 20 2011 Tom Lane <tgl@redhat.com> 5.5.8-6
7a5573f
- Remove no-longer-needed special switches in CXXFLAGS, per yesterday's
7a5573f
  discussion in fedora-devel about -fexceptions.
7a5573f
- Rebuild needed anyway to check compatibility with latest systemtap.
7a5573f
7a5573f
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-5
7a5573f
- Fix failure to honor MYSQL_HOME environment variable
7a5573f
Resolves: #669364
7a5573f
7a5573f
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-4
7a5573f
- Fix crash during startup of embedded mysqld library
7a5573f
Resolves: #667365
7a5573f
7a5573f
* Mon Jan  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-3
7a5573f
- my_print_help, load_defaults, free_defaults, and handle_options all turn
7a5573f
  out to be documented/recommended in Paul DuBois' MySQL book, so we'd better
7a5573f
  consider them part of the de-facto API.
7a5573f
Resolves: #666728
7a5573f
7a5573f
* Mon Dec 27 2010 Tom Lane <tgl@redhat.com> 5.5.8-2
7a5573f
- Add mysql_client_errors[] to the set of exported libmysqlclient symbols;
7a5573f
  needed by PHP.
7a5573f
7a5573f
* Thu Dec 23 2010 Tom Lane <tgl@redhat.com> 5.5.8-1
7a5573f
- Update to MySQL 5.5.8 (major version bump).  Note this includes removal
7a5573f
  of libmysqlclient_r.so.
7a5573f
- Add a linker version script to hide libmysqlclient functions that aren't
7a5573f
  part of the documented API.
7a5573f
7a5573f
* Mon Nov  1 2010 Tom Lane <tgl@redhat.com> 5.1.52-1
7a5573f
- Update to MySQL 5.1.52, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-52.html
7a5573f
Resolves: #646569
7a5573f
7a5573f
* Thu Oct  7 2010 Tom Lane <tgl@redhat.com> 5.1.51-2
7a5573f
- Re-disable the outfile_loaddata test, per report from Dan Horak.
7a5573f
7a5573f
* Wed Oct  6 2010 Tom Lane <tgl@redhat.com> 5.1.51-1
7a5573f
- Update to MySQL 5.1.51, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
7a5573f
7a5573f
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-2
7a5573f
- Include my_compiler.h in distribution, per upstream bug #55846.
7a5573f
  Otherwise PHP, for example, won't build.
7a5573f
7a5573f
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-1
7a5573f
- Update to MySQL 5.1.50, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-50.html
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-49.html
7a5573f
7a5573f
* Wed Jul 14 2010 Tom Lane <tgl@redhat.com> 5.1.48-3
7a5573f
- Fix FTBFS with gcc 4.5.
7a5573f
Related: #614293
7a5573f
7a5573f
* Tue Jul 13 2010 Tom Lane <tgl@redhat.com> 5.1.48-2
7a5573f
- Duplicate COPYING and EXCEPTIONS-CLIENT in -libs and -embedded subpackages,
7a5573f
  to ensure they are available when any subset of mysql RPMs are installed,
7a5573f
  per revised packaging guidelines
7a5573f
- Allow init script's STARTTIMEOUT/STOPTIMEOUT to be overridden from sysconfig
7a5573f
Related: #609734
7a5573f
7a5573f
* Mon Jun 21 2010 Tom Lane <tgl@redhat.com> 5.1.48-1
7a5573f
- Update to MySQL 5.1.48, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
7a5573f
  including a fix for CVE-2010-2008
7a5573f
Related: #614214
7a5573f
7a5573f
* Fri Jun  4 2010 Tom Lane <tgl@redhat.com> 5.1.47-2
7a5573f
- Add back "partition" storage engine
7a5573f
Resolves: #597390
7a5573f
- Fix broken "federated" storage engine plugin
7a5573f
Related: #587170
7a5573f
- Read all certificates in SSL certificate files, to support chained certs
7a5573f
Related: #598656
7a5573f
7a5573f
* Mon May 24 2010 Tom Lane <tgl@redhat.com> 5.1.47-1
7a5573f
- Update to MySQL 5.1.47, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-47.html
7a5573f
  including fixes for CVE-2010-1848, CVE-2010-1849, CVE-2010-1850
7a5573f
Resolves: #592862
7a5573f
Resolves: #583717
7a5573f
- Create mysql group explicitly in pre-server script, to ensure correct GID
7a5573f
Related: #594155
7a5573f
7a5573f
* Sat Apr 24 2010 Tom Lane <tgl@redhat.com> 5.1.46-1
7a5573f
- Update to MySQL 5.1.46, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-46.html
7a5573f
7a5573f
* Thu Mar 25 2010 Tom Lane <tgl@redhat.com> 5.1.45-2
7a5573f
- Fix multiple problems described in upstream bug 52019, because regression
7a5573f
  tests fail on PPC if we don't.
7a5573f
7a5573f
* Wed Mar 24 2010 Tom Lane <tgl@redhat.com> 5.1.45-1
7a5573f
- Update to MySQL 5.1.45, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-45.html
7a5573f
7a5573f
* Sun Feb 21 2010 Tom Lane <tgl@redhat.com> 5.1.44-2
7a5573f
- Add "Obsoletes: mysql-cluster" to fix upgrade-in-place from F-12
7a5573f
- Bring init script into some modicum of compliance with Fedora/LSB standards
7a5573f
Related: #557711
7a5573f
Related: #562749
7a5573f
7a5573f
* Sat Feb 20 2010 Tom Lane <tgl@redhat.com> 5.1.44-1
7a5573f
- Update to MySQL 5.1.44, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html
7a5573f
- Remove mysql.info, which is not freely redistributable
7a5573f
Resolves: #560181
7a5573f
- Revert broken upstream fix for their bug 45058
7a5573f
Resolves: #566547
7a5573f
7a5573f
* Sat Feb 13 2010 Tom Lane <tgl@redhat.com> 5.1.43-2
7a5573f
- Remove mysql-cluster, which is no longer supported by upstream in this
7a5573f
  source distribution.  If we want it we'll need a separate SRPM for it.
7a5573f
7a5573f
* Fri Feb 12 2010 Tom Lane <tgl@redhat.com> 5.1.43-1
7a5573f
- Update to MySQL 5.1.43, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
7a5573f
7a5573f
* Fri Jan 29 2010 Tom Lane <tgl@redhat.com> 5.1.42-7
7a5573f
- Add backported patch for CVE-2008-7247 (upstream bug 39277)
7a5573f
Related: #543619
7a5573f
- Use non-expired certificates for SSL testing (upstream bug 50702)
7a5573f
7a5573f
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 5.1.42-6
7a5573f
- Emit explicit error message if user tries to build RPM as root
7a5573f
Related: #558915
7a5573f
7a5573f
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.42-5
7a5573f
- Correct Source0: tag and comment to reflect how to get the tarball
7a5573f
7a5573f
* Fri Jan  8 2010 Tom Lane <tgl@redhat.com> 5.1.42-4
7a5573f
- Disable symbolic links by default in /etc/my.cnf
7a5573f
Resolves: #553652
7a5573f
7a5573f
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 5.1.42-3
7a5573f
- Remove static libraries (.a files) from package, per packaging guidelines
7a5573f
- Change %%define to %%global, per packaging guidelines
7a5573f
7a5573f
* Sat Jan  2 2010 Tom Lane <tgl@redhat.com> 5.1.42-2
7a5573f
- Disable building the innodb plugin; it tickles assorted gcc bugs and
7a5573f
  doesn't seem entirely ready for prime time anyway.
7a5573f
7a5573f
* Fri Jan  1 2010 Tom Lane <tgl@redhat.com> 5.1.42-1
7a5573f
- Update to MySQL 5.1.42, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
7a5573f
- Start mysqld_safe with --basedir=/usr, to avoid unwanted SELinux messages
7a5573f
Resolves: #547485
7a5573f
7a5573f
* Thu Dec 17 2009 Tom Lane <tgl@redhat.com> 5.1.41-2
7a5573f
- Stop waiting during "service mysqld start" if mysqld_safe exits
7a5573f
Resolves: #544095
7a5573f
7a5573f
* Mon Nov 23 2009 Tom Lane <tgl@redhat.com> 5.1.41-1
7a5573f
- Update to MySQL 5.1.41, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
7a5573f
  including fixes for CVE-2009-4019
7a5573f
Related: #540906
7a5573f
- Don't set old_passwords=1; we aren't being bug-compatible with 3.23 anymore
7a5573f
Resolves: #540735
7a5573f
7a5573f
* Tue Nov 10 2009 Tom Lane <tgl@redhat.com> 5.1.40-1
7a5573f
- Update to MySQL 5.1.40, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html
7a5573f
- Do not force the --log-error setting in mysqld init script
7a5573f
Resolves: #533736
7a5573f
7a5573f
* Sat Oct 17 2009 Tom Lane <tgl@redhat.com> 5.1.39-4
7a5573f
- Replace kluge fix for ndbd sparc crash with a real fix (mysql bug 48132)
7a5573f
7a5573f
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 5.1.39-3
7a5573f
- Work around two different compiler bugs on sparc, one by backing off
7a5573f
  optimization from -O2 to -O1, and the other with a klugy patch
7a5573f
Related: #529298, #529299
7a5573f
- Clean up bogosity in multilib stub header support: ia64 should not be
7a5573f
  listed (it's not multilib), sparc and sparc64 should be
7a5573f
7a5573f
* Wed Sep 23 2009 Tom Lane <tgl@redhat.com> 5.1.39-2
7a5573f
- Work around upstream bug 46895 by disabling outfile_loaddata test
7a5573f
7a5573f
* Tue Sep 22 2009 Tom Lane <tgl@redhat.com> 5.1.39-1
7a5573f
- Update to MySQL 5.1.39, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html
7a5573f
7a5573f
* Mon Aug 31 2009 Tom Lane <tgl@redhat.com> 5.1.37-5
7a5573f
- Work around unportable assumptions about stpcpy(); re-enable main.mysql test
7a5573f
- Clean up some obsolete parameters to the configure script
7a5573f
7a5573f
* Sat Aug 29 2009 Tom Lane <tgl@redhat.com> 5.1.37-4
7a5573f
- Remove one misguided patch; turns out I was chasing a glibc bug
7a5573f
- Temporarily disable "main.mysql" test; there's something broken there too,
7a5573f
  but we need to get mysql built in rawhide for dependency reasons
7a5573f
7a5573f
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.1.37-3
7a5573f
- rebuilt with new openssl
7a5573f
7a5573f
* Fri Aug 14 2009 Tom Lane <tgl@redhat.com> 5.1.37-2
7a5573f
- Add a couple of patches to improve the probability of the regression tests
7a5573f
  completing in koji builds
7a5573f
7a5573f
* Sun Aug  2 2009 Tom Lane <tgl@redhat.com> 5.1.37-1
7a5573f
- Update to MySQL 5.1.37, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html
7a5573f
7a5573f
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.36-2
7a5573f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7a5573f
7a5573f
* Fri Jul 10 2009 Tom Lane <tgl@redhat.com> 5.1.36-1
7a5573f
- Update to MySQL 5.1.36, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html
7a5573f