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)
f11ed57
%{!?runselftest:%global runselftest 1}
9d8b442
Jakub Dorňák bf0a83b
# Set this to 1 to see which tests fail
Jakub Dorňák bf0a83b
%global check_testsuite 0
Jakub Dorňák bf0a83b
9d8b442
# set to 1 to enable
9d8b442
%global with_shared_lib_major_hack 1
9d8b442
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
8fcbdd7
# Use Full RELRO for all binaries (RHBZ#1092548)
9d8b442
%global _hardened_build 1
7a5573f
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
Bjorn Munch 5f2a76b
%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 embedded
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
75032c4
# Include files for SysV init or systemd
33065de
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
75032c4
%bcond_without init_systemd
75032c4
%bcond_with init_sysv
245cc80
%global daemondir %{_unitdir}
75032c4
%else
75032c4
%bcond_with init_systemd
75032c4
%bcond_without init_sysv
245cc80
%global daemondir %{_sysconfdir}/rc.d/init.d
75032c4
%endif
8fcbdd7
%global daemon_name mysqld
062422d
%global daemon_no_prefix mysqld
062422d
062422d
# Directory for storing pid file
062422d
%global pidfiledir %{_localstatedir}/run/%{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
75032c4
%global logfiledir %{_localstatedir}/log
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
Jakub Dorňák 44a4c48
Version:          5.7.10
Jakub Dorňák fa509c7
Release:          1%{?with_debug:.debug}%{?dist}
9d8b442
Summary:          MySQL client programs and shared libraries
9d8b442
Group:            Applications/Databases
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
Jakub Dorňák bf0a83b
Source0:          https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-%{version}.tar.gz
Jakub Dorňák 44a4c48
Source1:          http://downloads.sourceforge.net/boost/boost_1_59_0.tar.bz2
75032c4
Source2:          mysql_config_multilib.sh
c48a49a
Source3:          my.cnf.in
75032c4
Source4:          my_config.h
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
Source13:         mysql-wait-ready.sh
75032c4
Source14:         mysql-check-socket.sh
75032c4
Source15:         mysql-scripts-common.sh
0d2208e
Source16:         mysql-check-upgrade.sh
9abc751
Source17:         mysql-wait-stop.sh
0d2208e
Source19:         mysql.init.in
9d8b442
# To track rpmlint warnings
75032c4
Source30:         mysql-5.6.10-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
Jakub Dorňák bf0a83b
Patch3:           %{pkgnamepatch}-logrotate.patch
Jakub Dorňák bf0a83b
Patch4:           %{pkgnamepatch}-file-contents.patch
Jakub Dorňák bf0a83b
Patch5:           %{pkgnamepatch}-scripts.patch
Jakub Dorňák bf0a83b
Patch6:           %{pkgnamepatch}-paths.patch
75032c4
75032c4
# Patches specific for this mysql package
27a9fc8
Patch51:          %{pkgnamepatch}-chain-certs.patch
27a9fc8
Patch52:          %{pkgnamepatch}-sharedir.patch
Jakub Dorňák bf0a83b
Patch70:          %{pkgnamepatch}-5.7.9-major.patch
9d8b442
Jakub Dorňák 44a4c48
# Patches taken from boost 1.59
Jakub Dorňák 44a4c48
Patch104: boost-1.50.0-fix-non-utf8-files.patch
Jakub Dorňák 44a4c48
Patch105: boost-1.48.0-add-bjam-man-page.patch
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
Patch136: boost-1.57.0-spirit-unused_typedef.patch
Jakub Dorňák 44a4c48
Patch145: boost-1.54.0-locale-unused_typedef.patch
Jakub Dorňák 44a4c48
Patch151: boost-1.58.0-pool-test_linking.patch
Jakub Dorňák 44a4c48
Patch161: boost-1.57.0-python-libpython_dep.patch
Jakub Dorňák 44a4c48
Patch162: boost-1.57.0-python-abi_letters.patch
Jakub Dorňák 44a4c48
Patch163: boost-1.55.0-python-test-PyImport_AppendInittab.patch
Jakub Dorňák 44a4c48
Patch165: boost-1.57.0-build-optflags.patch
Jakub Dorňák 44a4c48
Patch168: boost-1.58.0-address-model.patch
Jakub Dorňák 44a4c48
Patch170: boost-1.59.0-log.patch
Jakub Dorňák 44a4c48
Patch180: boost-1.59-python-make_setter.patch
Jakub Dorňák 44a4c48
Patch181: boost-1.59-test-fenv.patch
Jakub Dorňák 44a4c48
9d8b442
BuildRequires:    cmake
9d8b442
BuildRequires:    libaio-devel
9d8b442
BuildRequires:    libedit-devel
9d8b442
BuildRequires:    libevent-devel
Jakub Dorňák bf0a83b
BuildRequires:    lz4-devel
Jakub Dorňák bf0a83b
BuildRequires:    mecab-devel
9d8b442
BuildRequires:    openssl-devel
9d8b442
BuildRequires:    perl
9d8b442
BuildRequires:    systemtap-sdt-devel
9d8b442
BuildRequires:    zlib-devel
9d8b442
# Tests requires time and ps and some perl modules
9d8b442
BuildRequires:    procps
9d8b442
BuildRequires:    time
Jakub Dorňák bf0a83b
BuildRequires:    perl(Digest::file)
Jakub Dorňák bf0a83b
BuildRequires:    perl(Digest::MD5)
9d8b442
BuildRequires:    perl(Env)
9d8b442
BuildRequires:    perl(Exporter)
9d8b442
BuildRequires:    perl(Fcntl)
9d8b442
BuildRequires:    perl(File::Temp)
75032c4
BuildRequires:    perl(Data::Dumper)
9d8b442
BuildRequires:    perl(Getopt::Long)
9d8b442
BuildRequires:    perl(IPC::Open3)
Jakub Dorňák e82d4dd
BuildRequires:    perl(Memoize)
9d8b442
BuildRequires:    perl(Socket)
9d8b442
BuildRequires:    perl(Sys::Hostname)
75032c4
BuildRequires:    perl(Test::More)
9d8b442
BuildRequires:    perl(Time::HiRes)
75032c4
%{?with_init_systemd:BuildRequires: systemd}
9d8b442
9d8b442
Requires:         bash
9d8b442
Requires:         fileutils
Honza Horak 43d8322
Requires:         grep
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
75032c4
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
# mysql-cluster used to be built from this SRPM, but no more
9d8b442
Obsoletes:        mysql-cluster < 5.1.44
9d8b442
9d8b442
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
Bjorn Munch 02226f4
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
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)$
Honza Horak 43d8322
%else
Honza Horak 43d8322
%filter_from_requires /perl(\(hostnames\|lib::mtr\|lib::v1\|mtr_\|My::\)/d
8fcbdd7
%filter_provides_in -P (%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\.so)
Honza Horak 43d8322
%filter_setup
Honza Horak 43d8322
%endif
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
9d8b442
Group:            Applications/Databases
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
7a5573f
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
Group:            Applications/Databases
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
9d8b442
Group:            Applications/Databases
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
Honza Horak 43d8322
Summary:          The error messages files required by server and embedded
Honza Horak 43d8322
Group:            Applications/Databases
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
Honza Horak 43d8322
Honza Horak 43d8322
%description      errmsg
Honza Horak 43d8322
The package provides error messages files for the MySQL daemon and the
Honza Horak 43d8322
embedded server. You will need to install this package to use any of those
Honza Horak 43d8322
MySQL packages.
75032c4
%endif
75032c4
Honza Horak 43d8322
9d8b442
%package          server
9d8b442
Summary:          The MySQL server and related files
9d8b442
Group:            Applications/Databases
9d8b442
c4225a6
# note: no version here = %%{sameevr}
Honza Horak 0878280
%if %{with mysql_names}
Honza Horak 0878280
Requires:         mysql-compat-client%{?_isa}
33065de
Requires:         mysql%{?_isa}
Honza Horak 0878280
%else
Honza Horak 0878280
Requires:         %{name}%{?_isa}
Honza Horak 0878280
%endif
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}
9d8b442
Requires:         sh-utils
9d8b442
Requires(pre):    /usr/sbin/useradd
75032c4
%if %{with init_systemd}
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}
75032c4
%endif
7a5573f
# mysqlhotcopy needs DBI/DBD support
9d8b442
Requires:         perl(DBI)
9d8b442
Requires:         perl(DBD::mysql)
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}
Jakub Dorňák bf0a83b
Obsoletes:        mysql-bench < 5.7.8
Jakub Dorňák bf0a83b
Obsoletes:        mysql-bench%{?_isa}
1e9e908
%endif
Jakub Dorňák bf0a83b
Obsoletes:        community-mysql-bench < 5.7.8
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
9d8b442
Group:            Applications/Databases
df95dc8
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
9d8b442
Requires:         openssl-devel%{?_isa}
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
7a5573f
75032c4
%if %{with embedded}
9d8b442
%package          embedded
9d8b442
Summary:          MySQL as an embeddable library
9d8b442
Group:            Applications/Databases
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
27a9fc8
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
1e9e908
%if %{with mysql_names}
27a9fc8
Provides:         mysql-embedded = %{sameevr}
27a9fc8
Provides:         mysql-embedded%{?_isa} = %{sameevr}
1e9e908
%endif
7a5573f
9d8b442
%description      embedded
7a5573f
MySQL is a multi-user, multi-threaded SQL database server. This
7a5573f
package contains a version of the MySQL server that can be embedded
7a5573f
into a client application instead of running as a separate process.
7a5573f
7a5573f
9d8b442
%package          embedded-devel
9d8b442
Summary:          Development files for MySQL as an embeddable library
9d8b442
Group:            Applications/Databases
27a9fc8
Requires:         %{name}-embedded%{?_isa} = %{sameevr}
27a9fc8
Requires:         %{name}-devel%{?_isa} = %{sameevr}
8fcbdd7
%{?with_conflicts:Conflicts:        mariadb-embedded-devel}
7a5573f
9d8b442
%description      embedded-devel
7a5573f
MySQL is a multi-user, multi-threaded SQL database server. This
7a5573f
package contains files needed for developing and testing with
7a5573f
the embedded version of the MySQL server.
75032c4
%endif
7a5573f
75032c4
%if %{with test}
9d8b442
%package          test
9d8b442
Summary:          The test suite distributed with MySQL
9d8b442
Group:            Applications/Databases
27a9fc8
Requires:         %{name}%{?_isa} = %{sameevr}
27a9fc8
Requires:         %{name}-common%{?_isa} = %{sameevr}
27a9fc8
Requires:         %{name}-server%{?_isa} = %{sameevr}
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)
75032c4
Requires:         perl(Data::Dumper)
75032c4
Requires:         perl(Getopt::Long)
75032c4
Requires:         perl(IPC::Open3)
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
7a5573f
%patch3 -p1
7a5573f
%patch4 -p1
75032c4
%patch5 -p1
7a5573f
%patch6 -p1
75032c4
%patch51 -p1
75032c4
%patch52 -p1
9d8b442
%if %{with_shared_lib_major_hack}
75032c4
%patch70 -p1
9d8b442
%endif
Bjorn Munch 5f2a76b
Jakub Dorňák 44a4c48
# Unpack Boost
Jakub Dorňák 44a4c48
%setup -q -n mysql-%{version} -D -T -a 1
Jakub Dorňák 44a4c48
Jakub Dorňák 44a4c48
# Patch Boost
Jakub Dorňák 44a4c48
pushd boost_1_59_0
Jakub Dorňák 44a4c48
%patch104 -p1
Jakub Dorňák 44a4c48
%patch105 -p1
Jakub Dorňák 44a4c48
%patch115 -p0
Jakub Dorňák 44a4c48
%patch125 -p1
Jakub Dorňák 44a4c48
%patch136 -p1
Jakub Dorňák 44a4c48
%patch145 -p1
Jakub Dorňák 44a4c48
%patch151 -p1
Jakub Dorňák 44a4c48
%patch161 -p1
Jakub Dorňák 44a4c48
%patch162 -p1
Jakub Dorňák 44a4c48
%patch163 -p1
Jakub Dorňák 44a4c48
%patch165 -p1
Jakub Dorňák 44a4c48
%patch168 -p1
Jakub Dorňák 44a4c48
%patch170 -p2
Jakub Dorňák 44a4c48
%patch180 -p2
Jakub Dorňák 44a4c48
%patch181 -p2
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 () {
e2b0b78
    echo $1 >> %{skiplist}
Bjorn Munch 5f2a76b
}
7a5573f
Jakub Dorňák 891c072
touch %{skiplist}
Jakub Dorňák 891c072
Jakub Dorňák 44a4c48
# these tests fail in 5.7.10 on arms
Jakub Dorňák 44a4c48
%ifarch aarch64 armv7hl
Jakub Dorňák 44a4c48
add_test 'binlog.binlog_xa_prepared_disconnect            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.geometry_class_attri_prop                   : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.geometry_property_function_issimple         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.gis_bugs_crashes                            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_buffer           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_centroid         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_distance         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_operators_intersection              : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_operators_union                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_op_testingfunc_mix                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_testing_functions_contains          : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_testing_functions_crosses           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_testing_functions_equals            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_testing_functions_touches           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_testing_functions_within            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_utility_function_simplify           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_fts.opt                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_gis.gis                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_gis.1                                    : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb.innodb                                   : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb.innodb-wl5980-discard                    : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb.log_file                                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ctype_big5                                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ctype_gbk                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.gis                                        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.gis-precise                                : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.insert                                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'perfschema.func_file_io                         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'perfschema.merge_table_io                       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'perfschema.setup_objects                        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'sysschema.fn_ps_thread_trx_info                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'sysschema.v_schema_auto_increment_columns       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_session_detach        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_session_info          : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_all_col_types     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_complex           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_errors            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_general_log       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_processlist       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_replication       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_sqlmode           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_stored_procedures_functions: fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_views_triggers    : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_2_sessions        : fails in 5.7.10'
Jakub Dorňák 44a4c48
%endif
Jakub Dorňák bf0a83b
Jakub Dorňák 44a4c48
# these tests fail in 5.7.10 on ppcs
Jakub Dorňák 44a4c48
%ifarch ppc64 ppc64le
Jakub Dorňák 44a4c48
add_test 'federated.federated_server                      : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'funcs_1.innodb_views                            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'funcs_1.storedproc                              : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.geometry_class_attri_prop                   : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.geometry_property_function_issimple         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.gis_bugs_crashes                            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_buffer           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_centroid         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_distance         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_operators_symdifference             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_operators_union                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_op_testingfunc_mix                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_utility_function_distance_sphere    : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_utility_function_simplify           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_fts.ngram_1                              : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_fts.plugin                               : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_fts.tablespace_location                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb.innodb_bug30919                          : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb.innodb                                   : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb.mysqldump_max_recordsize                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_zip.cmp_per_index                        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_zip.wl6470_2                             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.bootstrap                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ctype_big5                                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ctype_cp1251                               : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ctype_gbk                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.grant_alter_user                           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.innodb_icp                                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.innodb_mrr                                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.innodb_mrr_icp                             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.insert                                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.mysql_client_test                          : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.mysqldump                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.mysql_embedded                             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.partition_innodb_semi_consistent           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.partition_range                            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.sql_mode_default                           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.subquery_sj_dupsweed_bka_nixbnl            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.subquery_sj_firstmatch_bka                 : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.subquery_sj_firstmatch_bka_nixbnl          : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.subquery_sj_none_bka                       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.subselect_innodb                           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'perfschema.mdl_func                             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'perfschema.socket_summary_by_instance_func      : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_alter_repository                        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_checksum_cache                          : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_innodb_bug28430                         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_innodb_bug30888                         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_many_optimize                           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_mixed_binlog_max_cache_size             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_recovery_replicate_same_server_id       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_replicate_do                            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_rotate_logs                             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'sysschema.pr_diagnostics                        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'sysschema.pr_statement_performance_analyzer     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'sysschema.v_schema_auto_increment_columns       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_views_triggers    : fails in 5.7.10'
Jakub Dorňák 44a4c48
%endif
Bjorn Munch 5f2a76b
Jakub Dorňák 44a4c48
# these tests fail in 5.7.10 on s390s
Jakub Dorňák 44a4c48
%ifarch s390 s390x
Jakub Dorňák 44a4c48
add_test 'gis.geometry_class_attri_prop                   : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.gis_bugs_crashes                            : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_buffer           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_centroid         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_analysis_functions_distance         : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_operators_symdifference             : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_operators_union                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_op_testingfunc_mix                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_utility_function_distance_sphere    : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'gis.spatial_utility_function_simplify           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'innodb_fts.opt                                  : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ps_ddl                                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'main.ps_ddl1                                    : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'perfschema.status_reprepare                     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_cross_version                           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'rpl.rpl_dual_pos_advance                        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_session_detach        : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_all_col_types     : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_complex           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_replication       : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_sqlmode           : fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_stored_procedures_functions: fails in 5.7.10'
Jakub Dorňák 44a4c48
add_test 'test_service_sql_api.test_sql_views_triggers    : fails in 5.7.10'
Jakub Dorňák bf0a83b
%endif
Jakub Dorňák bf0a83b
Jakub Dorňák 44a4c48
# Workaround for upstream bug #http://bugs.mysql.com/56342
Jakub Dorňák 44a4c48
rm -f t/ssl_8k_key-master.opt
Jakub Dorňák 44a4c48
Bjorn Munch 5f2a76b
# Archs without hw performance counter, rh 741325
Jakub Dorňák bf0a83b
%ifarch aarch64 sparc64
Bjorn Munch 5f2a76b
add_test 'perfschema.func_file_io  : rh 741325'
Bjorn Munch 5f2a76b
add_test 'perfschema.setup_objects : rh 741325'
7a5573f
%endif
Bjorn Munch 5f2a76b
Bjorn Munch 5f2a76b
# Archs with ps_ddl issues
Jakub Dorňák 44a4c48
%ifarch s390
Bjorn Munch 5f2a76b
add_test 'main.ps_ddl              : ps_ddl issue'
Bjorn Munch 5f2a76b
add_test 'main.ps_ddl1             : ps_ddl issue'
Bjorn Munch 5f2a76b
%endif
Bjorn Munch 5f2a76b
Bjorn Munch 5f2a76b
popd
7a5573f
c48a49a
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} \
9abc751
   %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE19} %{SOURCE31} scripts
99fd710
7a5573f
%build
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
Bjorn Munch 5f2a76b
# build out of source
Bjorn Munch 5f2a76b
mkdir build && pushd build
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.
Bjorn Munch c9f01ef
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 \
9d8b442
         -DINSTALL_LIBDIR="%{_lib}/mysql" \
9d8b442
         -DINSTALL_MANDIR=share/man \
245cc80
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
9d8b442
         -DINSTALL_MYSQLTESTDIR=share/mysql-test \
9d8b442
         -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
9d8b442
         -DINSTALL_SBINDIR=libexec \
9d8b442
         -DINSTALL_SCRIPTDIR=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 \
9d8b442
         -DENABLE_DTRACE=ON \
Jakub Dorňák bf0a83b
%if %{with init_systemd}
Jakub Dorňák bf0a83b
         -DWITH_SYSTEMD=1 \
Jakub Dorňák bf0a83b
         -DSYSTEMD_SERVICE_NAME="%{daemon_name}" \
Jakub Dorňák bf0a83b
         -DSYSTEMD_PID_DIR="%{pidfiledir}" \
Jakub Dorňák bf0a83b
%endif
038583b
         -DWITH_INNODB_MEMCACHED=ON \
9d8b442
         -DWITH_EMBEDDED_SERVER=ON \
Bjorn Munch 5f2a76b
         -DWITH_EMBEDDED_SHARED_LIBRARY=ON \
9d8b442
         -DWITH_EDITLINE=system \
9d8b442
         -DWITH_LIBEVENT=system \
Jakub Dorňák bf0a83b
         -DWITH_LZ4=system \
Jakub Dorňák bf0a83b
         -DWITH_MECAB=system \
9d8b442
         -DWITH_SSL=system \
9d8b442
         -DWITH_ZLIB=system \
Jakub Dorňák 44a4c48
         -DWITH_BOOST=.. \
3ff9598
         -DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
3ff9598
         -DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
3ff9598
%{?with_debug: -DWITH_DEBUG=1}\
c48a49a
         -DTMPDIR=/var/tmp \
Bjorn Munch 5f2a76b
         %{?_hardened_build:-DWITH_MYSQLD_LDFLAGS="-pie -Wl,-z,relro,-z,now"}
7a5573f
7a5573f
make %{?_smp_mflags} VERBOSE=1
7a5573f
75032c4
popd
75032c4
7a5573f
%install
9d8b442
pushd build
9d8b442
make DESTDIR=%{buildroot} install
7a5573f
Bjorn Munch 5f2a76b
# multilib header support
Honza Horak 43d8322
# we only apply this to known Red Hat multilib arches, per bug #181335
022daca
unamei=$(uname -i)
Bjorn Munch 5f2a76b
%ifarch %{arm}
022daca
unamei=arm
022daca
%endif
530dd9b
%ifarch %{power64}
530dd9b
unamei=ppc64
530dd9b
%endif
022daca
%ifarch %{arm} aarch64 %{ix86} x86_64 ppc %{power64} %{sparc} s390 s390x
75032c4
mv %{buildroot}%{_includedir}/mysql/my_config.h %{buildroot}%{_includedir}/mysql/my_config_${unamei}.h
75032c4
install -p -m 644 %{SOURCE4} %{buildroot}%{_includedir}/mysql/
Bjorn Munch 5f2a76b
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
75032c4
install -p -m 0755 scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
Bjorn Munch 5f2a76b
%endif
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)
9d8b442
install -p -m 0644 Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
9d8b442
install -p -m 0644 Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
7a5573f
75032c4
mkdir -p %{buildroot}%{logfiledir}
75032c4
touch %{buildroot}%{logfile}
7a5573f
062422d
mkdir -p %{buildroot}%{pidfiledir}
8fcbdd7
install -p -m 0755 -d %{buildroot}%{dbdatadir}
7a5573f
c4225a6
%if %{with config}
27a9fc8
install -D -p -m 0644 scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
5ec838a
%endif
7a5573f
9d8b442
# install systemd unit files and scripts for handling server startup
75032c4
%if %{with init_systemd}
75032c4
install -D -p -m 644 scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
99fd710
install -D -p -m 0644 scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{name}.conf
75032c4
%endif
75032c4
75032c4
# install SysV init script
75032c4
%if %{with init_sysv}
8fcbdd7
install -D -p -m 755 scripts/mysql.init %{buildroot}%{daemondir}/%{daemon_name}
75032c4
%endif
75032c4
75032c4
# helper scripts for service starting
75032c4
install -p -m 755 scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
75032c4
install -p -m 755 scripts/mysql-wait-ready %{buildroot}%{_libexecdir}/mysql-wait-ready
9abc751
install -p -m 755 scripts/mysql-wait-stop %{buildroot}%{_libexecdir}/mysql-wait-stop
75032c4
install -p -m 755 scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
0d2208e
install -p -m 755 scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade
75032c4
install -p -m 644 scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
245cc80
install -D -p -m 0644 scripts/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
7a5573f
7a5573f
# mysql-test includes one executable that doesn't belong under /usr/share,
7a5573f
# so move it and provide a symlink
9d8b442
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
9d8b442
ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
9d8b442
9d8b442
# not needed in rpm package
9d8b442
rm -f %{buildroot}%{_bindir}/mysql_embedded
9d8b442
rm -f %{buildroot}%{_libdir}/mysql/*.a
245cc80
rm -f %{buildroot}%{_datadir}/%{pkg_name}/magic
245cc80
rm -f %{buildroot}%{_datadir}/%{pkg_name}/mysql.server
245cc80
rm -f %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server
9d8b442
rm -f %{buildroot}%{_mandir}/man1/comp_err.1*
9d8b442
rm -f %{buildroot}%{_mandir}/man1/mysql-stress-test.pl.1*
9d8b442
rm -f %{buildroot}%{_mandir}/man1/mysql-test-run.pl.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
3ff9598
%if %{with debug}
3ff9598
mv %{buildroot}%{_libexecdir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
3ff9598
%endif
3ff9598
9d8b442
# Back to src dir
9d8b442
popd
7a5573f
7a5573f
# copy additional docs into build tree so %%doc will find them
75032c4
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
75032c4
install -p -m 0644 %{SOURCE7} %{basename:%{SOURCE7}}
9d8b442
9d8b442
# Install the list of skipped tests to be available for user runs
Bjorn Munch 5f2a76b
install -p -m 0644 mysql-test/%{skiplist} %{buildroot}%{_datadir}/mysql-test
9d8b442
9d8b442
# These are in fact identical
9d8b442
rm %{buildroot}%{_mandir}/man1/{mysqltest,mysql_client_test}_embedded.1
9d8b442
cp -p %{buildroot}%{_mandir}/man1/mysqltest.1 %{buildroot}%{_mandir}/man1/mysqltest_embedded.1
9d8b442
cp -p %{buildroot}%{_mandir}/man1/mysql_client_test.1 %{buildroot}%{_mandir}/man1/mysql_client_test_embedded.1
7a5573f
75032c4
%if %{without clibrary}
c99fec2
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
75032c4
rm -rf %{buildroot}%{_libdir}/mysql/libmysqlclient*.so.*
75032c4
rm -rf %{buildroot}%{_sysconfdir}/ld.so.conf.d
75032c4
%endif
75032c4
75032c4
%if %{without embedded}
75032c4
rm -f %{buildroot}%{_libdir}/mysql/libmysqld.so*
75032c4
rm -f %{buildroot}%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
75032c4
rm -f %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
75032c4
%endif
75032c4
75032c4
%if %{without devel}
75032c4
rm -f %{buildroot}%{_bindir}/mysql_config*
75032c4
rm -rf %{buildroot}%{_includedir}/mysql
75032c4
rm -f %{buildroot}%{_datadir}/aclocal/mysql.m4
Jakub Dorňák bf0a83b
rm -f %{buildroot}%{_libdir}/pkgconfig/mysqlclient.pc
75032c4
rm -f %{buildroot}%{_libdir}/mysql/libmysqlclient*.so
75032c4
rm -f %{buildroot}%{_mandir}/man1/mysql_config.1*
75032c4
%endif
75032c4
75032c4
%if %{without client}
Jakub Dorňák bf0a83b
rm -f %{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}
Jakub Dorňák bf0a83b
rm -f %{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
75032c4
rm -f %{buildroot}%{_sysconfdir}/my.cnf
c4225a6
%endif
c4225a6
c4225a6
%if %{without common}
245cc80
rm -rf %{buildroot}%{_datadir}/%{pkg_name}/charsets
75032c4
%endif
75032c4
75032c4
%if %{without errmsg}
245cc80
rm -f %{buildroot}%{_datadir}/%{pkg_name}/errmsg-utf8.txt
245cc80
rm -rf %{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}
75032c4
rm -f %{buildroot}%{_bindir}/{mysql_client_test,my_safe_process}
75032c4
rm -rf %{buildroot}%{_datadir}/mysql-test
75032c4
rm -f %{buildroot}%{_mandir}/man1/mysql_client_test.1*
75032c4
%endif
75032c4
9d8b442
%check
75032c4
%if %{with test}
9d8b442
%if %runselftest
Bjorn Munch 5f2a76b
pushd build
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}
Bjorn Munch 5f2a76b
./mtr \
Bjorn Munch 5f2a76b
  --mem --parallel=auto --force --retry=0 \
Bjorn Munch 5f2a76b
  --mysqld=--binlog-format=mixed \
Bjorn Munch 5f2a76b
  --suite-timeout=720 --testcase-timeout=30 \
Jakub Dorňák bf0a83b
  --clean-vardir \
Jakub Dorňák bf0a83b
%if %{check_testsuite}
Jakub Dorňák bf0a83b
  --max-test-fail=0 || :
Jakub Dorňák bf0a83b
%else
Jakub Dorňák bf0a83b
  --skip-test-list=%{skiplist}
Jakub Dorňák bf0a83b
%endif
Bjorn Munch 5f2a76b
  rm -rf 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
75032c4
%if %{with clibrary}
f335c11
%post libs -p /sbin/ldconfig
75032c4
%endif
7a5573f
75032c4
%if %{with embedded}
a49d466
%post embedded -p /sbin/ldconfig
75032c4
%endif
a49d466
7a5573f
%post server
75032c4
%if %{with init_systemd}
75032c4
%systemd_post %{daemon_name}.service
75032c4
%endif
75032c4
%if %{with init_sysv}
75032c4
if [ $1 = 1 ]; then
75032c4
    /sbin/chkconfig --add %{daemon_name}
75032c4
fi
75032c4
%endif
75032c4
/bin/touch %{logfile}
7a5573f
7a5573f
%preun server
75032c4
%if %{with init_systemd}
75032c4
%systemd_preun %{daemon_name}.service
75032c4
%endif
75032c4
%if %{with init_sysv}
75032c4
if [ $1 = 0 ]; then
75032c4
    /sbin/service %{daemon_name} stop >/dev/null 2>&1
75032c4
    /sbin/chkconfig --del %{daemon_name}
75032c4
fi
75032c4
%endif
7a5573f
75032c4
%if %{with clibrary}
f335c11
%postun libs -p /sbin/ldconfig
75032c4
%endif
7a5573f
75032c4
%if %{with embedded}
a49d466
%postun embedded -p /sbin/ldconfig
75032c4
%endif
a49d466
7a5573f
%postun server
75032c4
%if %{with init_systemd}
75032c4
%systemd_postun_with_restart %{daemon_name}.service
75032c4
%endif
75032c4
%if %{with init_sysv}
75032c4
if [ $1 -ge 1 ]; then
75032c4
    /sbin/service %{daemon_name} condrestart >/dev/null 2>&1 || :
75032c4
fi
75032c4
%endif
7a5573f
75032c4
%if %{with client}
4a93e49
%files
7a5573f
%{_bindir}/mysql
9d8b442
%{_bindir}/mysql_config_editor
69f97d3
%{_bindir}/mysql_plugin
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
%{_bindir}/my_print_defaults
7a5573f
7a5573f
%{_mandir}/man1/mysql.1*
9d8b442
%{_mandir}/man1/mysql_config_editor.1*
69f97d3
%{_mandir}/man1/mysql_plugin.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*
7a5573f
%{_mandir}/man1/my_print_defaults.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
c4225a6
%doc README COPYING 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
245cc80
%{_datadir}/%{pkg_name}/errmsg-utf8.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
75032c4
%{_bindir}/myisamchk
7a5573f
%{_bindir}/myisam_ftdump
7a5573f
%{_bindir}/myisamlog
7a5573f
%{_bindir}/myisampack
7a5573f
%{_bindir}/mysql_install_db
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}/mysqlbinlog
Jakub Dorňák bf0a83b
%if %{with init_systemd}
Jakub Dorňák bf0a83b
%{_bindir}/mysqld_pre_systemd
Jakub Dorňák bf0a83b
%endif
7a5573f
%{_bindir}/mysqldumpslow
7a5573f
%{_bindir}/mysqltest
7a5573f
%{_bindir}/innochecksum
7a5573f
%{_bindir}/perror
7a5573f
%{_bindir}/replace
7a5573f
%{_bindir}/resolve_stack_dump
7a5573f
%{_bindir}/resolveip
Jakub Dorňák 44a4c48
%{_bindir}/lz4_decompress
Jakub Dorňák 44a4c48
%{_bindir}/zlib_decompress
7a5573f
245cc80
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
1eadb03
7a5573f
%{_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
7a5573f
%{_libdir}/mysql/plugin
7a5573f
7a5573f
%{_mandir}/man1/myisamchk.1*
7a5573f
%{_mandir}/man1/myisamlog.1*
7a5573f
%{_mandir}/man1/myisampack.1*
7a5573f
%{_mandir}/man1/myisam_ftdump.1*
7a5573f
%{_mandir}/man1/mysql.server.1*
7a5573f
%{_mandir}/man1/mysql_install_db.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/mysqld_multi.1*
7a5573f
%{_mandir}/man1/mysqld_safe.1*
7a5573f
%{_mandir}/man1/mysqlman.1*
7a5573f
%{_mandir}/man1/mysqltest.1*
7a5573f
%{_mandir}/man1/innochecksum.1*
7a5573f
%{_mandir}/man1/perror.1*
7a5573f
%{_mandir}/man1/replace.1*
7a5573f
%{_mandir}/man1/resolve_stack_dump.1*
7a5573f
%{_mandir}/man1/resolveip.1*
Jakub Dorňák 44a4c48
%{_mandir}/man1/lz4_decompress.1*
Jakub Dorňák 44a4c48
%{_mandir}/man1/zlib_decompress.1*
7a5573f
%{_mandir}/man8/mysqld.8*
7a5573f
245cc80
%{_datadir}/%{pkg_name}/dictionary.txt
245cc80
%{_datadir}/%{pkg_name}/fill_help_tables.sql
245cc80
%{_datadir}/%{pkg_name}/innodb_memcached_config.sql
Jakub Dorňák bf0a83b
%{_datadir}/%{pkg_name}/install_rewriter.sql
245cc80
%{_datadir}/%{pkg_name}/mysql_security_commands.sql
Jakub Dorňák bf0a83b
%{_datadir}/%{pkg_name}/mysql_sys_schema.sql
245cc80
%{_datadir}/%{pkg_name}/mysql_system_tables.sql
245cc80
%{_datadir}/%{pkg_name}/mysql_system_tables_data.sql
245cc80
%{_datadir}/%{pkg_name}/mysql_test_data_timezone.sql
245cc80
%{_datadir}/%{pkg_name}/my-*.cnf
Jakub Dorňák bf0a83b
%{_datadir}/%{pkg_name}/uninstall_rewriter.sql
Honza Horak 43d8322
8fcbdd7
%{daemondir}/%{daemon_name}*
75032c4
%{_libexecdir}/mysql-prepare-db-dir
75032c4
%{_libexecdir}/mysql-wait-ready
9abc751
%{_libexecdir}/mysql-wait-stop
75032c4
%{_libexecdir}/mysql-check-socket
0d2208e
%{_libexecdir}/mysql-check-upgrade
75032c4
%{_libexecdir}/mysql-scripts-common
7a5573f
Jakub Dorňák bf0a83b
%{_tmpfilesdir}/mysql.conf
75032c4
%{?with_init_systemd:%{_tmpfilesdir}/%{name}.conf}
8fcbdd7
%attr(0755,mysql,mysql) %dir %{dbdatadir}
062422d
%attr(0755,mysql,mysql) %dir %{pidfiledir}
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
9d8b442
%{_bindir}/mysql_config
9d8b442
%{_bindir}/mysql_config-%{__isa_bits}
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 embedded}
7a5573f
%files embedded
7a5573f
%{_libdir}/mysql/libmysqld.so.*
7a5573f
7a5573f
%files embedded-devel
7a5573f
%{_libdir}/mysql/libmysqld.so
7a5573f
%{_bindir}/mysql_client_test_embedded
7a5573f
%{_bindir}/mysqltest_embedded
7a5573f
%{_mandir}/man1/mysql_client_test_embedded.1*
7a5573f
%{_mandir}/man1/mysqltest_embedded.1*
75032c4
%endif
7a5573f
75032c4
%if %{with test}
7a5573f
%files test
7a5573f
%{_bindir}/mysql_client_test
7a5573f
%{_bindir}/my_safe_process
7a5573f
%attr(-,mysql,mysql) %{_datadir}/mysql-test
7a5573f
%{_mandir}/man1/mysql_client_test.1*
75032c4
%endif
7a5573f
7a5573f
%changelog
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
022daca
- 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
7a5573f
* Sat Jun  6 2009 Tom Lane <tgl@redhat.com> 5.1.35-1
7a5573f
- Update to MySQL 5.1.35, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
7a5573f
- Ensure that /var/lib/mysql is created with the right SELinux context
7a5573f
Resolves: #502966
7a5573f
7a5573f
* Fri May 15 2009 Tom Lane <tgl@redhat.com> 5.1.34-1
7a5573f
- Update to MySQL 5.1.34, for various fixes described at
7a5573f
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-34.html
7a5573f
- Increase startup timeout per bug #472222
7a5573f
7a5573f
* Wed Apr 15 2009 Tom Lane <tgl@redhat.com> 5.1.33-2
7a5573f
- Increase stack size of ndbd threads for safety's sake.
7a5573f
Related: #494631
7a5573f
7a5573f
* Tue Apr  7 2009 Tom Lane <tgl@redhat.com> 5.1.33-1
7a5573f
- Update to MySQL 5.1.33.
7a5573f
- Disable use of pthread_setschedparam; doesn't work the way code expects.
7a5573f
Related: #477624
7a5573f
7a5573f
* Wed Mar  4 2009 Tom Lane <tgl@redhat.com> 5.1.32-1
7a5573f
- Update to MySQL 5.1.32.
7a5573f
7a5573f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.31-2
7a5573f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7a5573f
7a5573f
* Fri Feb 13 2009 Tom Lane <tgl@redhat.com> 5.1.31-1
7a5573f
- Update to MySQL 5.1.31.
7a5573f
7a5573f
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-2
7a5573f
- hm, apparently --with-innodb and --with-ndbcluster are still needed
7a5573f
  even though no longer documented ...
7a5573f
7a5573f
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-1
7a5573f
- Update to MySQL 5.1.30.  Note that this includes an ABI break for
7a5573f
  libmysqlclient (it's now got .so major version 16).
7a5573f
- This also updates mysql for new openssl build
7a5573f
7a5573f
* Wed Oct  1 2008 Tom Lane <tgl@redhat.com> 5.0.67-2
7a5573f
- Build the "embedded server" library, and package it in a new sub-RPM
7a5573f
  mysql-embedded, along with mysql-embedded-devel for devel support files.
7a5573f
Resolves: #149829
7a5573f
7a5573f
* Sat Aug 23 2008 Tom Lane <tgl@redhat.com> 5.0.67-1
7a5573f
- Update to mysql version 5.0.67
7a5573f
- Move mysql_config's man page to base package, again (apparently I synced
7a5573f
  that change the wrong way while importing specfile changes for ndbcluster)
7a5573f
7a5573f
* Sun Jul 27 2008 Tom Lane <tgl@redhat.com> 5.0.51a-2
7a5573f
- Enable ndbcluster support
7a5573f
Resolves: #163758
7a5573f
- Suppress odd crash messages during package build, caused by trying to
7a5573f
  build dbug manual (which we don't install anyway) with dbug disabled
7a5573f
Resolves: #437053
7a5573f
- Improve mysql.init to pass configured datadir to mysql_install_db,
7a5573f
  and to force user=mysql for both mysql_install_db and mysqld_safe.
7a5573f
Related: #450178
7a5573f
7a5573f
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.51a-1
7a5573f
- Update to mysql version 5.0.51a
7a5573f
7a5573f
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.45-11
7a5573f
- Fix mysql-stack-guard patch to work correctly on IA64
7a5573f
- Fix mysql.init to wait correctly when socket is not in default place
7a5573f
Related: #435494
7a5573f
7a5573f
* Mon Mar 03 2008 Dennis Gilmore <dennis@ausil.us> 5.0.45-10
7a5573f
- add sparc64 to 64 bit arches for test suite checking
7a5573f
- add sparc, sparcv9 and sparc64 to multilib handling
7a5573f
7a5573f
* Thu Feb 28 2008 Tom Lane <tgl@redhat.com> 5.0.45-9
7a5573f
- Fix the stack overflow problem encountered in January.  It seems the real
7a5573f
issue is that the buildfarm machines were moved to RHEL5, which uses 64K not
7a5573f
4K pages on PPC, and because RHEL5 takes the guard area out of the requested
7a5573f
thread stack size we no longer had enough headroom.
7a5573f
Related: #435337
7a5573f
7a5573f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.45-8
7a5573f
- Autorebuild for GCC 4.3
7a5573f
7a5573f
* Tue Jan  8 2008 Tom Lane <tgl@redhat.com> 5.0.45-7
7a5573f
- Unbelievable ... upstream still thinks that it's a good idea to have a
7a5573f
  regression test that is guaranteed to begin failing come January 1.
7a5573f
- ... and it seems we need to raise STACK_MIN_SIZE again too.
7a5573f
7a5573f
* Thu Dec 13 2007 Tom Lane <tgl@redhat.com> 5.0.45-6
7a5573f
- Back-port upstream fixes for CVE-2007-5925, CVE-2007-5969, CVE-2007-6303.
7a5573f
Related: #422211
7a5573f
7a5573f
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 5.0.45-5
7a5573f
- Rebuild for new openssl
7a5573f
7a5573f
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 5.0.45-4
7a5573f
- Seems we need explicit BuildRequires on gawk and procps now
7a5573f
- Rebuild to fix Fedora toolchain issues
7a5573f
7a5573f
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 5.0.45-3
7a5573f
- Recent perl changes in rawhide mean we need a more specific BuildRequires
7a5573f
7a5573f
* Thu Aug  2 2007 Tom Lane <tgl@redhat.com> 5.0.45-2
7a5573f
- Update License tag to match code.
7a5573f
- Work around recent Fedora change that makes "open" a macro name.
7a5573f
7a5573f
* Sun Jul 22 2007 Tom Lane <tgl@redhat.com> 5.0.45-1
7a5573f
- Update to MySQL 5.0.45
7a5573f
Resolves: #246535
7a5573f
- Move mysql_config's man page to base package
7a5573f
Resolves: #245770
7a5573f
- move my_print_defaults to base RPM, for consistency with Stacks packaging
7a5573f
- mysql user is no longer deleted at RPM uninstall
7a5573f
Resolves: #241912
7a5573f
7a5573f
* Thu Mar 29 2007 Tom Lane <tgl@redhat.com> 5.0.37-2
7a5573f
- Use a less hacky method of getting default values in initscript
7a5573f
Related: #233771, #194596
7a5573f
- Improve packaging of mysql-libs per suggestions from Remi Collet
7a5573f
Resolves: #233731
7a5573f
- Update default /etc/my.cnf ([mysql.server] has been bogus for a long time)
7a5573f
7a5573f
* Mon Mar 12 2007 Tom Lane <tgl@redhat.com> 5.0.37-1
7a5573f
- Update to MySQL 5.0.37
7a5573f
Resolves: #231838
7a5573f
- Put client library into a separate mysql-libs RPM to reduce dependencies
7a5573f
Resolves: #205630
7a5573f
7a5573f
* Fri Feb  9 2007 Tom Lane <tgl@redhat.com> 5.0.33-1
7a5573f
- Update to MySQL 5.0.33
7a5573f
- Install band-aid fix for "view" regression test designed to fail after 2006
7a5573f
- Don't chmod -R the entire database directory tree on every startup
7a5573f
Related: #221085
7a5573f
- Fix unsafe use of install-info
7a5573f
Resolves: #223713
7a5573f
- Cope with new automake in F7
7a5573f
Resolves: #224171
7a5573f
7a5573f
* Thu Nov  9 2006 Tom Lane <tgl@redhat.com> 5.0.27-1
7a5573f
- Update to MySQL 5.0.27 (see CVE-2006-4031, CVE-2006-4226, CVE-2006-4227)
7a5573f
Resolves: #202247, #202675, #203427, #203428, #203432, #203434, #208641
7a5573f
- Fix init script to return status 1 on server start timeout
7a5573f
Resolves: #203910
7a5573f
- Move mysqldumpslow from base package to mysql-server
7a5573f
Resolves: #193559
7a5573f
- Adjust link options for BDB module
7a5573f
Resolves: #199368
7a5573f
7a5573f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.0.22-2.1
7a5573f
- rebuild
7a5573f
7a5573f
* Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 5.0.22-2
7a5573f
- Work around brew's tendency not to clean up failed builds completely,
7a5573f
  by adding code in mysql-testing.patch to kill leftover mysql daemons.
7a5573f
7a5573f
* Thu Jun  8 2006 Tom Lane <tgl@redhat.com> 5.0.22-1
7a5573f
- Update to MySQL 5.0.22 (fixes CVE-2006-2753)
7a5573f
- Install temporary workaround for gcc bug on s390x (bz #193912)
7a5573f
7a5573f
* Tue May  2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2
7a5573f
- Fix bogus perl Requires for mysql-test
7a5573f
7a5573f
* Mon May  1 2006 Tom Lane <tgl@redhat.com> 5.0.21-1
7a5573f
- Update to MySQL 5.0.21
7a5573f
7a5573f
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 5.0.18-4
7a5573f
- Modify multilib header hack to not break non-RH arches, per bug #181335
7a5573f
- Remove logrotate script, per bug #180639.
7a5573f
- Add a new mysql-test RPM to carry the regression test files;
7a5573f
  hack up test scripts as needed to make them run in /usr/share/mysql-test.
7a5573f
7a5573f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-2.1
7a5573f
- bump again for double-long bug on ppc(64)
7a5573f
7a5573f
* Thu Feb  9 2006 Tom Lane <tgl@redhat.com> 5.0.18-2
7a5573f
- err-log option has been renamed to log-error, fix my.cnf and initscript
7a5573f
7a5573f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-1.1
7a5573f
- rebuilt for new gcc4.1 snapshot and glibc changes
7a5573f
7a5573f
* Thu Jan  5 2006 Tom Lane <tgl@redhat.com> 5.0.18-1
7a5573f
- Update to MySQL 5.0.18
7a5573f
7a5573f
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-4
7a5573f
- fix my_config.h for ppc platforms
7a5573f
7a5573f
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3
7a5573f
- my_config.h needs to guard against 64-bit platforms that also define the
7a5573f
  32-bit symbol
7a5573f
7a5573f
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 5.0.16-2
7a5573f
- oops, looks like we want uname -i not uname -m
7a5573f
7a5573f
* Mon Dec 12 2005 Tom Lane <tgl@redhat.com> 5.0.16-1
7a5573f
- Update to MySQL 5.0.16
7a5573f
- Add EXCEPTIONS-CLIENT license info to the shipped documentation
7a5573f
- Make my_config.h architecture-independent for multilib installs;
7a5573f
  put the original my_config.h into my_config_$ARCH.h
7a5573f
- Add -fwrapv to CFLAGS so that gcc 4.1 doesn't break it
7a5573f
7a5573f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7a5573f
- rebuilt
7a5573f
7a5573f
* Mon Nov 14 2005 Tom Lane <tgl@redhat.com> 5.0.15-3
7a5573f
- Make stop script wait for daemon process to disappear (bz#172426)
7a5573f
7a5573f
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 5.0.15-2
7a5573f
- Rebuild due to openssl library update.
7a5573f
7a5573f
* Thu Nov  3 2005 Tom Lane <tgl@redhat.com> 5.0.15-1
7a5573f
- Update to MySQL 5.0.15 (scratch build for now)
7a5573f
7a5573f
* Wed Oct  5 2005 Tom Lane <tgl@redhat.com> 4.1.14-1
7a5573f
- Update to MySQL 4.1.14
7a5573f
7a5573f
* Tue Aug 23 2005 Tom Lane <tgl@redhat.com> 4.1.12-3
7a5573f
- Use politically correct patch name.
7a5573f
7a5573f
* Tue Jul 12 2005 Tom Lane <tgl@redhat.com> 4.1.12-2
7a5573f
- Fix buffer overflow newly exposed in isam code; it's the same issue
7a5573f
  previously found in myisam, and not very exciting, but I'm tired of
7a5573f
  seeing build warnings.
7a5573f
7a5573f
* Mon Jul 11 2005 Tom Lane <tgl@redhat.com> 4.1.12-1
7a5573f
- Update to MySQL 4.1.12 (includes a fix for bz#158688, bz#158689)
7a5573f
- Extend mysql-test-ssl.patch to solve rpl_openssl test failure (bz#155850)
7a5573f
- Update mysql-lock-ssl.patch to match the upstream committed version
7a5573f
- Add --with-isam to re-enable the old ISAM table type, per bz#159262
7a5573f
- Add dependency on openssl-devel per bz#159569
7a5573f
- Remove manual.txt, as upstream decided not to ship it anymore;
7a5573f
  it was redundant with the mysql.info file anyway.
7a5573f
7a5573f
* Mon May  9 2005 Tom Lane <tgl@redhat.com> 4.1.11-4
7a5573f
- Include proper locking for OpenSSL in the server, per bz#155850
7a5573f
7a5573f
* Mon Apr 25 2005 Tom Lane <tgl@redhat.com> 4.1.11-3
7a5573f
- Enable openssl tests during build, per bz#155850
7a5573f
- Might as well turn on --disable-dependency-tracking
7a5573f
7a5573f
* Fri Apr  8 2005 Tom Lane <tgl@redhat.com> 4.1.11-2
7a5573f
- Avoid dependency on <asm/atomic.h>, cause it won't build anymore on ia64.
7a5573f
  This is probably a cleaner solution for bz#143537, too.
7a5573f
7a5573f
* Thu Apr  7 2005 Tom Lane <tgl@redhat.com> 4.1.11-1
7a5573f
- Update to MySQL 4.1.11 to fix bz#152911 as well as other issues
7a5573f
- Move perl-DBI, perl-DBD-MySQL dependencies to server package (bz#154123)
7a5573f
- Override configure thread library test to suppress HAVE_LINUXTHREADS check
7a5573f
- Fix BDB failure on s390x (bz#143537)
7a5573f
- At last we can enable "make test" on all arches
7a5573f
7a5573f
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 4.1.10a-1
7a5573f
- Update to MySQL 4.1.10a to fix security vulnerabilities (bz#150868,
7a5573f
  for CAN-2005-0711, and bz#150871 for CAN-2005-0709, CAN-2005-0710).
7a5573f
7a5573f
* Sun Mar  6 2005 Tom Lane <tgl@redhat.com> 4.1.10-3
7a5573f
- Fix package Requires: interdependencies.
7a5573f
7a5573f
* Sat Mar  5 2005 Tom Lane <tgl@redhat.com> 4.1.10-2
7a5573f
- Need -fno-strict-aliasing in at least one place, probably more.
7a5573f
- Work around some C spec violations in mysql.
7a5573f
7a5573f
* Fri Feb 18 2005 Tom Lane <tgl@redhat.com> 4.1.10-1
7a5573f
- Update to MySQL 4.1.10.
7a5573f
7a5573f
* Sat Jan 15 2005 Tom Lane <tgl@redhat.com> 4.1.9-1
7a5573f
- Update to MySQL 4.1.9.
7a5573f
7a5573f
* Wed Jan 12 2005 Tom Lane <tgl@redhat.com> 4.1.7-10
7a5573f
- Don't assume /etc/my.cnf will specify pid-file (bz#143724)
7a5573f
7a5573f
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 4.1.7-9
7a5573f
- Rebuilt for new readline.
7a5573f
7a5573f
* Tue Dec 21 2004 Tom Lane <tgl@redhat.com> 4.1.7-8
7a5573f
- Run make test on all archs except s390x (which seems to have a bdb issue)
7a5573f
7a5573f
* Mon Dec 13 2004 Tom Lane <tgl@redhat.com> 4.1.7-7
7a5573f
- Suppress someone's silly idea that libtool overhead can be skipped
7a5573f
7a5573f
* Sun Dec 12 2004 Tom Lane <tgl@redhat.com> 4.1.7-6
7a5573f
- Fix init script to not need a valid username for startup check (bz#142328)
7a5573f
- Fix init script to honor settings appearing in /etc/my.cnf (bz#76051)
7a5573f
- Enable SSL (bz#142032)
7a5573f
7a5573f
* Thu Dec  2 2004 Tom Lane <tgl@redhat.com> 4.1.7-5
7a5573f
- Add a restorecon to keep the mysql.log file in the right context (bz#143887)
7a5573f
7a5573f
* Tue Nov 23 2004 Tom Lane <tgl@redhat.com> 4.1.7-4
7a5573f
- Turn off old_passwords in default /etc/my.cnf file, for better compatibility
7a5573f
  with mysql 3.x clients (per suggestion from Joe Orton).
7a5573f
7a5573f
* Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3
7a5573f
- Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/).
7a5573f
7a5573f
* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 4.1.7-2
7a5573f
- rebuild in devel branch
7a5573f
7a5573f
* Wed Oct 27 2004 Tom Lane <tgl@redhat.com> 4.1.7-1
7a5573f
- Update to MySQL 4.1.x.
7a5573f
7a5573f
* Tue Oct 12 2004 Tom Lane <tgl@redhat.com> 3.23.58-13
7a5573f
- fix security issues CAN-2004-0835, CAN-2004-0836, CAN-2004-0837
7a5573f
  (bugs #135372, 135375, 135387)
7a5573f
- fix privilege escalation on GRANT ALL ON `Foo\_Bar` (CAN-2004-0957)
7a5573f
7a5573f
* Wed Oct 06 2004 Tom Lane <tgl@redhat.com> 3.23.58-12
7a5573f
- fix multilib problem with mysqlbug and mysql_config
7a5573f
- adjust chkconfig priority per bug #128852
7a5573f
- remove bogus quoting per bug #129409 (MySQL 4.0 has done likewise)
7a5573f
- add sleep to mysql.init restart(); may or may not fix bug #133993