7a7e4c
#   This is a fix for the https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
7a7e4c
#   So the beaviour will be the same also in F31 nad F32
7a7e4c
%undefine __cmake_in_source_build
7a7e4c
7a7e4c
# Prefix that is used for patches
7a7e4c
%global pkg_name %{name}
7a7e4c
%global pkgnamepatch mariadb
7a7e4c
7a7e4c
# Regression tests may take a long time (many cores recommended), skip them by
7a7e4c
%{!?runselftest:%global runselftest 1}
7a7e4c
7a7e4c
# Set this to 1 to see which tests fail, but 0 on production ready build
7a7e4c
%global ignore_testsuite_result 0
7a7e4c
7a7e4c
# The last version on which the full testsuite has been run
7a7e4c
# In case of further rebuilds of that version, don't require full testsuite to be run
7a7e4c
# run only "main" suite
e6a51b
%global last_tested_version 10.5.12
7a7e4c
# Set to 1 to force run the testsuite even if it was already tested in current version
7a7e4c
%global force_run_testsuite 0
7a7e4c
7a7e4c
# Aditional SELinux rules
7a7e4c
%global require_mysql_selinux 1
7a7e4c
7a7e4c
# In f20+ use unversioned docdirs, otherwise the old versioned one
7a7e4c
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
7a7e4c
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
7a7e4c
7a7e4c
# By default, patch(1) creates backup files when chunks apply with offsets.
7a7e4c
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
7a7e4c
%global _default_patch_flags --no-backup-if-mismatch
7a7e4c
7a7e4c
7a7e4c
7a7e4c
# Mroonga engine
7a7e4c
#   https://mariadb.com/kb/en/mariadb/about-mroonga/
7a7e4c
#   Current version in MariaDB, 7.07, only supports the x86_64
7a7e4c
#   Mroonga upstream warns about using 32-bit package: http://mroonga.org/docs/install.html
7a7e4c
# RocksDB engine
7a7e4c
#   https://mariadb.com/kb/en/library/about-myrocks-for-mariadb/
7a7e4c
#   RocksDB engine is available only for x86_64
7a7e4c
#   RocksDB may be built with jemalloc, if specified in CMake
7a7e4c
%ifarch x86_64
7a7e4c
%if 0%{?fedora}
7a7e4c
%bcond_without mroonga
7a7e4c
%bcond_without rocksdb
7a7e4c
%else
7a7e4c
%bcond_with mroonga
7a7e4c
%bcond_with rocksdb
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
# The Open Query GRAPH engine (OQGRAPH) is a computation engine allowing
7a7e4c
# hierarchies and more complex graph structures to be handled in a relational fashion
7a7e4c
%bcond_without oqgraph
7a7e4c
64ec31
# PAM authentication plugin
64ec31
%bcond_without pam
64ec31
7a7e4c
# Other plugins
7a7e4c
%if 0%{?fedora}
7a7e4c
%bcond_without cracklib
7a7e4c
%bcond_without connect
7a7e4c
%bcond_without sphinx
7a7e4c
%else
7a7e4c
%bcond_with cracklib
7a7e4c
%bcond_with connect
7a7e4c
%bcond_with sphinx
7a7e4c
%endif
7a7e4c
7a7e4c
%bcond_without gssapi
7a7e4c
7a7e4c
# For some use cases we do not need some parts of the package. Set to "...with" to exclude
7a7e4c
%if 0%{?fedora} || 0%{?rhel} > 7
7a7e4c
%bcond_with    clibrary
7a7e4c
%else
7a7e4c
%bcond_without clibrary
7a7e4c
%endif
7a7e4c
%bcond_without embedded
7a7e4c
%bcond_without devel
7a7e4c
%bcond_without client
7a7e4c
%bcond_without common
7a7e4c
%bcond_without errmsg
7a7e4c
%bcond_without test
7a7e4c
%bcond_without galera
7a7e4c
%bcond_without backup
7a7e4c
7a7e4c
# When there is already another package that ships /etc/my.cnf,
7a7e4c
# rather include it than ship the file again, since conflicts between
7a7e4c
# those files may create issues
7a7e4c
%if 0%{?fedora} || 0%{?rhel} > 7
7a7e4c
%bcond_with config
7a7e4c
%else
7a7e4c
%bcond_without config
7a7e4c
%endif
7a7e4c
7a7e4c
# For deep debugging we need to build binaries with extra debug info
7a7e4c
%bcond_with    debug
7a7e4c
7a7e4c
# Page compression algorithms for InnoDB & XtraDB
7a7e4c
%bcond_without lz4
7a7e4c
7a7e4c
7a7e4c
7a7e4c
# MariaDB 10.0 and later requires pcre >= 10.34, otherwise we need to use
7a7e4c
# the bundled library, since the package cannot be build with older version
7a7e4c
#   https://mariadb.com/kb/en/pcre/
7a7e4c
%if 0%{?fedora} || 0%{?rhel} > 8
7a7e4c
%bcond_without unbundled_pcre
7a7e4c
%else
7a7e4c
%bcond_with unbundled_pcre
e6a51b
%global pcre_bundled_version 10.37
7a7e4c
%endif
7a7e4c
7a7e4c
# Use main python interpretter version
7a7e4c
%if 0%{?fedora} || 0%{?rhel} > 7
7a7e4c
%global python_path /usr/bin/python3
7a7e4c
%else
7a7e4c
%global python_path /usr/bin/python2
7a7e4c
%endif
7a7e4c
7a7e4c
# Include systemd files
7a7e4c
%global daemon_name %{name}
7a7e4c
%global daemon_no_prefix %{pkg_name}
7a7e4c
%global mysqld_pid_dir mariadb
7a7e4c
7a7e4c
# We define some system's well known locations here so we can use them easily
7a7e4c
# later when building to another location (like SCL)
7a7e4c
%global logrotateddir %{_sysconfdir}/logrotate.d
7a7e4c
%global logfiledir %{_localstatedir}/log/%{daemon_name}
7a7e4c
%global logfile %{logfiledir}/%{daemon_name}.log
7a7e4c
# Directory for storing pid file
7a7e4c
%global pidfiledir %{_rundir}/%{mysqld_pid_dir}
7a7e4c
# Defining where database data live
7a7e4c
%global dbdatadir %{_localstatedir}/lib/mysql
7a7e4c
# Home directory of mysql user should be same for all packages that create it
7a7e4c
%global mysqluserhome /var/lib/mysql
7a7e4c
7a7e4c
# Provide mysql names for compatibility
7a7e4c
%if 0%{?fedora}
7a7e4c
%bcond_without mysql_names
7a7e4c
%else
7a7e4c
%bcond_with    mysql_names
7a7e4c
%endif
7a7e4c
7a7e4c
# Make long macros shorter
7a7e4c
%global sameevr   %{epoch}:%{version}-%{release}
7a7e4c
7a7e4c
Name:             mariadb
e6a51b
Version:          10.5.13
64ec31
Release:          1%{?with_debug:.debug}%{?dist}
7a7e4c
Epoch:            3
7a7e4c
7a7e4c
Summary:          A very fast and robust SQL database server
7a7e4c
URL:              http://mariadb.org
7a7e4c
# Exceptions allow client libraries to be linked with most open source SW, not only GPL code.  See README.mysql-license
7a7e4c
License:          GPLv2 with exceptions and LGPLv2 and BSD
7a7e4c
e6a51b
# Original upstream sources archive URL
e6a51b
# Source0:          https://downloads.mariadb.org/interstitial/mariadb-%{version}/source/mariadb-%{version}.tar.gz
e6a51b
# Non-existent URL containing correct archive name
e6a51b
#   The archive was created by executing the "generate-modified-sources.sh" script
e6a51b
Source0:          https://fedoraproject.org/mariadb-%{version}-downstream_modified.tar.gz
e6a51b
7a7e4c
Source2:          mysql_config_multilib.sh
7a7e4c
Source3:          my.cnf.in
7a7e4c
Source6:          README.mysql-docs
7a7e4c
Source7:          README.mysql-license
e6a51b
Source8:          README.wsrep_sst_rsync_tunnel
7a7e4c
Source10:         mysql.tmpfiles.d.in
7a7e4c
Source11:         mysql.service.in
7a7e4c
Source12:         mysql-prepare-db-dir.sh
7a7e4c
Source14:         mysql-check-socket.sh
7a7e4c
Source15:         mysql-scripts-common.sh
7a7e4c
Source16:         mysql-check-upgrade.sh
7a7e4c
Source18:         mysql@.service.in
7a7e4c
Source50:         rh-skipped-tests-base.list
7a7e4c
Source51:         rh-skipped-tests-arm.list
7a7e4c
Source52:         rh-skipped-tests-s390.list
7a7e4c
Source53:         rh-skipped-tests-ppc.list
7a7e4c
# Red Hat OpenStack scripts:
7a7e4c
#   Clustercheck:
7a7e4c
#     Maintainer:
7a7e4c
#       Damien Ciabrini <dciabrin@redhat.com>
7a7e4c
#     Source / Upstream:
7a7e4c
#       Damien; based on https://github.com/olafz/percona-clustercheck
7a7e4c
#       not updated in 5 years; low-effort maintenance
7a7e4c
#     Purpose:
7a7e4c
#       In Openstack, galera is accessed like an A/P database, we have a
7a7e4c
#       load balancer (haproxy) that drives traffic to a single node and
7a7e4c
#       performs failover when the galera node monitor fails.
7a7e4c
#       clustercheck.sh is the monitoring script that is being called remotely
7a7e4c
#       by haproxy. It is a glue between haproxy and the local galera node that
7a7e4c
#       can run SQL commands to check whether the local galera is connected to the galera cluster.
7a7e4c
#     Proposed to MariaDB upstream: https://jira.mariadb.org/browse/MDEV-12442
7a7e4c
#       General upstream response was slightly positive
7a7e4c
Source70:         clustercheck.sh
7a7e4c
Source71:         LICENSE.clustercheck
7a7e4c
7a7e4c
# Upstream said: "Generally MariaDB has more allows to allow for xtradb sst mechanism".
7a7e4c
# https://jira.mariadb.org/browse/MDEV-12646
7a7e4c
Source72:         mariadb-server-galera.te
7a7e4c
e6a51b
# Script to support encrypted rsync transfers when SST is required between nodes.
e6a51b
# https://github.com/dciabrin/wsrep_sst_rsync_tunnel/blob/master/wsrep_sst_rsync_tunnel
e6a51b
Source73:         wsrep_sst_rsync_tunnel
e6a51b
e6a51b
#   Patch1: OpenSSL 3 patch
e6a51b
#   Picked from the upstream developement branch for MariaDB 10.8.
e6a51b
#   https://jira.mariadb.org/browse/MDEV-25785
e6a51b
Patch1:           %{pkgnamepatch}-openssl3.patch
7a7e4c
#   Patch4: Red Hat distributions specific logrotate fix
7a7e4c
#   it would be big unexpected change, if we start shipping it now. Better wait for MariaDB 10.2
7a7e4c
Patch4:           %{pkgnamepatch}-logrotate.patch
7a7e4c
#   Patch7: add to the CMake file all files where we want macros to be expanded
7a7e4c
Patch7:           %{pkgnamepatch}-scripts.patch
7a7e4c
#   Patch9: pre-configure to comply with guidelines
7a7e4c
Patch9:           %{pkgnamepatch}-ownsetup.patch
7a7e4c
#   Patch10: Fix cipher name in the SSL Cipher name test
7a7e4c
Patch10:          %{pkgnamepatch}-ssl-cipher-tests.patch
7a7e4c
#   Patch11: Use PCDIR CMake option, if configured
7a7e4c
Patch11:          %{pkgnamepatch}-pcdir.patch
7a7e4c
#   Patch13: Fix Spider code on armv7hl; https://jira.mariadb.org/browse/MDEV-18737
7a7e4c
Patch13:          %{pkgnamepatch}-spider_on_armv7hl.patch
7a7e4c
#   Patch15:  Add option to edit groonga's and groonga-normalizer-mysql install path
7a7e4c
Patch15:          %{pkgnamepatch}-groonga.patch
7a7e4c
#   Patch16: Workaround for "chown 0" with priviledges dropped to "mysql" user
7a7e4c
Patch16:          %{pkgnamepatch}-auth_pam_tool_dir.patch
7a7e4c
#   Patch17: Revert of an upstream commit
7a7e4c
Patch17:          upstream_5cc2096f93b7f130b36f8bc0fc43440db9a848e4.patch
7a7e4c
7a7e4c
BuildRequires:    cmake gcc-c++
7a7e4c
BuildRequires:    multilib-rpm-config
7a7e4c
BuildRequires:    selinux-policy-devel
7a7e4c
BuildRequires:    systemd systemd-devel
7a7e4c
7a7e4c
# Page compression algorithms for InnoDB & XtraDB
7a7e4c
BuildRequires:    zlib-devel
7a7e4c
%{?with_lz4:BuildRequires:    lz4-devel}
7a7e4c
7a7e4c
# asynchornous operations stuff; needed also for wsrep API
7a7e4c
BuildRequires:    libaio-devel
7a7e4c
# commands history features
7a7e4c
BuildRequires:    libedit-devel
7a7e4c
# CLI graphic; needed also for wsrep API
7a7e4c
BuildRequires:    ncurses-devel
7a7e4c
# debugging stuff
7a7e4c
BuildRequires:    systemtap-sdt-devel
7a7e4c
# Bison SQL parser; needed also for wsrep API
7a7e4c
BuildRequires:    bison bison-devel
7a7e4c
7a7e4c
%{?with_debug:BuildRequires:    valgrind-devel}
7a7e4c
7a7e4c
# auth_pam.so plugin will be build if pam-devel is installed
7a7e4c
BuildRequires:    pam-devel
7a7e4c
# use either new enough version of pcre2 or provide bundles(pcre2)
7a7e4c
%{?with_unbundled_pcre:BuildRequires: pcre2-devel >= 10.34 pkgconf}
7a7e4c
%{!?with_unbundled_pcre:Provides: bundled(pcre2) = %{pcre_bundled_version}}
7a7e4c
# Few utilities needs Perl
7a7e4c
%if 0%{?fedora} || 0%{?rhel} > 7
7a7e4c
BuildRequires:    perl-interpreter
7a7e4c
BuildRequires:    perl-generators
7a7e4c
%endif
7a7e4c
# Some tests requires python
7a7e4c
BuildRequires:    python3
7a7e4c
# Tests requires time and ps and some perl modules
7a7e4c
BuildRequires:    procps
7a7e4c
BuildRequires:    time
7a7e4c
BuildRequires:    perl(base)
7a7e4c
BuildRequires:    perl(Cwd)
7a7e4c
BuildRequires:    perl(Data::Dumper)
7a7e4c
BuildRequires:    perl(English)
7a7e4c
BuildRequires:    perl(Env)
7a7e4c
BuildRequires:    perl(Errno)
7a7e4c
BuildRequires:    perl(Exporter)
7a7e4c
BuildRequires:    perl(Fcntl)
7a7e4c
BuildRequires:    perl(File::Basename)
7a7e4c
BuildRequires:    perl(File::Copy)
7a7e4c
BuildRequires:    perl(File::Find)
7a7e4c
BuildRequires:    perl(File::Spec)
7a7e4c
BuildRequires:    perl(File::Spec::Functions)
7a7e4c
BuildRequires:    perl(File::Temp)
7a7e4c
BuildRequires:    perl(Getopt::Long)
7a7e4c
BuildRequires:    perl(IO::File)
7a7e4c
BuildRequires:    perl(IO::Handle)
7a7e4c
BuildRequires:    perl(IO::Select)
7a7e4c
BuildRequires:    perl(IO::Socket)
7a7e4c
BuildRequires:    perl(IO::Socket::INET)
7a7e4c
BuildRequires:    perl(IPC::Open3)
7a7e4c
BuildRequires:    perl(lib)
7a7e4c
BuildRequires:    perl(Memoize)
7a7e4c
BuildRequires:    perl(POSIX)
7a7e4c
BuildRequires:    perl(Socket)
7a7e4c
BuildRequires:    perl(strict)
7a7e4c
BuildRequires:    perl(Symbol)
7a7e4c
BuildRequires:    perl(Sys::Hostname)
7a7e4c
BuildRequires:    perl(Term::ANSIColor)
7a7e4c
BuildRequires:    perl(Test::More)
7a7e4c
BuildRequires:    perl(Time::HiRes)
7a7e4c
BuildRequires:    perl(Time::localtime)
7a7e4c
BuildRequires:    perl(warnings)
7a7e4c
# for running some openssl tests rhbz#1189180
7a7e4c
BuildRequires:    openssl openssl-devel
7a7e4c
7a7e4c
%if %{with debug}
7a7e4c
BuildRequires:    valgrind-devel
7a7e4c
%endif
7a7e4c
7a7e4c
Requires:         bash coreutils grep
7a7e4c
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
7a7e4c
%if %{with clibrary}
7a7e4c
# Explicit EVR requirement for -libs is needed for RHBZ#1406320
7a7e4c
Requires:         %{name}-libs%{?_isa} = %{sameevr}
7a7e4c
%else
7a7e4c
# If not built with client library in this package, use connector-c
7a7e4c
Requires:         mariadb-connector-c >= 3.0
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql = %{sameevr}
7a7e4c
Provides:         mysql%{?_isa} = %{sameevr}
7a7e4c
Provides:         mysql-compat-client = %{sameevr}
7a7e4c
Provides:         mysql-compat-client%{?_isa} = %{sameevr}
7a7e4c
%endif
7a7e4c
7a7e4c
Suggests:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
e6a51b
Conflicts:        mysql
7a7e4c
7a7e4c
# Filtering: https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/
7a7e4c
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::|wsrep)
7a7e4c
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/%{pkg_name}/plugin/.*\\.so)$
7a7e4c
7a7e4c
# Define license macro if not present
7a7e4c
%{!?_licensedir:%global license %doc}
7a7e4c
7a7e4c
%description
7a7e4c
MariaDB is a community developed branch of MySQL - a multi-user, multi-threaded
7a7e4c
SQL database server. It is a client/server implementation consisting of
7a7e4c
a server daemon (mysqld) and many different client programs and libraries.
7a7e4c
The base package contains the standard MariaDB/MySQL client programs and
7a7e4c
generic MySQL files.
7a7e4c
7a7e4c
7a7e4c
%if %{with clibrary}
7a7e4c
%package          libs
7a7e4c
Summary:          The shared libraries required for MariaDB/MySQL clients
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-libs = %{sameevr}
7a7e4c
Provides:         mysql-libs%{?_isa} = %{sameevr}
7a7e4c
%endif
7a7e4c
7a7e4c
%description      libs
7a7e4c
The mariadb-libs package provides the essential shared libraries for any
7a7e4c
MariaDB/MySQL client program or interface. You will need to install this
7a7e4c
package to use any other MariaDB package or any clients that need to connect
7a7e4c
to a MariaDB/MySQL server.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
# At least main config file /etc/my.cnf is shared for client and server part
7a7e4c
# Since we want to support combination of different client and server
e6a51b
# implementations (e.g. mariadb library and mysql server),
7a7e4c
# we need the config file(s) to be in a separate package, so no extra packages
7a7e4c
# are pulled, because these would likely conflict.
7a7e4c
# More specifically, the dependency on the main configuration file (/etc/my.cnf)
7a7e4c
# is supposed to be defined as Requires: /etc/my.cnf rather than requiring
7a7e4c
# a specific package, so installer app can choose whatever package fits to
7a7e4c
# the transaction.
7a7e4c
%if %{with config}
7a7e4c
%package          config
7a7e4c
Summary:          The config files required by server and client
7a7e4c
7a7e4c
%description      config
7a7e4c
The package provides the config file my.cnf and my.cnf.d directory used by any
7a7e4c
MariaDB or MySQL program. You will need to install this package to use any
7a7e4c
other MariaDB or MySQL package if the config files are not provided in the
7a7e4c
package itself.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with common}
7a7e4c
%package          common
7a7e4c
Summary:          The shared files required by server and client
7a7e4c
Requires:         %{_sysconfdir}/my.cnf
7a7e4c
7a7e4c
7a7e4c
%if %{without clibrary}
7a7e4c
Obsoletes: %{name}-libs <= %{sameevr}
7a7e4c
%endif
7a7e4c
7a7e4c
%description      common
7a7e4c
The package provides the essential shared files for any MariaDB program.
7a7e4c
You will need to install this package to use any other MariaDB package.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with errmsg}
7a7e4c
%package          errmsg
7a7e4c
Summary:          The error messages files required by server and embedded
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
7a7e4c
%description      errmsg
7a7e4c
The package provides error messages files for the MariaDB daemon and the
7a7e4c
embedded server. You will need to install this package to use any of those
7a7e4c
MariaDB packages.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with galera}
7a7e4c
%package          server-galera
7a7e4c
Summary:          The configuration files and scripts for galera replication
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
Requires:         galera >= 26.4.3
7a7e4c
Requires(post):   libselinux-utils
7a7e4c
Requires(post):   policycoreutils-python-utils
7a7e4c
# wsrep requirements
7a7e4c
Requires:         lsof
7a7e4c
# Default wsrep_sst_method
7a7e4c
Requires:         rsync
7a7e4c
7a7e4c
%description      server-galera
7a7e4c
MariaDB is a multi-user, multi-threaded SQL database server. It is a
7a7e4c
client/server implementation consisting of a server daemon (mysqld)
7a7e4c
and many different client programs and libraries. This package contains
7a7e4c
the MariaDB server and some accompanying files and directories.
7a7e4c
MariaDB is a community developed branch of MySQL.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%package          server
7a7e4c
Summary:          The MariaDB server and related files
7a7e4c
7a7e4c
# note: no version here = %%{version}-%%{release}
7a7e4c
%if %{with mysql_names}
7a7e4c
Requires:         mysql-compat-client%{?_isa}
7a7e4c
Requires:         mysql%{?_isa}
7a7e4c
Recommends:       %{name}%{?_isa}
7a7e4c
%else
7a7e4c
Requires:         %{name}%{?_isa}
7a7e4c
%endif
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
7a7e4c
Recommends:       %{name}-server-utils%{?_isa} = %{sameevr}
7a7e4c
Recommends:       %{name}-backup%{?_isa} = %{sameevr}
7a7e4c
%{?with_cracklib:Recommends:   %{name}-cracklib-password-check%{?_isa} = %{sameevr}}
7a7e4c
%{?with_gssapi:Recommends:     %{name}-gssapi-server%{?_isa} = %{sameevr}}
7a7e4c
%{?with_rocksdb:Suggests:      %{name}-rocksdb-engine%{?_isa} = %{sameevr}}
7a7e4c
%{?with_sphinx:Suggests:       %{name}-sphinx-engine%{?_isa} = %{sameevr}}
7a7e4c
%{?with_oqgraph:Suggests:      %{name}-oqgraph-engine%{?_isa} = %{sameevr}}
7a7e4c
%{?with_connect:Suggests:      %{name}-connect-engine%{?_isa} = %{sameevr}}
64ec31
%{?with_pam:Suggests:          %{name}-pam%{?_isa} = %{sameevr}}
7a7e4c
7a7e4c
Suggests:         mytop
7a7e4c
Suggests:         logrotate
7a7e4c
7a7e4c
Requires:         %{_sysconfdir}/my.cnf
7a7e4c
Requires:         %{_sysconfdir}/my.cnf.d
7a7e4c
7a7e4c
# Aditional SELinux rules (common for MariaDB & MySQL) shipped in a separate package
7a7e4c
# For cases, where we want to fix a SELinux issues in MariaDB sooner than patched selinux-policy-targeted package is released
7a7e4c
%if %require_mysql_selinux
7a7e4c
Requires:         (mysql-selinux if selinux-policy-targeted)
7a7e4c
%endif
7a7e4c
7a7e4c
# for fuser in mysql-check-socket
7a7e4c
Requires:         psmisc
7a7e4c
7a7e4c
Requires:         coreutils
7a7e4c
Requires(pre):    /usr/sbin/useradd
7a7e4c
# We require this to be present for %%{_tmpfilesdir}
7a7e4c
Requires:         systemd
7a7e4c
# Make sure it's there when scriptlets run, too
7a7e4c
%{?systemd_requires}
7a7e4c
# RHBZ#1496131; use 'iproute' instead of 'net-tools'
7a7e4c
Requires:         iproute
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-server = %{sameevr}
7a7e4c
Provides:         mysql-server%{?_isa} = %{sameevr}
7a7e4c
Provides:         mysql-compat-server = %{sameevr}
7a7e4c
Provides:         mysql-compat-server%{?_isa} = %{sameevr}
7a7e4c
%endif
e6a51b
Conflicts:        mysql-server
7a7e4c
7a7e4c
# Bench subpackage has been deprecated in F32
7a7e4c
Obsoletes: %{name}-bench <= %{sameevr}
7a7e4c
7a7e4c
%if %{without tokudb}
7a7e4c
Obsoletes:      %{name}-tokudb-engine <= %{sameevr}
7a7e4c
%endif
7a7e4c
7a7e4c
%description      server
7a7e4c
MariaDB is a multi-user, multi-threaded SQL database server. It is a
7a7e4c
client/server implementation consisting of a server daemon (mysqld)
7a7e4c
and many different client programs and libraries. This package contains
7a7e4c
the MariaDB server and some accompanying files and directories.
7a7e4c
MariaDB is a community developed branch of MySQL.
7a7e4c
7a7e4c
7a7e4c
%if %{with oqgraph}
7a7e4c
%package          oqgraph-engine
7a7e4c
Summary:          The Open Query GRAPH engine for MariaDB
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
# boost and Judy required for oograph
7a7e4c
BuildRequires:    boost-devel Judy-devel
7a7e4c
7a7e4c
%description      oqgraph-engine
7a7e4c
The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB
7a7e4c
database server. OQGRAPH is a computation engine allowing hierarchies and more
7a7e4c
complex graph structures to be handled in a relational fashion. In a nutshell,
7a7e4c
tree structures and friend-of-a-friend style searches can now be done using
7a7e4c
standard SQL syntax, and results joined onto other tables.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with connect}
7a7e4c
%package          connect-engine
7a7e4c
Summary:          The CONNECT storage engine for MariaDB
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
7a7e4c
# As per https://jira.mariadb.org/browse/MDEV-21450
7a7e4c
BuildRequires:    libxml2-devel
7a7e4c
7a7e4c
%description      connect-engine
7a7e4c
The CONNECT storage engine enables MariaDB to access external local or
7a7e4c
remote data (MED). This is done by defining tables based on different data
7a7e4c
types, in particular files in various formats, data extracted from other DBMS
7a7e4c
or products (such as Excel), or data retrieved from the environment
7a7e4c
(for example DIR, WMI, and MAC tables).
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with backup}
7a7e4c
%package          backup
7a7e4c
Summary:          The mariabackup tool for physical online backups
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
BuildRequires:    libarchive-devel
7a7e4c
7a7e4c
%description      backup
7a7e4c
MariaDB Backup is an open source tool provided by MariaDB for performing
7a7e4c
physical online backups of InnoDB, Aria and MyISAM tables.
7a7e4c
For InnoDB, "hot online" backups are possible.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with rocksdb}
7a7e4c
%package          rocksdb-engine
7a7e4c
Summary:          The RocksDB storage engine for MariaDB
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
Provides:         bundled(rocksdb)
7a7e4c
7a7e4c
%description      rocksdb-engine
7a7e4c
The RocksDB storage engine is used for high performance servers on SSD drives.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with cracklib}
7a7e4c
%package          cracklib-password-check
7a7e4c
Summary:          The password strength checking plugin
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
BuildRequires:    cracklib-dicts cracklib-devel
7a7e4c
Requires:         cracklib-dicts
7a7e4c
7a7e4c
%description      cracklib-password-check
7a7e4c
CrackLib is a password strength checking library. It is installed by default
7a7e4c
in many Linux distributions and is invoked automatically (by pam_cracklib.so)
7a7e4c
whenever the user login password is modified.
7a7e4c
Now, with the cracklib_password_check password validation plugin, one can
7a7e4c
also use it to check MariaDB account passwords.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with gssapi}
7a7e4c
%package          gssapi-server
7a7e4c
Summary:          GSSAPI authentication plugin for server
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
BuildRequires:    krb5-devel
7a7e4c
7a7e4c
%description      gssapi-server
7a7e4c
GSSAPI authentication server-side plugin for MariaDB for passwordless login.
7a7e4c
This plugin includes support for Kerberos on Unix.
7a7e4c
%endif
7a7e4c
7a7e4c
64ec31
%if %{with pam}
64ec31
%package          pam
64ec31
Summary:          PAM authentication plugin for the MariaDB server
64ec31
64ec31
Requires:         %{name}-server%{?_isa} = %{sameevr}
64ec31
# This subpackage NEED the 'mysql' user/group (created during mariadb-server %pre) to be available prior installation
64ec31
Requires(pre):    %{name}-server%{?_isa} = %{sameevr}
64ec31
64ec31
BuildRequires:    pam-devel
64ec31
64ec31
%description      pam
64ec31
PAM authentication server-side plugin for MariaDB.
64ec31
%endif
64ec31
64ec31
7a7e4c
%if %{with sphinx}
7a7e4c
%package          sphinx-engine
7a7e4c
Summary:          The Sphinx storage engine for MariaDB
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
BuildRequires:    sphinx libsphinxclient libsphinxclient-devel
7a7e4c
Requires:         sphinx libsphinxclient
7a7e4c
7a7e4c
%description      sphinx-engine
7a7e4c
The Sphinx storage engine for MariaDB.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%package          server-utils
7a7e4c
Summary:          Non-essential server utilities for MariaDB/MySQL applications
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-perl = %{sameevr}
7a7e4c
%endif
e6a51b
Conflicts:        mysql-server
7a7e4c
# mysqlhotcopy needs DBI/DBD support
7a7e4c
Requires:         perl(DBI) perl(DBD::mysql)
7a7e4c
7a7e4c
%description      server-utils
7a7e4c
This package contains all non-essential server utilities and scripts for
7a7e4c
managing databases. It also contains all utilities requiring Perl and it is
7a7e4c
the only MariaDB sub-package, except test subpackage, that depends on Perl.
7a7e4c
7a7e4c
7a7e4c
%if %{with devel}
7a7e4c
%package          devel
7a7e4c
Summary:          Files for development of MariaDB/MySQL applications
7a7e4c
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
7a7e4c
Requires:         openssl-devel
7a7e4c
%if %{without clibrary}
7a7e4c
Requires:         mariadb-connector-c-devel >= 3.0
7a7e4c
%endif
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-devel = %{sameevr}
7a7e4c
Provides:         mysql-devel%{?_isa} = %{sameevr}
7a7e4c
%endif
e6a51b
Conflicts:        mysql-devel
7a7e4c
7a7e4c
%description      devel
7a7e4c
MariaDB is a multi-user, multi-threaded SQL database server.
7a7e4c
MariaDB is a community developed branch of MySQL.
7a7e4c
%if %{with clibrary}
7a7e4c
This package contains everything needed for developing MariaDB/MySQL client
7a7e4c
and server applications.
7a7e4c
%else
7a7e4c
This package contains everything needed for developing MariaDB/MySQL server
7a7e4c
applications. For developing client applications, use mariadb-connector-c
7a7e4c
package.
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with embedded}
7a7e4c
%package          embedded
7a7e4c
Summary:          MariaDB as an embeddable library
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-embedded = %{sameevr}
7a7e4c
Provides:         mysql-embedded%{?_isa} = %{sameevr}
7a7e4c
%endif
7a7e4c
7a7e4c
%description      embedded
7a7e4c
MariaDB is a multi-user, multi-threaded SQL database server. This
7a7e4c
package contains a version of the MariaDB server that can be embedded
7a7e4c
into a client application instead of running as a separate process.
7a7e4c
MariaDB is a community developed branch of MySQL.
7a7e4c
7a7e4c
7a7e4c
%package          embedded-devel
7a7e4c
Summary:          Development files for MariaDB as an embeddable library
7a7e4c
Requires:         %{name}-embedded%{?_isa} = %{sameevr}
7a7e4c
Requires:         %{name}-devel%{?_isa} = %{sameevr}
7a7e4c
# embedded-devel should require libaio-devel (rhbz#1290517)
7a7e4c
Requires:         libaio-devel
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-embedded-devel = %{sameevr}
7a7e4c
Provides:         mysql-embedded-devel%{?_isa} = %{sameevr}
7a7e4c
%endif
e6a51b
Conflicts:        mysql-embedded-devel
7a7e4c
7a7e4c
%description      embedded-devel
7a7e4c
MariaDB is a multi-user, multi-threaded SQL database server.
7a7e4c
MariaDB is a community developed branch of MySQL.
7a7e4c
This package contains files needed for developing and testing with
7a7e4c
the embedded version of the MariaDB server.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{with test}
7a7e4c
%package          test
7a7e4c
Summary:          The test suite distributed with MariaDB
7a7e4c
Requires:         %{name}%{?_isa} = %{sameevr}
7a7e4c
Requires:         %{name}-common%{?_isa} = %{sameevr}
7a7e4c
Requires:         %{name}-server%{?_isa} = %{sameevr}
7a7e4c
Requires:         patch
7a7e4c
Requires:         perl(Env)
7a7e4c
Requires:         perl(Exporter)
7a7e4c
Requires:         perl(Fcntl)
7a7e4c
Requires:         perl(File::Temp)
7a7e4c
Requires:         perl(Data::Dumper)
7a7e4c
Requires:         perl(Getopt::Long)
7a7e4c
Requires:         perl(IPC::Open3)
7a7e4c
Requires:         perl(Socket)
7a7e4c
Requires:         perl(Sys::Hostname)
7a7e4c
Requires:         perl(Test::More)
7a7e4c
Requires:         perl(Time::HiRes)
e6a51b
Conflicts:        mysql-test
7a7e4c
%if %{with mysql_names}
7a7e4c
Provides:         mysql-test = %{sameevr}
7a7e4c
Provides:         mysql-test%{?_isa} = %{sameevr}
7a7e4c
%endif
7a7e4c
7a7e4c
%description      test
7a7e4c
MariaDB is a multi-user, multi-threaded SQL database server.
7a7e4c
MariaDB is a community developed branch of MySQL.
7a7e4c
This package contains the regression test suite distributed with the MariaDB
7a7e4c
sources.
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%prep
e6a51b
%setup -q -n mariadb-%{version}-downstream_modified
7a7e4c
7a7e4c
# Remove JAR files that upstream puts into tarball
7a7e4c
find . -name "*.jar" -type f -exec rm --verbose -f {} \;
7a7e4c
# Remove testsuite for the mariadb-connector-c
7a7e4c
rm -rf libmariadb/unittest
7a7e4c
%if %{without rocksdb}
7a7e4c
rm -r storage/rocksdb/
7a7e4c
%endif
7a7e4c
7a7e4c
e6a51b
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
e6a51b
%patch1 -p1
e6a51b
%endif
7a7e4c
%patch4 -p1
7a7e4c
%patch7 -p1
7a7e4c
%patch9 -p1
7a7e4c
%patch10 -p1
7a7e4c
%patch11 -p1
7a7e4c
#%patch13 -p1
7a7e4c
%patch15 -p1
7a7e4c
%patch16 -p1
7a7e4c
%patch17 -R -p1
7a7e4c
7a7e4c
# generate a list of tests that fail, but are not disabled by upstream
7a7e4c
cat %{SOURCE50} | tee -a mysql-test/unstable-tests
7a7e4c
7a7e4c
# disable some tests failing on different architectures
7a7e4c
%ifarch %{arm} aarch64
7a7e4c
cat %{SOURCE51} | tee -a mysql-test/unstable-tests
7a7e4c
%endif
7a7e4c
7a7e4c
%ifarch s390 s390x
7a7e4c
cat %{SOURCE52} | tee -a mysql-test/unstable-tests
7a7e4c
%endif
7a7e4c
7a7e4c
%ifarch ppc ppc64 ppc64p7 ppc64le
7a7e4c
cat %{SOURCE53} | tee -a mysql-test/unstable-tests
7a7e4c
%endif
7a7e4c
7a7e4c
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
e6a51b
   %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE18} %{SOURCE70} %{SOURCE73} scripts
7a7e4c
7a7e4c
%if %{with galera}
7a7e4c
# prepare selinux policy
7a7e4c
mkdir selinux
7a7e4c
sed 's/mariadb-server-galera/%{name}-server-galera/' %{SOURCE72} > selinux/%{name}-server-galera.te
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
# Get version of PCRE, that upstream use
e6a51b
pcre_version=`grep -e "https://github.com/PhilipHazel/pcre2/releases/download" cmake/pcre.cmake | sed -r "s;.*pcre2-([[:digit:]]+\.[[:digit:]]+).*;\1;" `
7a7e4c
7a7e4c
# Check if the PCRE version in macro 'pcre_bundled_version', used in Provides: bundled(...), is the same version as upstream actually bundles
7a7e4c
%if %{without unbundled_pcre}
7a7e4c
if [ %{pcre_bundled_version} != "$pcre_version" ] ; then
e6a51b
  echo -e "\n Error: Bundled PCRE version is not correct. \n\tBundled version number: %{pcre_bundled_version} \n\tUpstream version number: $pcre_version\n"
7a7e4c
  exit 1
7a7e4c
fi
7a7e4c
%else
7a7e4c
# Check if the PCRE version that upstream use, is the same as the one present in system
7a7e4c
pcre_system_version=`pkgconf %{_libdir}/pkgconfig/libpcre2-*.pc --modversion 2>/dev/null | head -n 1`
7a7e4c
7a7e4c
if [ "$pcre_system_version" != "$pcre_version" ] ; then
e6a51b
  echo -e "\n Warning: Error: Bundled PCRE version is not correct. \n\tSystem version number: $pcre_system_version \n\tUpstream version number: $pcre_version\n"
7a7e4c
fi
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
7a7e4c
%build
7a7e4c
# This package has static probe points which do not currently
7a7e4c
# work with LTO and result in undefined symbols at link time.
7a7e4c
# This is being worked on in upstream GCC
7a7e4c
%define _lto_cflags %{nil}
7a7e4c
7a7e4c
# fail quickly and obviously if user tries to build as root
7a7e4c
%if %runselftest
7a7e4c
    if [ x"$(id -u)" = "x0" ]; then
7a7e4c
        echo "mysql's regression tests fail if run as root."
7a7e4c
        echo "If you really need to build the RPM as root, use"
7a7e4c
        echo "--nocheck to skip the regression tests."
7a7e4c
        exit 1
7a7e4c
    fi
7a7e4c
%endif
7a7e4c
7a7e4c
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
7a7e4c
# so we can't use %%{_datadir} and so forth here.
7a7e4c
%cmake . \
7a7e4c
         -DBUILD_CONFIG=mysql_release \
7a7e4c
         -DFEATURE_SET="community" \
7a7e4c
         -DINSTALL_LAYOUT=RPM \
7a7e4c
         -DDAEMON_NAME="%{daemon_name}" \
7a7e4c
         -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
7a7e4c
         -DLOG_LOCATION="%{logfile}" \
7a7e4c
         -DPID_FILE_DIR="%{pidfiledir}" \
7a7e4c
         -DNICE_PROJECT_NAME="MariaDB" \
7a7e4c
         -DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora%{fedora}}" \
7a7e4c
         -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
7a7e4c
         -DINSTALL_SYSCONFDIR="%{_sysconfdir}" \
7a7e4c
         -DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
7a7e4c
         -DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
7a7e4c
         -DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
7a7e4c
         -DINSTALL_INCLUDEDIR=include/mysql \
7a7e4c
         -DINSTALL_INFODIR=share/info \
7a7e4c
         -DINSTALL_LIBDIR="%{_lib}" \
7a7e4c
         -DINSTALL_MANDIR=share/man \
7a7e4c
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
7a7e4c
         -DINSTALL_MYSQLTESTDIR=%{?with_test:share/mysql-test}%{!?with_test:} \
7a7e4c
         -DINSTALL_PLUGINDIR="%{_lib}/%{pkg_name}/plugin" \
7a7e4c
         -DINSTALL_SBINDIR=libexec \
7a7e4c
         -DINSTALL_SCRIPTDIR=bin \
7a7e4c
         -DINSTALL_SUPPORTFILESDIR=share/%{pkg_name} \
7a7e4c
         -DINSTALL_PCDIR=%{_lib}/pkgconfig \
7a7e4c
         -DMYSQL_DATADIR="%{dbdatadir}" \
7a7e4c
         -DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
7a7e4c
         -DTMPDIR=/var/tmp \
7a7e4c
         -DGRN_DATA_DIR=share/%{name}-server/groonga \
7a7e4c
         -DGROONGA_NORMALIZER_MYSQL_PROJECT_NAME=%{name}-server/groonga-normalizer-mysql \
7a7e4c
         -DENABLED_LOCAL_INFILE=ON \
7a7e4c
         -DENABLE_DTRACE=ON \
7a7e4c
         -DSECURITY_HARDENED=ON \
7a7e4c
         -DWITH_WSREP=%{?with_galera:ON}%{!?with_galera:OFF} \
7a7e4c
         -DWITH_INNODB_DISALLOW_WRITES=%{?with_galera:ON}%{!?with_galera:OFF} \
7a7e4c
         -DWITH_EMBEDDED_SERVER=%{?with_embedded:ON}%{!?with_embedded:OFF} \
7a7e4c
         -DWITH_MARIABACKUP=%{?with_backup:ON}%{!?with_backup:NO} \
7a7e4c
         -DWITH_UNIT_TESTS=%{?with_test:ON}%{!?with_test:NO} \
7a7e4c
         -DCONC_WITH_SSL=%{?with_clibrary:ON}%{!?with_clibrary:NO} \
7a7e4c
         -DWITH_SSL=system \
7a7e4c
         -DWITH_ZLIB=system \
7a7e4c
         -DLZ4_LIBS=%{_libdir}/liblz4.so \
7a7e4c
         -DLZ4_LIBS=%{?with_lz4:%{_libdir}/liblz4.so}%{!?with_lz4:} \
7a7e4c
         -DWITH_INNODB_LZ4=%{?with_lz4:ON}%{!?with_lz4:OFF} \
7a7e4c
         -DWITH_ROCKSDB_LZ4=%{?with_lz4:ON}%{!?with_lz4:OFF} \
7a7e4c
         -DPLUGIN_MROONGA=%{?with_mroonga:DYNAMIC}%{!?with_mroonga:NO} \
7a7e4c
         -DPLUGIN_OQGRAPH=%{?with_oqgraph:DYNAMIC}%{!?with_oqgraph:NO} \
7a7e4c
         -DPLUGIN_CRACKLIB_PASSWORD_CHECK=%{?with_cracklib:DYNAMIC}%{!?with_cracklib:NO} \
7a7e4c
         -DPLUGIN_ROCKSDB=%{?with_rocksdb:DYNAMIC}%{!?with_rocksdb:NO} \
7a7e4c
         -DPLUGIN_SPHINX=%{?with_sphinx:DYNAMIC}%{!?with_sphinx:NO} \
7a7e4c
         -DPLUGIN_CONNECT=%{?with_connect:DYNAMIC}%{!?with_connect:NO} \
e6a51b
         -DPLUGIN_COLUMNSTORE=NO \
7a7e4c
         -DPLUGIN_CLIENT_ED25519=OFF \
7a7e4c
         -DPYTHON_SHEBANG=%{python_path} \
7a7e4c
         -DPLUGIN_CACHING_SHA2_PASSWORD=%{?with_clibrary:DYNAMIC}%{!?with_clibrary:OFF} \
7a7e4c
         -DPLUGIN_AWS_KEY_MANAGEMENT=NO \
7a7e4c
         -DCONNECT_WITH_MONGO=OFF \
7a7e4c
         -DCONNECT_WITH_JDBC=OFF \
7a7e4c
%{?with_debug: -DCMAKE_BUILD_TYPE=Debug -DWITH_ASAN=OFF -DWITH_INNODB_EXTRA_DEBUG=ON -DWITH_VALGRIND=ON}
7a7e4c
7a7e4c
7a7e4c
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
7a7e4c
# force PIC mode so that we can build libmysqld.so
7a7e4c
CFLAGS="$CFLAGS -fPIC"
7a7e4c
7a7e4c
%if %{with debug}
7a7e4c
# Override all optimization flags when making a debug build
7a7e4c
# -D_FORTIFY_SOURCE requires optimizations enabled. Disable the fortify.
7a7e4c
CFLAGS=`echo "$CFLAGS" | sed -r 's/-D_FORTIFY_SOURCE=[012]/-D_FORTIFY_SOURCE=0/'`
7a7e4c
CFLAGS=`echo "$CFLAGS" | sed -r 's/-O[0123]//'`
7a7e4c
7a7e4c
CFLAGS="$CFLAGS -O0 -g -D_FORTIFY_SOURCE=0"
7a7e4c
7a7e4c
# Fixes for Fedora 32 & Rawhide (GCC 10.0):
7a7e4c
%if 0%{?fedora} >= 32
7a7e4c
CFLAGS="$CFLAGS -Wno-error=class-memaccess"
7a7e4c
CFLAGS="$CFLAGS -Wno-error=enum-conversion"
7a7e4c
%endif # f32
7a7e4c
%endif # debug
7a7e4c
7a7e4c
CXXFLAGS="$CFLAGS"
7a7e4c
CPPFLAGS="$CFLAGS"
7a7e4c
export CFLAGS CXXFLAGS CPPFLAGS
7a7e4c
7a7e4c
7a7e4c
# Print all Cmake options values; "-LAH" means "List Advanced Help"
7a7e4c
cmake -B %{_vpath_builddir} -LAH
7a7e4c
64ec31
%cmake_build -j2
7a7e4c
7a7e4c
# build selinux policy
7a7e4c
%if %{with galera}
7a7e4c
pushd selinux
7a7e4c
make -f /usr/share/selinux/devel/Makefile %{name}-server-galera.pp
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
7a7e4c
%install
7a7e4c
%cmake_install
7a7e4c
7a7e4c
# multilib header support #1625157
7a7e4c
for header in mysql/server/my_config.h mysql/server/private/config.h; do
7a7e4c
%multilib_fix_c_header --file %{_includedir}/$header
7a7e4c
done
7a7e4c
7a7e4c
ln -s mysql_config.1.gz %{buildroot}%{_mandir}/man1/mariadb_config.1.gz
7a7e4c
7a7e4c
# multilib support for shell scripts
7a7e4c
# we only apply this to known Red Hat multilib arches, per bug #181335
7a7e4c
if [ %multilib_capable ]
7a7e4c
then
7a7e4c
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
7a7e4c
install -p -m 0755 %{_vpath_builddir}/scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
7a7e4c
# Copy manual page for multilib mysql_config; https://jira.mariadb.org/browse/MDEV-11961
7a7e4c
ln -s mysql_config.1 %{buildroot}%{_mandir}/man1/mysql_config-%{__isa_bits}.1
7a7e4c
fi
7a7e4c
7a7e4c
%if %{without clibrary}
7a7e4c
# Client part should be included in package 'mariadb-connector-c'
7a7e4c
rm %{buildroot}%{_libdir}/pkgconfig/libmariadb.pc
7a7e4c
%endif
7a7e4c
7a7e4c
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
7a7e4c
# but that's pretty wacko --- see also %%{name}-file-contents.patch)
7a7e4c
install -p -m 644 %{_vpath_builddir}/Docs/INFO_SRC %{buildroot}%{_libdir}/%{pkg_name}/
7a7e4c
install -p -m 644 %{_vpath_builddir}/Docs/INFO_BIN %{buildroot}%{_libdir}/%{pkg_name}/
7a7e4c
rm -r %{buildroot}%{_datadir}/doc/%{_pkgdocdirname}/MariaDB-server-%{version}/
7a7e4c
7a7e4c
# Logfile creation
7a7e4c
mkdir -p %{buildroot}%{logfiledir}
7a7e4c
chmod 0750 %{buildroot}%{logfiledir}
7a7e4c
touch %{buildroot}%{logfile}
7a7e4c
7a7e4c
# current setting in my.cnf is to use /var/run/mariadb for creating pid file,
7a7e4c
# however since my.cnf is not updated by RPM if changed, we need to create mysqld
7a7e4c
# as well because users can have odd settings in their /etc/my.cnf
7a7e4c
mkdir -p %{buildroot}%{pidfiledir}
7a7e4c
install -p -m 0755 -d %{buildroot}%{dbdatadir}
7a7e4c
7a7e4c
%if %{with config}
7a7e4c
install -D -p -m 0644 %{_vpath_builddir}/scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
7a7e4c
%else
7a7e4c
rm %{_vpath_builddir}/scripts/my.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
# use different config file name for each variant of server (mariadb / mysql)
7a7e4c
mv %{buildroot}%{_sysconfdir}/my.cnf.d/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
7a7e4c
7a7e4c
# remove SysV init script and a symlink to that, we use systemd
7a7e4c
rm %{buildroot}%{_libexecdir}/rcmysql
7a7e4c
# install systemd unit files and scripts for handling server startup
7a7e4c
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
7a7e4c
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}@.service
7a7e4c
7a7e4c
# Install downstream version of tmpfiles
7a7e4c
install -D -p -m 0644 %{_vpath_builddir}/scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{name}.conf
7a7e4c
%if 0%{?mysqld_pid_dir:1}
7a7e4c
echo "d %{pidfiledir} 0755 mysql mysql -" >>%{buildroot}%{_tmpfilesdir}/%{name}.conf
7a7e4c
%endif
7a7e4c
7a7e4c
# helper scripts for service starting
7a7e4c
install -p -m 755 %{_vpath_builddir}/scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
7a7e4c
install -p -m 755 %{_vpath_builddir}/scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
7a7e4c
install -p -m 755 %{_vpath_builddir}/scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade
7a7e4c
install -p -m 644 %{_vpath_builddir}/scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
7a7e4c
7a7e4c
# install aditional galera selinux policy
7a7e4c
%if %{with galera}
7a7e4c
install -p -m 644 -D selinux/%{name}-server-galera.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with test}
7a7e4c
# mysql-test includes one executable that doesn't belong under /usr/share, so move it and provide a symlink
7a7e4c
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
7a7e4c
ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
7a7e4c
# Provide symlink expected by RH QA tests
7a7e4c
ln -s unstable-tests %{buildroot}%{_datadir}/mysql-test/rh-skipped-tests.list
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
# Client that uses libmysqld embedded server.
7a7e4c
# Pretty much like normal mysql command line client, but it doesn't require a running mariadb server.
7a7e4c
%{?with_embedded:rm %{buildroot}%{_bindir}/{mariadb-,mysql_}embedded}
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}embedded.1*
7a7e4c
# Static libraries
7a7e4c
rm %{buildroot}%{_libdir}/*.a
7a7e4c
# This script creates the MySQL system tables and starts the server.
7a7e4c
# Upstream says:
7a7e4c
#   It looks like it's just "mysql_install_db && mysqld_safe"
7a7e4c
#   I've never heard of anyone using it, I'd say, no need to pack it.
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/binary-configure
7a7e4c
# FS files first-bytes recoginiton
7a7e4c
# Not updated by upstream since nobody realy use that
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/magic
7a7e4c
7a7e4c
# Upstream ships them because of, https://jira.mariadb.org/browse/MDEV-10797
7a7e4c
# In Fedora we use our own systemd unit files and scripts
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/mysql.server
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server
7a7e4c
7a7e4c
# Binary for monitoring MySQL performance
7a7e4c
# Shipped as a standalone package in Fedora
7a7e4c
rm %{buildroot}%{_bindir}/mytop
7a7e4c
rm %{buildroot}%{_mandir}/man1/mytop.1*
7a7e4c
7a7e4c
# Should be shipped with mariadb-connector-c
7a7e4c
rm %{buildroot}%{_mandir}/man1/mariadb_config.1*
7a7e4c
7a7e4c
# put logrotate script where it needs to be
7a7e4c
mkdir -p %{buildroot}%{logrotateddir}
7a7e4c
mv %{buildroot}%{_datadir}/%{pkg_name}/mysql-log-rotate %{buildroot}%{logrotateddir}/%{daemon_name}
7a7e4c
chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
7a7e4c
7a7e4c
# for compatibility with upstream RPMs, create mysqld symlink in sbin
7a7e4c
mkdir -p %{buildroot}%{_sbindir}
7a7e4c
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
7a7e4c
ln -s %{_libexecdir}/mariadbd %{buildroot}%{_sbindir}/mariadbd
7a7e4c
7a7e4c
# copy additional docs into build tree so %%doc will find them
7a7e4c
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
7a7e4c
install -p -m 0644 %{SOURCE7} %{basename:%{SOURCE7}}
e6a51b
install -p -m 0644 %{SOURCE8} %{basename:%{SOURCE8}}
7a7e4c
install -p -m 0644 %{SOURCE16} %{basename:%{SOURCE16}}
7a7e4c
install -p -m 0644 %{SOURCE71} %{basename:%{SOURCE71}}
7a7e4c
7a7e4c
# Delete upstreams service files
7a7e4c
# We don't use this location of service files
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/systemd/{mysql,mysqld}.service
7a7e4c
# These may come handy in a future, but right now we use our own services
7a7e4c
rm %{buildroot}/usr/lib/systemd/system/{mysql,mysqld}.service
7a7e4c
7a7e4c
# install galera config file
7a7e4c
%if %{with galera}
7a7e4c
sed -i -r 's|^wsrep_provider=none|wsrep_provider=%{_libdir}/galera/libgalera_smm.so|' %{_vpath_builddir}/support-files/wsrep.cnf
7a7e4c
install -p -m 0644 %{_vpath_builddir}/support-files/wsrep.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
7a7e4c
%endif
7a7e4c
# install the clustercheck script
7a7e4c
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
7a7e4c
touch %{buildroot}%{_sysconfdir}/sysconfig/clustercheck
7a7e4c
install -p -m 0755 %{_vpath_builddir}/scripts/clustercheck %{buildroot}%{_bindir}/clustercheck
7a7e4c
7a7e4c
# remove duplicate logrotate script
7a7e4c
rm %{buildroot}%{logrotateddir}/mysql
7a7e4c
# Remove AppArmor files
7a7e4c
rm -r %{buildroot}%{_datadir}/%{pkg_name}/policy/apparmor
7a7e4c
7a7e4c
# Buildroot does not have symlink /lib64 --> /usr/lib64
7a7e4c
mv %{buildroot}/%{_lib}/security %{buildroot}%{_libdir}
7a7e4c
e6a51b
# Add wsrep_sst_rsync_tunnel script
e6a51b
install -p -m 0755 scripts/wsrep_sst_rsync_tunnel %{buildroot}%{_bindir}/wsrep_sst_rsync_tunnel
e6a51b
7a7e4c
# Disable plugins
7a7e4c
%if %{with gssapi}
7a7e4c
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
7a7e4c
%endif
7a7e4c
%if %{with cracklib}
7a7e4c
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
# Fix Galera Replication config file
7a7e4c
#   The replication requires cluster address upon startup (which is end-user specific).
7a7e4c
#   Disable it entirely, rather than have it failing out-of-the-box.
7a7e4c
%if %{with galera}
7a7e4c
sed -i 's/^wsrep_on=1/wsrep_on=0/' %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without embedded}
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
%if %{without clibrary}
7a7e4c
rm %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
7a7e4c
# Client library and links
7a7e4c
rm %{buildroot}%{_libdir}/libmariadb.so.*
7a7e4c
unlink %{buildroot}%{_libdir}/libmysqlclient.so
7a7e4c
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
7a7e4c
unlink %{buildroot}%{_libdir}/libmariadb.so
7a7e4c
# Client plugins
7a7e4c
rm %{buildroot}%{_libdir}/%{pkg_name}/plugin/{dialog.so,mysql_clear_password.so,sha256_password.so}
7a7e4c
%if %{with gssapi}
7a7e4c
rm %{buildroot}%{_libdir}/%{pkg_name}/plugin/auth_gssapi_client.so
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without clibrary} || %{without devel}
7a7e4c
rm %{buildroot}%{_bindir}/mysql_config*
7a7e4c
rm %{buildroot}%{_bindir}/mariadb_config
7a7e4c
rm %{buildroot}%{_bindir}/mariadb-config
7a7e4c
rm %{buildroot}%{_mandir}/man1/mysql_config*.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without clibrary} && %{with devel}
7a7e4c
# This files are already included in mariadb-connector-c
7a7e4c
rm %{buildroot}%{_includedir}/mysql/mysql_version.h
7a7e4c
rm %{buildroot}%{_includedir}/mysql/{errmsg.h,ma_list.h,ma_pvio.h,mariadb_com.h,\
7a7e4c
mariadb_ctype.h,mariadb_dyncol.h,mariadb_stmt.h,mariadb_version.h,ma_tls.h,mysqld_error.h,mysql.h,mariadb_rpl.h}
7a7e4c
rm -r %{buildroot}%{_includedir}/mysql/{mariadb,mysql}
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without devel}
7a7e4c
rm -r %{buildroot}%{_includedir}/mysql
7a7e4c
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
7a7e4c
rm %{buildroot}%{_libdir}/pkgconfig/mariadb.pc
7a7e4c
%if %{with clibrary}
7a7e4c
rm %{buildroot}%{_libdir}/libmariadb*.so
7a7e4c
unlink %{buildroot}%{_libdir}/libmysqlclient.so
7a7e4c
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without client}
7a7e4c
rm %{buildroot}%{_bindir}/msql2mysql
7a7e4c
rm %{buildroot}%{_bindir}/{mysql,mariadb}
7a7e4c
rm %{buildroot}%{_bindir}/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}
7a7e4c
rm %{buildroot}%{_bindir}/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}
7a7e4c
7a7e4c
rm %{buildroot}%{_mandir}/man1/msql2mysql.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql,mariadb}.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without config}
7a7e4c
rm %{buildroot}%{_sysconfdir}/my.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without common}
7a7e4c
rm -r %{buildroot}%{_datadir}/%{pkg_name}/charsets
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without errmsg}
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/errmsg-utf8.txt
7a7e4c
rm -r %{buildroot}%{_datadir}/%{pkg_name}/{english,czech,danish,dutch,estonian,\
7a7e4c
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
7a7e4c
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian,hindi}
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without test}
7a7e4c
%if %{with embedded}
7a7e4c
rm %{buildroot}%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
7a7e4c
rm %{buildroot}%{_bindir}/{mariadb-client-test-embedded,mariadb-test-embedded}
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
7a7e4c
%endif # embedded
7a7e4c
rm %{buildroot}%{_bindir}/{mysql_client_test,mysqltest}
7a7e4c
rm %{buildroot}%{_bindir}/{mariadb-client-test,mariadb-test}
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql_client_test,mysqltest,my_safe_process}.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test,mariadb-test}.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql-test-run,mysql-stress-test}.pl.1*
7a7e4c
rm %{buildroot}/suite/plugins/pam/mariadb_mtr
7a7e4c
rm %{buildroot}/suite/plugins/pam/pam_mariadb_mtr.so
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without galera}
7a7e4c
rm %{buildroot}%{_sysconfdir}/sysconfig/clustercheck
7a7e4c
rm %{buildroot}%{_bindir}/{clustercheck,galera_new_cluster}
7a7e4c
rm %{buildroot}%{_bindir}/galera_recovery
7a7e4c
rm %{buildroot}%{_datadir}/%{pkg_name}/systemd/use_galera_new_cluster.conf
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without rocksdb}
7a7e4c
rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}ldb.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/myrocks_hotbackup.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{without backup}
7a7e4c
rm %{buildroot}%{_mandir}/man1/maria{,db-}backup.1*
7a7e4c
rm %{buildroot}%{_mandir}/man1/mbstream.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%check
7a7e4c
%if %{with test}
7a7e4c
%if %runselftest
7a7e4c
# hack to let 32- and 64-bit tests run concurrently on same build machine
7a7e4c
export MTR_PARALLEL=1
7a7e4c
# Builds might happen at the same host, avoid collision
7a7e4c
#   The port used is calculated as 20 * MTR_BUILD_THREAD + 10000
7a7e4c
#   The resulting port must be between 5000 and 32767
7a7e4c
#   This is the same as using option "--build-thread" for the "mysql-test-run.pl"
7a7e4c
export MTR_BUILD_THREAD=$(( $(date +%s) % 1100 ))
7a7e4c
7a7e4c
# The cmake build scripts don't provide any simple way to control the
7a7e4c
# options for mysql-test-run, so ignore the make target and just call it
7a7e4c
# manually.  Nonstandard options chosen are:
7a7e4c
# --force to continue tests after a failure
7a7e4c
# no retries please
7a7e4c
# test SSL with --ssl
7a7e4c
# skip tests that are listed in rh-skipped-tests.list
7a7e4c
# avoid redundant test runs with --binlog-format=mixed
7a7e4c
# increase timeouts to prevent unwanted failures during mass rebuilds
7a7e4c
7a7e4c
# Usefull arguments:
7a7e4c
#    --do-test=mysql_client_test_nonblock \
7a7e4c
#    --skip-rpl
7a7e4c
#    --suite=roles
7a7e4c
#    --mem for running in the RAM; Not enough space in KOJI for this
7a7e4c
7a7e4c
(
7a7e4c
  set -ex
7a7e4c
  cd %{buildroot}%{_datadir}/mysql-test
7a7e4c
7a7e4c
  export common_testsuite_arguments=" --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --force-restart --shutdown-timeout=60 --max-test-fail=5 "
7a7e4c
7a7e4c
  # If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run
7a7e4c
  if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]]
7a7e4c
  then
7a7e4c
    # in further rebuilds only run the basic "main" suite (~800 tests)
e6a51b
    echo -e "\n\nRunning just the base testsuite\n\n"
7a7e4c
    perl ./mysql-test-run.pl $common_testsuite_arguments --ssl --suite=main --mem --skip-test-list=unstable-tests
7a7e4c
  fi
7a7e4c
7a7e4c
  # If either this version wasn't marked as tested yet or I explicitly want to run the testsuite, run everything we have (~4000 test)
7a7e4c
  if [[ "%{last_tested_version}" != "%{version}" ]] || [[ %{force_run_testsuite} -ne 0 ]]
7a7e4c
  then
e6a51b
    echo -e "running advanced testsuite"
7a7e4c
    perl ./mysql-test-run.pl $common_testsuite_arguments --ssl --big-test --skip-test=spider \
7a7e4c
    %if %{ignore_testsuite_result}
7a7e4c
      --max-test-fail=9999 || :
7a7e4c
    %else
7a7e4c
      --skip-test-list=unstable-tests
7a7e4c
    %endif
7a7e4c
    # Second run for the SPIDER suites that fail with SCA (ssl self signed certificate)
64ec31
    perl ./mysql-test-run.pl $common_testsuite_arguments --skip-ssl --big-test --mem --suite=spider,spider/bg,spider/bugfix,spider/handler --skip-test-list=unstable-tests \
7a7e4c
    %if %{ignore_testsuite_result}
7a7e4c
      --max-test-fail=999 || :
7a7e4c
    %endif
7a7e4c
  # blank line
7a7e4c
  fi
7a7e4c
7a7e4c
  # There might be a dangling symlink left from the testing, remove it to not be installed
7a7e4c
  rm -rf ./var
7a7e4c
)
7a7e4c
7a7e4c
# NOTE: the Spider SE has 2 more hidden testsuites "oracle" and "oracle2".
7a7e4c
#       however, all of the tests fail with: "failed: 12521: Can't use wrapper 'oracle' for SQL connection"
7a7e4c
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
7a7e4c
7a7e4c
%pre server
7a7e4c
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
7a7e4c
/usr/sbin/useradd -M -N -g mysql -o -r -d %{mysqluserhome} -s /sbin/nologin \
7a7e4c
  -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
7a7e4c
7a7e4c
%if %{with galera}
7a7e4c
%post server-galera
7a7e4c
# Allow ports needed for the replication:
7a7e4c
# https://mariadb.com/kb/en/library/configuring-mariadb-galera-cluster/#network-ports
7a7e4c
#   Galera Replication Port
7a7e4c
semanage port -a -t mysqld_port_t -p tcp 4567 >/dev/null 2>&1 || :
7a7e4c
semanage port -a -t mysqld_port_t -p udp 4567 >/dev/null 2>&1 || :
7a7e4c
#   IST Port
7a7e4c
semanage port -a -t mysqld_port_t -p tcp 4568 >/dev/null 2>&1 || :
7a7e4c
#   SST Port
7a7e4c
semanage port -a -t mysqld_port_t -p tcp 4444 >/dev/null 2>&1 || :
7a7e4c
7a7e4c
semodule -i %{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp >/dev/null 2>&1 || :
7a7e4c
%endif
7a7e4c
7a7e4c
%post server
7a7e4c
%systemd_post %{daemon_name}.service
7a7e4c
7a7e4c
%preun server
7a7e4c
%systemd_preun %{daemon_name}.service
7a7e4c
7a7e4c
%if %{with galera}
7a7e4c
%postun server-galera
7a7e4c
if [ $1 -eq 0 ]; then
7a7e4c
    semodule -r %{name}-server-galera 2>/dev/null || :
7a7e4c
fi
7a7e4c
%endif
7a7e4c
7a7e4c
%postun server
7a7e4c
%systemd_postun_with_restart %{daemon_name}.service
7a7e4c
7a7e4c
7a7e4c
7a7e4c
%if %{with client}
7a7e4c
%files
7a7e4c
%{_bindir}/msql2mysql
7a7e4c
%{_bindir}/{mysql,mariadb}
7a7e4c
%{_bindir}/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}
7a7e4c
%{_bindir}/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}
7a7e4c
7a7e4c
%{_mandir}/man1/msql2mysql.1*
7a7e4c
%{_mandir}/man1/{mysql,mariadb}.1*
7a7e4c
%{_mandir}/man1/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}.1*
7a7e4c
%{_mandir}/man1/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}.1*
7a7e4c
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with clibrary}
7a7e4c
%files libs
7a7e4c
%exclude %{_libdir}/{libmysqlclient.so.18,libmariadb.so,libmysqlclient.so,libmysqlclient_r.so}
7a7e4c
%{_libdir}/libmariadb.so*
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with config}
7a7e4c
%files config
7a7e4c
# although the default my.cnf contains only server settings, we put it in the
7a7e4c
# common package because it can be used for client settings too.
7a7e4c
%dir %{_sysconfdir}/my.cnf.d
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with common}
7a7e4c
%files common
7a7e4c
%doc %{_datadir}/doc/%{_pkgdocdirname}
7a7e4c
%dir %{_datadir}/%{pkg_name}
7a7e4c
%{_datadir}/%{pkg_name}/charsets
7a7e4c
%if %{with clibrary}
7a7e4c
%{_libdir}/%{pkg_name}/plugin/dialog.so
7a7e4c
%{_libdir}/%{pkg_name}/plugin/mysql_clear_password.so
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with errmsg}
7a7e4c
%files errmsg
7a7e4c
%{_datadir}/%{pkg_name}/errmsg-utf8.txt
7a7e4c
%{_datadir}/%{pkg_name}/english
7a7e4c
%lang(cs) %{_datadir}/%{pkg_name}/czech
7a7e4c
%lang(da) %{_datadir}/%{pkg_name}/danish
7a7e4c
%lang(nl) %{_datadir}/%{pkg_name}/dutch
7a7e4c
%lang(et) %{_datadir}/%{pkg_name}/estonian
7a7e4c
%lang(fr) %{_datadir}/%{pkg_name}/french
7a7e4c
%lang(de) %{_datadir}/%{pkg_name}/german
7a7e4c
%lang(el) %{_datadir}/%{pkg_name}/greek
7a7e4c
%lang(hi) %{_datadir}/%{pkg_name}/hindi
7a7e4c
%lang(hu) %{_datadir}/%{pkg_name}/hungarian
7a7e4c
%lang(it) %{_datadir}/%{pkg_name}/italian
7a7e4c
%lang(ja) %{_datadir}/%{pkg_name}/japanese
7a7e4c
%lang(ko) %{_datadir}/%{pkg_name}/korean
7a7e4c
%lang(no) %{_datadir}/%{pkg_name}/norwegian
7a7e4c
%lang(no) %{_datadir}/%{pkg_name}/norwegian-ny
7a7e4c
%lang(pl) %{_datadir}/%{pkg_name}/polish
7a7e4c
%lang(pt) %{_datadir}/%{pkg_name}/portuguese
7a7e4c
%lang(ro) %{_datadir}/%{pkg_name}/romanian
7a7e4c
%lang(ru) %{_datadir}/%{pkg_name}/russian
7a7e4c
%lang(sr) %{_datadir}/%{pkg_name}/serbian
7a7e4c
%lang(sk) %{_datadir}/%{pkg_name}/slovak
7a7e4c
%lang(es) %{_datadir}/%{pkg_name}/spanish
7a7e4c
%lang(sv) %{_datadir}/%{pkg_name}/swedish
7a7e4c
%lang(uk) %{_datadir}/%{pkg_name}/ukrainian
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with galera}
7a7e4c
%files server-galera
7a7e4c
%doc Docs/README-wsrep
7a7e4c
%license LICENSE.clustercheck
7a7e4c
%{_bindir}/clustercheck
7a7e4c
%{_bindir}/galera_new_cluster
7a7e4c
%{_bindir}/galera_recovery
7a7e4c
%{_datadir}/%{pkg_name}/systemd/use_galera_new_cluster.conf
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/galera.cnf
7a7e4c
%attr(0640,root,root) %ghost %config(noreplace) %{_sysconfdir}/sysconfig/clustercheck
7a7e4c
%{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp
7a7e4c
%endif
7a7e4c
7a7e4c
%files server
e6a51b
%doc README.wsrep_sst_rsync_tunnel
7a7e4c
7a7e4c
%{_bindir}/aria_{chk,dump_log,ftdump,pack,read_log}
7a7e4c
%{_bindir}/mariadb-service-convert
7a7e4c
%{_bindir}/myisamchk
7a7e4c
%{_bindir}/myisam_ftdump
7a7e4c
%{_bindir}/myisamlog
7a7e4c
%{_bindir}/myisampack
7a7e4c
%{_bindir}/my_print_defaults
7a7e4c
7a7e4c
%{_bindir}/mariadb-conv
7a7e4c
7a7e4c
%{_bindir}/mysql_{install_db,secure_installation,tzinfo_to_sql}
7a7e4c
%{_bindir}/mariadb-{install-db,secure-installation,tzinfo-to-sql}
7a7e4c
%{_bindir}/{mysqld_,mariadbd-}safe
7a7e4c
%{_bindir}/{mysqld_safe_helper,mariadbd-safe-helper}
7a7e4c
7a7e4c
%{_bindir}/innochecksum
7a7e4c
%{_bindir}/replace
7a7e4c
%{_bindir}/resolve_stack_dump
7a7e4c
%{_bindir}/resolveip
7a7e4c
%if %{with galera}
7a7e4c
# wsrep_sst_common should be moved to /usr/share/mariadb: https://jira.mariadb.org/browse/MDEV-14296
7a7e4c
%{_bindir}/wsrep_*
7a7e4c
%endif
7a7e4c
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/spider.cnf
7a7e4c
7a7e4c
%{_sbindir}/mysqld
7a7e4c
%{_sbindir}/mariadbd
7a7e4c
%{_libexecdir}/{mysqld,mariadbd}
7a7e4c
7a7e4c
%{_libdir}/%{pkg_name}/INFO_SRC
7a7e4c
%{_libdir}/%{pkg_name}/INFO_BIN
7a7e4c
%if %{without common}
7a7e4c
%dir %{_datadir}/%{pkg_name}
7a7e4c
%endif
7a7e4c
7a7e4c
%dir %{_libdir}/%{pkg_name}
7a7e4c
%dir %{_libdir}/%{pkg_name}/plugin
7a7e4c
%{_libdir}/%{pkg_name}/plugin/*
7a7e4c
%{?with_oqgraph:%exclude %{_libdir}/%{pkg_name}/plugin/ha_oqgraph.so}
7a7e4c
%{?with_connect:%exclude %{_libdir}/%{pkg_name}/plugin/ha_connect.so}
7a7e4c
%{?with_cracklib:%exclude %{_libdir}/%{pkg_name}/plugin/cracklib_password_check.so}
7a7e4c
%{?with_rocksdb:%exclude %{_libdir}/%{pkg_name}/plugin/ha_rocksdb.so}
7a7e4c
%{?with_gssapi:%exclude %{_libdir}/%{pkg_name}/plugin/auth_gssapi.so}
7a7e4c
%{?with_sphinx:%exclude %{_libdir}/%{pkg_name}/plugin/ha_sphinx.so}
7a7e4c
%if %{with clibrary}
7a7e4c
%exclude %{_libdir}/%{pkg_name}/plugin/dialog.so
7a7e4c
%exclude %{_libdir}/%{pkg_name}/plugin/mysql_clear_password.so
7a7e4c
%endif
7a7e4c
64ec31
# PAM plugin; moved to a standalone sub-package
64ec31
%exclude %{_libdir}/%{pkg_name}/plugin/{auth_pam_v1.so,auth_pam.so}
64ec31
%exclude %dir %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir
64ec31
%exclude %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir/auth_pam_tool
64ec31
7a7e4c
%{_mandir}/man1/aria_{chk,dump_log,ftdump,pack,read_log,s3_copy}.1*
7a7e4c
%{_mandir}/man1/galera_new_cluster.1*
7a7e4c
%{_mandir}/man1/galera_recovery.1*
7a7e4c
%{_mandir}/man1/mariadb-service-convert.1*
7a7e4c
%{_mandir}/man1/myisamchk.1*
7a7e4c
%{_mandir}/man1/myisamlog.1*
7a7e4c
%{_mandir}/man1/myisampack.1*
7a7e4c
%{_mandir}/man1/myisam_ftdump.1*
7a7e4c
%{_mandir}/man1/my_print_defaults.1*
7a7e4c
7a7e4c
%{_mandir}/man1/mariadb-conv.1*
7a7e4c
7a7e4c
%{_mandir}/man1/mysql_{install_db,secure_installation,tzinfo_to_sql}.1*
7a7e4c
%{_mandir}/man1/mariadb-{install-db,secure-installation,tzinfo-to-sql}.1*
7a7e4c
%{_mandir}/man1/{mysqld_,mariadbd-}safe.1*
7a7e4c
%{_mandir}/man1/{mysqld_safe_helper,mariadbd-safe-helper}.1*
7a7e4c
7a7e4c
%{_mandir}/man1/innochecksum.1*
7a7e4c
%{_mandir}/man1/replace.1*
7a7e4c
%{_mandir}/man1/resolveip.1*
7a7e4c
%{_mandir}/man1/resolve_stack_dump.1*
7a7e4c
%{_mandir}/man8/{mysqld,mariadbd}.8*
7a7e4c
%{_mandir}/man1/wsrep_*.1*
7a7e4c
7a7e4c
%{_mandir}/man1/mysql.server.1*
7a7e4c
7a7e4c
%{_datadir}/%{pkg_name}/fill_help_tables.sql
7a7e4c
%{_datadir}/%{pkg_name}/maria_add_gis_sp.sql
7a7e4c
%{_datadir}/%{pkg_name}/maria_add_gis_sp_bootstrap.sql
7a7e4c
%{_datadir}/%{pkg_name}/mysql_system_tables.sql
7a7e4c
%{_datadir}/%{pkg_name}/mysql_system_tables_data.sql
7a7e4c
%{_datadir}/%{pkg_name}/mysql_test_data_timezone.sql
7a7e4c
%{_datadir}/%{pkg_name}/mysql_performance_tables.sql
7a7e4c
%{_datadir}/%{pkg_name}/mysql_test_db.sql
7a7e4c
%if %{with mroonga}
7a7e4c
%{_datadir}/%{pkg_name}/mroonga/install.sql
7a7e4c
%{_datadir}/%{pkg_name}/mroonga/uninstall.sql
7a7e4c
%license %{_datadir}/%{pkg_name}/mroonga/COPYING
7a7e4c
%license %{_datadir}/%{pkg_name}/mroonga/AUTHORS
7a7e4c
%license %{_datadir}/%{name}-server/groonga-normalizer-mysql/lgpl-2.0.txt
7a7e4c
%license %{_datadir}/%{name}-server/groonga/COPYING
7a7e4c
%doc %{_datadir}/%{name}-server/groonga-normalizer-mysql/README.md
7a7e4c
%doc %{_datadir}/%{name}-server/groonga/README.md
7a7e4c
%endif
7a7e4c
%if %{with galera}
7a7e4c
%{_datadir}/%{pkg_name}/wsrep.cnf
7a7e4c
%endif
7a7e4c
%{_datadir}/%{pkg_name}/wsrep_notify
7a7e4c
%dir %{_datadir}/%{pkg_name}/policy
7a7e4c
%dir %{_datadir}/%{pkg_name}/policy/selinux
7a7e4c
%{_datadir}/%{pkg_name}/policy/selinux/README
7a7e4c
%{_datadir}/%{pkg_name}/policy/selinux/mariadb-server.*
7a7e4c
%{_datadir}/%{pkg_name}/policy/selinux/mariadb.*
7a7e4c
%{_datadir}/%{pkg_name}/systemd/mariadb.service
7a7e4c
# mariadb@ is installed only when we have cmake newer than 3.3
7a7e4c
%if 0%{?fedora} || 0%{?rhel} > 7
7a7e4c
%{_datadir}/%{pkg_name}/systemd/mariadb@.service
7a7e4c
%endif
7a7e4c
7a7e4c
%{_unitdir}/%{daemon_name}*
7a7e4c
7a7e4c
%{_libexecdir}/mysql-prepare-db-dir
7a7e4c
%{_libexecdir}/mysql-check-socket
7a7e4c
%{_libexecdir}/mysql-check-upgrade
7a7e4c
%{_libexecdir}/mysql-scripts-common
7a7e4c
7a7e4c
%attr(0755,mysql,mysql) %dir %{pidfiledir}
7a7e4c
%attr(0755,mysql,mysql) %dir %{dbdatadir}
7a7e4c
%attr(0750,mysql,mysql) %dir %{logfiledir}
7a7e4c
# This does what it should.
7a7e4c
# RPMLint error "conffile-without-noreplace-flag /var/log/mariadb/mariadb.log" is false positive.
7a7e4c
%attr(0660,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
7a7e4c
%config(noreplace) %{logrotateddir}/%{daemon_name}
7a7e4c
7a7e4c
%{_tmpfilesdir}/%{name}.conf
7a7e4c
%{_sysusersdir}/%{name}.conf
7a7e4c
7a7e4c
%if %{with cracklib}
7a7e4c
%files cracklib-password-check
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
7a7e4c
%{_libdir}/%{pkg_name}/plugin/cracklib_password_check.so
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with backup}
7a7e4c
%files backup
7a7e4c
%{_bindir}/maria{,db-}backup
7a7e4c
%{_bindir}/mbstream
7a7e4c
%{_mandir}/man1/maria{,db-}backup.1*
7a7e4c
%{_mandir}/man1/mbstream.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with rocksdb}
7a7e4c
%files rocksdb-engine
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/rocksdb.cnf
7a7e4c
%{_bindir}/myrocks_hotbackup
7a7e4c
%{_bindir}/{mysql_,mariadb-}ldb
7a7e4c
%{_bindir}/sst_dump
7a7e4c
%{_libdir}/%{pkg_name}/plugin/ha_rocksdb.so
7a7e4c
%{_mandir}/man1/{mysql_,mariadb-}ldb.1*
7a7e4c
%{_mandir}/man1/myrocks_hotbackup.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with gssapi}
7a7e4c
%files gssapi-server
7a7e4c
%{_libdir}/%{pkg_name}/plugin/auth_gssapi.so
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
7a7e4c
%endif
7a7e4c
64ec31
%if %{with pam}
64ec31
%files pam
64ec31
%{_libdir}/%{pkg_name}/plugin/{auth_pam_v1.so,auth_pam.so}
64ec31
%attr(0755,root,root) %dir %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir
64ec31
# SUID-to-root binary. Access MUST be restricted (https://jira.mariadb.org/browse/MDEV-25126)
64ec31
%attr(4750,root,mysql) %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir/auth_pam_tool
64ec31
%{_libdir}/security/pam_user_map.so
e6a51b
%config(noreplace) %{_sysconfdir}/security/user_map.conf
64ec31
%endif
64ec31
7a7e4c
%if %{with sphinx}
7a7e4c
%files sphinx-engine
7a7e4c
%{_libdir}/%{pkg_name}/plugin/ha_sphinx.so
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with oqgraph}
7a7e4c
%files oqgraph-engine
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/oqgraph.cnf
7a7e4c
%{_libdir}/%{pkg_name}/plugin/ha_oqgraph.so
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with connect}
7a7e4c
%files connect-engine
7a7e4c
%config(noreplace) %{_sysconfdir}/my.cnf.d/connect.cnf
7a7e4c
%{_libdir}/%{pkg_name}/plugin/ha_connect.so
7a7e4c
%endif
7a7e4c
7a7e4c
%files server-utils
7a7e4c
# Perl utilities
7a7e4c
%{_bindir}/mysql{_convert_table_format,dumpslow,_fix_extensions,hotcopy,_setpermission}
7a7e4c
%{_bindir}/mariadb-{convert-table-format,dumpslow,fix-extensions,hotcopy,setpermission}
7a7e4c
%{_bindir}/{mysqld_,mariadbd-}multi
7a7e4c
7a7e4c
%{_mandir}/man1/mysql{_convert_table_format,dumpslow,_fix_extensions,hotcopy,_setpermission}.1*
7a7e4c
%{_mandir}/man1/mariadb-{convert-table-format,dumpslow,fix-extensions,hotcopy,setpermission}.1*
7a7e4c
%{_mandir}/man1/{mysqld_,mariadbd-}multi.1*
7a7e4c
# Utilities that can be used remotely
7a7e4c
%{_bindir}/{mysql_,mariadb-}upgrade
7a7e4c
%{_bindir}/perror
7a7e4c
%{_mandir}/man1/{mysql_,mariadb-}upgrade.1*
7a7e4c
%{_mandir}/man1/perror.1*
7a7e4c
7a7e4c
%if %{with devel}
7a7e4c
%files devel
7a7e4c
%{_includedir}/*
7a7e4c
%{_datadir}/aclocal/mysql.m4
7a7e4c
%{_libdir}/pkgconfig/*mariadb.pc
7a7e4c
%if %{with clibrary}
7a7e4c
%{_libdir}/{libmysqlclient.so.18,libmariadb.so,libmysqlclient.so,libmysqlclient_r.so}
7a7e4c
%{_bindir}/mysql_config*
7a7e4c
%{_bindir}/mariadb_config*
7a7e4c
%{_bindir}/mariadb-config
7a7e4c
%{_libdir}/libmariadb.so
7a7e4c
%{_libdir}/libmysqlclient.so
7a7e4c
%{_libdir}/libmysqlclient_r.so
7a7e4c
%{_mandir}/man1/mysql_config*
7a7e4c
%endif
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with embedded}
7a7e4c
%files embedded
7a7e4c
%{_libdir}/libmariadbd.so.*
7a7e4c
7a7e4c
%files embedded-devel
7a7e4c
%{_libdir}/libmysqld.so
7a7e4c
%{_libdir}/libmariadbd.so
7a7e4c
%endif
7a7e4c
7a7e4c
%if %{with test}
7a7e4c
%files test
7a7e4c
%if %{with embedded}
7a7e4c
%{_bindir}/test-connect-t
7a7e4c
%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
7a7e4c
%{_bindir}/{mariadb-client-test-embedded,mariadb-test-embedded}
7a7e4c
%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
7a7e4c
%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
7a7e4c
%endif
7a7e4c
%{_bindir}/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}
7a7e4c
%{_bindir}/my_safe_process
7a7e4c
%attr(-,mysql,mysql) %{_datadir}/mysql-test
7a7e4c
%{_mandir}/man1/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}.1*
7a7e4c
%{_mandir}/man1/my_safe_process.1*
7a7e4c
%{_mandir}/man1/mysql-stress-test.pl.1*
7a7e4c
%{_mandir}/man1/mysql-test-run.pl.1*
7a7e4c
%endif
7a7e4c
7a7e4c
%changelog
e6a51b
* Tue Jan 11 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.13-1
e6a51b
- Rebase to 10.5.13
e6a51b
- Add wsrep_sst_rsync_tunnel script
e6a51b
e6a51b
* Tue Aug 24 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.12-1
e6a51b
- Rebase to 10.5.12
e6a51b
e6a51b
* Thu Aug 19 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.11-1
e6a51b
- Rebase to 10.5.11
e6a51b
e6a51b
* Mon Aug 16 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.10-2
e6a51b
- Set user_map.conf file to be noreplace config file
e6a51b
- Resolves: rhbz#1989621
e6a51b
e6a51b
* Tue May 11 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.10-1
e6a51b
- Rebase to 10.5.10
e6a51b
e6a51b
* Mon May 10 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-2
e6a51b
- Modify the upstream sources
e6a51b
e6a51b
* Mon Mar 22 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-1
64ec31
- Rebase to 10.5.9
64ec31
e6a51b
* Fri Mar 19 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-4
64ec31
- Move the PAM plugin to a standalone sub-package
64ec31
e6a51b
* Thu Mar 18 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-3
64ec31
- Fix permissions of the PAMv2 plugin files
64ec31
e6a51b
* Tue Feb 16 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-2
7a7e4c
- Bump release after several commits cherry-picked from Fedora Rawhide
7a7e4c
e6a51b
* Wed Nov 11 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-1
7a7e4c
- Rebase to 10.5.8
7a7e4c
e6a51b
* Fri Nov 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.7-1
7a7e4c
- Rebase to 10.5.7
7a7e4c
e6a51b
* Mon Sep 21 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.5-1
7a7e4c
- Rebase to 10.5.5
7a7e4c
- Fix mariadb-ownsetup
7a7e4c
- Add manual for aria_s3_copy
7a7e4c
e6a51b
* Wed Sep 16 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.4-1
7a7e4c
- Rebase to 10.5.4
7a7e4c
- Add spider.cnf to the server config files
7a7e4c
e6a51b
* Mon Sep 14 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.3-1
7a7e4c
- Rebase to 10.5.3
7a7e4c
e6a51b
* Fri Sep 11 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.2-1
7a7e4c
- Test rebase to 10.5.2 - Beta
7a7e4c
- TokuDB SE has been deprecated
7a7e4c
e6a51b
* Thu Sep 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.1-1
7a7e4c
- Test rebase to 10.5.1 - Beta
7a7e4c
e6a51b
* Thu Sep 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.0-1
7a7e4c
- Test rebase to 10.5.0 - Alpha
7a7e4c
e6a51b
* Sun Sep 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-3
7a7e4c
- Resolves: #1851605
7a7e4c
e6a51b
* Thu Sep 03 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-2
7a7e4c
- Resolves: #1873999, #1874446
7a7e4c
e6a51b
* Thu Aug 20 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-1
7a7e4c
- Rebase to 10.4.14
7a7e4c
e6a51b
* Tue Aug 18 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-7
7a7e4c
- Do CMake out-of-source builds
7a7e4c
- Force the CMake change regarding the in-source builds also to F31 and F32
7a7e4c
- Use CMake macros instead of cmake & make direct commands
7a7e4c
- %%cmake macro covers the %%{set_build_flags}, so they are not needed
7a7e4c
  Other changes to compile flags must be specified *after* the %%cmake macro
7a7e4c
7a7e4c
* Wed Aug 05 2020 Jeff Law <law@redhat.com> - 3:10.4.13-6
7a7e4c
- Disable LTO
7a7e4c
7a7e4c
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.13-5
7a7e4c
- Second attempt - Rebuilt for
7a7e4c
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7a7e4c
7a7e4c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.13-4
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7a7e4c
e6a51b
* Tue Jul 14 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-3
7a7e4c
- Make conflicts between corresponding mariadb and mysql packages explicit
7a7e4c
- Get rid of the Conflicts macro, it was intended to mark conflicts with
7a7e4c
  *upstream* packages
7a7e4c
e6a51b
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-2
7a7e4c
- Extend Perl "Requires" filtering to wsrep
7a7e4c
  Resolves: #1845376
7a7e4c
e6a51b
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-1
7a7e4c
- Rebase to 10.4.13
7a7e4c
7a7e4c
* Sun May 24 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.4.12-6
7a7e4c
- Remove mariadb_rpl.h from includedir to prevent conflict with connector-c's libraries
7a7e4c
7a7e4c
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 3:10.4.12-5
7a7e4c
- Fix string quoting for rpm >= 4.16
7a7e4c
e6a51b
* Thu Mar 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3:10.4.12-4
7a7e4c
- Add perl dependencies needed for tests
7a7e4c
e6a51b
* Mon Mar 16 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-3
7a7e4c
- Rebase mariadb-connector-c git submodule to commit fbf1db6
7a7e4c
  For fix: https://jira.mariadb.org/browse/CONC-441
7a7e4c
e6a51b
* Tue Mar 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-2
7a7e4c
- Update the fix for building in the debug mode
7a7e4c
e6a51b
* Thu Feb 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-1
7a7e4c
- Rebase to 10.4.12
7a7e4c
7a7e4c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.11-2
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7a7e4c
e6a51b
* Fri Jan 17 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.11-1
7a7e4c
- Rebase to 10.4.11
7a7e4c
  Related: #1756468
7a7e4c
- Remove 'bench' subpackage. Upstream no longer maintains it.
7a7e4c
- Use Valgrind for debug builds
7a7e4c
- Remove ancient obsoletions
7a7e4c
- Tweak build flags
7a7e4c
- Add patch for auth_pam_tool directory
7a7e4c
e6a51b
* Fri Jan 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.3.21-1
7a7e4c
- Rebase to 10.3.21
7a7e4c
e6a51b
* Mon Nov 18 2019 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.3.20-3
7a7e4c
- Change path of groonga's packaged files
7a7e4c
- Fix bz#1763287
7a7e4c
e6a51b
* Tue Nov 12 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.20-2
7a7e4c
- Rebuild on top fo new mariadb-connector-c
7a7e4c
e6a51b
* Mon Nov 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.20-1
7a7e4c
- Rebase to 10.3.20
7a7e4c
e6a51b
* Wed Nov 06 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.19-1
7a7e4c
- Rebase to 10.3.19
7a7e4c
7a7e4c
* Thu Oct 31 2019 Carl George <carl@george.computer> - 3:10.3.18-1
7a7e4c
- Rebase to 10.3.18
7a7e4c
e6a51b
* Wed Sep 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-3
7a7e4c
- Disable building of the ed25519 client plugin.
7a7e4c
  From now on it will be shipped by 'mariadb-connector-c' package
7a7e4c
e6a51b
* Fri Sep 06 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-2
7a7e4c
- Fix the debug build
7a7e4c
e6a51b
* Thu Aug 01 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-1
7a7e4c
- Rebase to 10.3.17
7a7e4c
7a7e4c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.16-2
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7a7e4c
e6a51b
* Tue Jun 18 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.16-1
7a7e4c
- Rebase to 10.3.16
7a7e4c
- Added patch for armv7hl builds of spider SE
7a7e4c
e6a51b
* Tue Jun 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.15-1
7a7e4c
- Rebase to 10.3.15
7a7e4c
- CVEs fixed:
7a7e4c
  CVE-2019-2510 CVE-2019-2537
7a7e4c
- CVEs fixed:
7a7e4c
  CVE-2019-2614 CVE-2019-2627 CVE-2019-2628
7a7e4c
e6a51b
* Tue Jun 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-15
7a7e4c
- Remove Cassandra subpackage; it is no longer developed
7a7e4c
e6a51b
* Thu Mar 21 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-14
7a7e4c
- Fix building of TokuDB with Jemalloc 5
7a7e4c
- Fix building with / without lz4
7a7e4c
e6a51b
* Thu Mar 21 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-13
7a7e4c
- Add patch for mysqld_safe --dry-run
7a7e4c
e6a51b
* Wed Mar 20 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-12
7a7e4c
- Add patch for server pkgconfig file location
7a7e4c
e6a51b
* Sat Feb 23 2019 Pavel Raiskup <praiskup@redhat.com> - 3:10.3.12-11
7a7e4c
- conditionally depend on selinux-policy-targeted again (rhbz#1665643)
7a7e4c
7a7e4c
* Mon Feb 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-10
7a7e4c
- Disable the requirement of mysql-selinux, until its bug is solved for good; #1665643
7a7e4c
7a7e4c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.12-9
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7a7e4c
7a7e4c
* Wed Jan 30 2019 Honza Horak <hhorak@redhat.com> - 3:10.3.12-8
7a7e4c
- Fix several SSL tests that failed because of different SSL cipher expectation
7a7e4c
7a7e4c
* Wed Jan 23 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-7
7a7e4c
- Fix TokuDB Jemalloc ld_preload
7a7e4c
  Resolves: #1668375
7a7e4c
- Tweak macros usage
7a7e4c
7a7e4c
* Sat Jan 19 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-6
7a7e4c
- Enable mysql-selinux requirement
7a7e4c
- Tweak the testsuite execution, speed up the testsuite on rebuilds
7a7e4c
- Change weak dependency of RocksDB and TokuDB storage engines
7a7e4c
  from Recommends to Suggests
7a7e4c
- Add "Suggests" weak dependencies to more storage engines
7a7e4c
7a7e4c
* Wed Jan 16 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-5
7a7e4c
- Tweak handling of the mysql-selinux requirement, leave disabled due to #1665643
7a7e4c
7a7e4c
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 3:10.3.12-4
7a7e4c
- Rebuilt for libcrypt.so.2 (#1666033)
7a7e4c
7a7e4c
* Fri Jan 11 2019 Kevin Fenzi <kevin@scrye.com> - 3:10.3.12-3
7a7e4c
- Drop mysql-selinux recommends for now due to bug #1665643
7a7e4c
7a7e4c
* Wed Jan 09 2019 Honza Horak <hhorak@redhat.com> - 3:10.3.12-2
7a7e4c
- Use specific python shebang
7a7e4c
7a7e4c
* Tue Jan 08 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-1
7a7e4c
- Rebase to 10.3.12
7a7e4c
- Disable building of the caching_sha2_password plugin, it is shipped
7a7e4c
  by 'mariadb-connector-c'
7a7e4c
- Remove libmariadb.pc, is it shipped by 'mariadb-connector-c'
7a7e4c
7a7e4c
* Mon Dec 10 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.11-1
7a7e4c
- Rebase to 10.3.11
7a7e4c
- CVEs fixed:
7a7e4c
  CVE-2018-3282, CVE-2016-9843, CVE-2018-3174, CVE-2018-3143, CVE-2018-3156
7a7e4c
  CVE-2018-3251, CVE-2018-3185, CVE-2018-3277, CVE-2018-3162, CVE-2018-3173
7a7e4c
  CVE-2018-3200, CVE-2018-3284
7a7e4c
7a7e4c
* Fri Oct 05 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.10-1
7a7e4c
- Rebase to 10.3.10
7a7e4c
7a7e4c
* Tue Sep 04 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.9-2
7a7e4c
- Fix parallel installability of x86_64 and i686 devel packages
7a7e4c
7a7e4c
* Mon Aug 20 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.9-1
7a7e4c
- Rebase to 10.3.9
7a7e4c
7a7e4c
* Fri Aug 10 2018 Petr Lautrbach <plautrba@redhat.com> - 3:10.3.8-5
7a7e4c
- Update mariadb-server-galera sub-package to require the correct package with /usr/sbin/semanage
7a7e4c
7a7e4c
* Wed Jul 25 2018 Honza Horak <hhorak@redhat.com> - 3:10.3.8-4
7a7e4c
- Do not build config on systems where mariadb-connector-c-config exists instead
7a7e4c
7a7e4c
* Tue Jul 17 2018 Honza Horak <hhorak@redhat.com> - 3:10.3.8-3
7a7e4c
- Move config files mysql-clients.cnf and enable_encryption.preset to correct
7a7e4c
  sub-packages, similar to what upstream does
7a7e4c
7a7e4c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.8-2
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7a7e4c
7a7e4c
* Tue Jul 03 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.8-1
7a7e4c
- Rebase to 10.3.8
7a7e4c
- Build TokuDB with jemalloc
7a7e4c
7a7e4c
* Wed Jun 27 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.7-2
7a7e4c
- Rebase to 10.3.7
7a7e4c
- Remove the galera obsoletes
7a7e4c
7a7e4c
* Tue Jun 05 2018 Honza Horak <hhorak@redhat.com> - 3:10.2.15-2
7a7e4c
- Use mysqladmin for checking the socket
7a7e4c
- Jemalloc dependency moved to the TokuDB subpackage.
7a7e4c
  CMake jemalloc option removed, not used anymore.
7a7e4c
  The server doesn't need jemalloc since 10.2: https://jira.mariadb.org/browse/MDEV-11059
7a7e4c
- Build MariaDB with TokuDB without Jemalloc.
7a7e4c
7a7e4c
* Wed May 23 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.15-1
7a7e4c
- Rebase to 10.2.15
7a7e4c
- CVEs fixed: #1568962
7a7e4c
  CVE-2018-2755 CVE-2018-2761 CVE-2018-2766 CVE-2018-2771 CVE-2018-2781
7a7e4c
  CVE-2018-2782 CVE-2018-2784 CVE-2018-2787 CVE-2018-2813 CVE-2018-2817
7a7e4c
  CVE-2018-2819 CVE-2018-2786 CVE-2018-2759 CVE-2018-2777 CVE-2018-2810
7a7e4c
7a7e4c
* Thu Mar 29 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.14-1
7a7e4c
- Rebase to 10.2.14
7a7e4c
- Update testsuite run for SSL self signed certificates
7a7e4c
7a7e4c
* Tue Mar 6 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.13-2
7a7e4c
- Further fix of ldconfig scriptlets for F27
7a7e4c
- Fix hardcoded paths, move unversioned libraries and symlinks to the devel subpackage
7a7e4c
7a7e4c
* Thu Mar 1 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.13-1
7a7e4c
- Rebase to 10.2.13
7a7e4c
7a7e4c
* Mon Feb 26 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-8
7a7e4c
- SPECfile refresh, RHEL6, SySV init and old fedora stuff removed
7a7e4c
7a7e4c
* Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-7
7a7e4c
- Rebuilt for ldconfig_post and ldconfig_postun bug
7a7e4c
  Related: #1548331
7a7e4c
7a7e4c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.12-6
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7a7e4c
7a7e4c
* Fri Jan 26 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-5
7a7e4c
- Use '-ldl' compiler flag when associated library used
7a7e4c
  Resolves: #1538990
7a7e4c
7a7e4c
* Thu Jan 25 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-4
7a7e4c
- Fix the upgrade path. Build TokuDB subpackage again, but build a unsupported
7a7e4c
  configuration by upstream (without Jemalloc).
7a7e4c
  Jemmalloc has been updated to version 5, which isn't backwards compatible.
7a7e4c
- Use downstream tmpfiles instead of the upstream one
7a7e4c
  Related: #1538066
7a7e4c
7a7e4c
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3:10.2.12-3
7a7e4c
- Rebuilt for switch to libxcrypt
7a7e4c
7a7e4c
* Thu Jan 11 2018 Honza Horak <hhorak@redhat.com> - 3:10.2.12-1
7a7e4c
- Do not build connect plugin with mongo and jdbc connectors
7a7e4c
- Support MYSQLD_OPTS and _WSREP_NEW_CLUSTER env vars in init script,
7a7e4c
  same as it is done in case of systemd unit file
7a7e4c
  Related: #1455850
7a7e4c
- Print the same messages as before when starting the service in SysV init,
7a7e4c
  to not scare users
7a7e4c
  Related: #1463411
7a7e4c
7a7e4c
* Wed Jan 10 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-1
7a7e4c
- Rebase to 10.2.12
7a7e4c
- Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 removed
7a7e4c
- TokuDB disabled
7a7e4c
7a7e4c
* Mon Dec 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.11-2
7a7e4c
- Temporary fix for #1523875 removed, bug in Annobin fixed
7a7e4c
  Resolves: #1523875
7a7e4c
7a7e4c
* Sat Dec 09 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.11-1
7a7e4c
- Rebase to 10.2.11
7a7e4c
- Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 introduced
7a7e4c
- Temporary fix for #1523875 intoruced
7a7e4c
  Related: #1523875
7a7e4c
7a7e4c
* Wed Dec 06 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.10-2
7a7e4c
- Fix PID file location
7a7e4c
  Related: #1483331, #1515779
7a7e4c
- Remove 'Group' tags as they should not be used any more
7a7e4c
  Related: https://fedoraproject.org/wiki/RPMGroups
7a7e4c
7a7e4c
* Mon Nov 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.10-1
7a7e4c
- Rebase to 10.2.10 version
7a7e4c
- Patch 2: mariadb-install-test.patch has been incorporated by upstream
7a7e4c
- Patch 8: mariadb-install-db-sharedir.patch; upstream started to use macros
7a7e4c
- Update PCRE check
7a7e4c
- Start using location libdir/mariadb for plugins
7a7e4c
- Move libraries to libdir
7a7e4c
- Divided to more sub-packages to match upstream's RPM list
7a7e4c
  Resolves: #1490401; #1400463
7a7e4c
- Update of Cmake arguments to supported format
7a7e4c
  Related: https://lists.launchpad.net/maria-discuss/msg04852.html
7a7e4c
- Remove false Provides
7a7e4c
7a7e4c
* Thu Oct 05 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-3
7a7e4c
- Fix client library obsolete
7a7e4c
  Related: #1498956
7a7e4c
- Enable testsuite again
7a7e4c
- RPMLint error fix:
7a7e4c
  Remove unused python scripts which remained from TokuDB upstream
7a7e4c
- RPMLint error fix: description line too long
7a7e4c
7a7e4c
* Wed Oct 04 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-2
7a7e4c
- Fix of "with" and "without" macros, so they works
7a7e4c
- Use 'iproute' dependency instead of 'net-tools'
7a7e4c
  Related: #1496131
7a7e4c
- Set server package to own /usr/lib64/mysql directory
7a7e4c
- Use correct obsolete, so upgrade from maridb 10.1 to 10.2 is possible
7a7e4c
  with dnf "--allowerasing" option
7a7e4c
  Related: #1497234
7a7e4c
- Fix building with client library
7a7e4c
7a7e4c
* Thu Sep 28 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-1
7a7e4c
- Rebase to 10.2.9
7a7e4c
- Testsuite temorarly disabled in order to fast deploy critical fix
7a7e4c
  Related: #1497234
7a7e4c
7a7e4c
* Wed Sep 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.8-5
7a7e4c
- Fix building without client library part
7a7e4c
- Start building mariadb without client library part,
7a7e4c
  use mariadb-connector-c package >= 3.0 instead
7a7e4c
- Use obosletes of "-libs" in "-common", if built without client library part
7a7e4c
7a7e4c
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-2
7a7e4c
- Fix paths in galera_recovery and galera_new_cluster
7a7e4c
  Resolves: #1403416
7a7e4c
- Support --defaults-group-suffix properly in systemd unit file
7a7e4c
  Resolves: #1485777
7a7e4c
- Allow 4567 port for tcp as well
7a7e4c
- Install mysql-wait-ready on RHEL-6 for the SysV init
7a7e4c
- Run mysql-prepare-db-dir as non-root
7a7e4c
- Sync mysql.init with community-mysql
7a7e4c
7a7e4c
* Sun Aug 20 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-1
7a7e4c
- Rebase to 10.2.8
7a7e4c
7a7e4c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.7-8
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7a7e4c
7a7e4c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.7-7
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7a7e4c
7a7e4c
* Tue Jul 25 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.7-6
7a7e4c
- Revert previous change, go back to libmariadb headers (RHBZ #1474764)
7a7e4c
7a7e4c
* Fri Jul 21 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.7-5
7a7e4c
- Install correct headers (server, not client) - MDEV-13370
7a7e4c
7a7e4c
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 3:10.2.7-4
7a7e4c
- Rebuilt for s390x binutils bug
7a7e4c
7a7e4c
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 3:10.2.7-3
7a7e4c
- Rebuilt for Boost 1.64
7a7e4c
7a7e4c
* Thu Jul 13 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.7-2
7a7e4c
- Remove mysql-wait-* scripts. They aren't needed when using systemd "Type=notify"
7a7e4c
7a7e4c
* Thu Jul 13 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.7-1
7a7e4c
- Rebase to 10.2.7
7a7e4c
- Get back mysql_config, its "--libmysqld-libs" is still needed
7a7e4c
7a7e4c
* Wed Jul 12 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.6-4
7a7e4c
- Add manual Provides: for the libmysqlcient compat symlink
7a7e4c
7a7e4c
* Wed Jul 12 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.6-3
7a7e4c
- Move libmysqlclient.so.18 compat link to -libs subpackage
7a7e4c
7a7e4c
* Tue Jul 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.6-2
7a7e4c
- Disable Dtrace
7a7e4c
- Disable Sphinx, circural dependency
7a7e4c
7a7e4c
* Tue Jul 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.6-1
7a7e4c
- Rebase to 10.2.6
7a7e4c
- SSL patch removed
7a7e4c
- 'libmariadb.so.3' replaced 'limysqlclient.so.18.0.0', symlinks provided
7a7e4c
- "make test" removed, it needs running server and same test are included in the testsuite
7a7e4c
7a7e4c
* Mon Jul 10 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.25-1
7a7e4c
- Rebase to 10.1.25
7a7e4c
- Disable plugins 'cracklib' and 'gssapi' by default
7a7e4c
- Related: #1468028, #1464070
7a7e4c
- Looks like the testsuite removes its 'var' content correctly,
7a7e4c
  no need to do that explicitly.
7a7e4c
7a7e4c
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 3:10.1.24-5
7a7e4c
- Rebuild due to bug in RPM (RHBZ #1468476)
7a7e4c
7a7e4c
* Mon Jun 19 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-4
7a7e4c
- Use "/run" location instead of "/var/run" symlink
7a7e4c
- Related: #1455811
7a7e4c
- Remove AppArmor files
7a7e4c
7a7e4c
* Fri Jun 09 2017 Honza Horak <hhorak@redhat.com> - 3:10.1.24-3
7a7e4c
- Downstream script mariadb-prepare-db-dir fixed for CVE-2017-3265
7a7e4c
- Resolves: #1458940
7a7e4c
- Check properly that datadir includes only expected files
7a7e4c
- Related: #1356897
7a7e4c
7a7e4c
* Wed Jun 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-2
7a7e4c
- Fixed incorrect Jemalloc initialization; #1459671
7a7e4c
7a7e4c
* Fri Jun 02 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-1
7a7e4c
- Rebase to 10.1.24
7a7e4c
- Build dependecies Bison and Libarchive added, others corrected
7a7e4c
- Disabling Mroonga engine for i686 architecture, as it is not supported by MariaDB
7a7e4c
- Removed patches: (fixed by upstream)
7a7e4c
    Patch5:  mariadb-file-contents.patch
7a7e4c
    Patch14: mariadb-example-config-files.patch
7a7e4c
    Patch31: mariadb-string-overflow.patch
7a7e4c
    Patch32: mariadb-basedir.patch
7a7e4c
    Patch41: mariadb-galera-new-cluster-help.patch
7a7e4c
- Resolves: rhbz#1414387
7a7e4c
    CVE-2017-3313
7a7e4c
- Resolves partly: rhbz#1443408
7a7e4c
    CVE-2017-3308 CVE-2017-3309 CVE-2017-3453 CVE-2017-3456 CVE-2017-3464
7a7e4c
7a7e4c
* Tue May 23 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-6
7a7e4c
- Plugin oqgraph enabled
7a7e4c
- Plugin jemalloc enabled
7a7e4c
- 'force' option for 'rm' removed
7a7e4c
- Enabled '--big-test' option for the testsuite
7a7e4c
- Disabled '--skip-rpl' option for the testsuite = replication tests enabled
7a7e4c
- Multilib manpage added
7a7e4c
7a7e4c
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:10.1.21-5
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
7a7e4c
7a7e4c
* Tue Mar 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-4
7a7e4c
- Cracklib plugin enabled
7a7e4c
- Removed strmov patch, it is no longer needed. The issue was fixed long ago in both MariaDB and MySQL
7a7e4c
7a7e4c
* Wed Feb 15 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-3
7a7e4c
- Fix for some RPMLint issues
7a7e4c
- Fix: Only server utilities can be move to server-utils subpackage. The rest (from client)
7a7e4c
  were moved back to where they came from (client - the main subpackage)
7a7e4c
- Added correct "Obsoletes" for the server-utils subpackage
7a7e4c
- Fixed FTBFS in F26 on x86_64, because of -Werror option
7a7e4c
- Related: #1421092, #1395127
7a7e4c
7a7e4c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.1.21-2
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7a7e4c
7a7e4c
* Tue Jan 24 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-1
7a7e4c
- Rebase to version 10.1.21
7a7e4c
- Most of the non-essential utilites has been moved to the new sub-package mariadb-server-utils
7a7e4c
- Patches "admincrash" and "errno" removed, they are no longer relevant
7a7e4c
  "mysql-embedded-check.c" removed, no longer relevant
7a7e4c
- Buildrequires krb5-devel duplicity removed
7a7e4c
- Manpage for mysql_secure_installation extended
7a7e4c
- Preparation for the CrackLib plugin to be added (waiting for correct SELinux rules to be relased)
7a7e4c
- Related: #1260821, #1205082, #1414387
7a7e4c
7a7e4c
* Tue Jan 03 2017 Honza Horak <hhorak@redhat.com> - 3:10.1.20-3
7a7e4c
- Add explicit EVR requirement in main package for -libs
7a7e4c
- Related: #1406320
7a7e4c
7a7e4c
* Tue Dec 20 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.20-2
7a7e4c
- Use correct macro when removing doc files
7a7e4c
- Resolves: #1400981
7a7e4c
7a7e4c
* Sat Dec 17 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.20-1
7a7e4c
- Rebase to version 10.1.20
7a7e4c
- Related: #1405258
7a7e4c
7a7e4c
* Fri Dec 02 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-6
7a7e4c
- Move patch from specfile to standalone patch file
7a7e4c
- Related: #1382988
7a7e4c
7a7e4c
* Thu Dec 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 3:10.1.19-6
7a7e4c
- -devel: use pkgconfig(openssl) to allow any implementation (like compat-openssl10)
7a7e4c
7a7e4c
* Wed Nov 30 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-5
7a7e4c
- Testsuite blacklists heavily updated. Current tracker: #1399847
7a7e4c
- Log-error option added to all config files examples
7a7e4c
- Resolves: #1382988
7a7e4c
7a7e4c
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-4
7a7e4c
- JdbcMariaDB.jar test removed
7a7e4c
- PCRE version check added
7a7e4c
- Related: #1382988, #1396945, #1096787
7a7e4c
7a7e4c
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-4
7a7e4c
- test suite ENABLED, consensus was made it still should be run every build
7a7e4c
7a7e4c
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-2
7a7e4c
- fixed bug 1382988
7a7e4c
- added comment to the test suite
7a7e4c
- test suite DISABLED for most builds in Koji, see comments
7a7e4c
7a7e4c
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-1
7a7e4c
- Update to 10.1.19
7a7e4c
- added temporary support to build with OpenSSL 1.0 on Fedora >= 26
7a7e4c
- added krb5-devel pkg as Buldrquires to prevent gssapi failure
7a7e4c
7a7e4c
* Tue Oct  4 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.18-1
7a7e4c
- Update to 10.1.18
7a7e4c
7a7e4c
* Wed Aug 31 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.17-1
7a7e4c
- Update to 10.1.17
7a7e4c
7a7e4c
* Mon Aug 29 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.16-2
7a7e4c
- Fixed galera replication
7a7e4c
- Resolves: #1352946
7a7e4c
7a7e4c
* Tue Jul 19 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.16-1
7a7e4c
- Update to 10.1.16
7a7e4c
7a7e4c
* Fri Jul 15 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.14-5
7a7e4c
- Fail build when test-suite fails
7a7e4c
- Use license macro for inclusion of licenses
7a7e4c
7a7e4c
* Thu Jul 14 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.14-4
7a7e4c
- Revert Update to 10.1.15, this release is broken
7a7e4c
  https://lists.launchpad.net/maria-discuss/msg03691.html
7a7e4c
7a7e4c
* Thu Jul 14 2016 Honza Horak <hhorak@redhat.com> - 2:10.1.15-3
7a7e4c
- Check datadir more carefully to avoid unwanted data corruption
7a7e4c
- Related: #1335849
7a7e4c
7a7e4c
* Thu Jul  7 2016 Jakub Dorňák <jdornak@redhat.com> - 2:10.1.15-2
7a7e4c
- Bump epoch
7a7e4c
  (related to the downgrade from the pre-release version)
7a7e4c
7a7e4c
* Fri Jul  1 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.15-1
7a7e4c
- Update to 10.1.15
7a7e4c
7a7e4c
* Fri Jul  1 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.14-3
7a7e4c
- Revert "Update to 10.2.0"
7a7e4c
  It is possible that MariaDB 10.2.0 won't be stable till f25 GA.
7a7e4c
7a7e4c
* Tue Jun 21 2016 Pavel Raiskup <praiskup@redhat.com> - 1:10.1.14-3
7a7e4c
- BR multilib-rpm-config and use it for multilib workarounds
7a7e4c
- install architecture dependant pc file to arch-dependant location
7a7e4c
7a7e4c
* Thu May 26 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.2.0-2
7a7e4c
- Fix mysql-prepare-db-dir
7a7e4c
- Resolves: #1335849
7a7e4c
7a7e4c
* Thu May 12 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.2.0-1
7a7e4c
- Update to 10.2.0
7a7e4c
7a7e4c
* Thu May 12 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.14-1
7a7e4c
- Add selinux policy
7a7e4c
- Update to 10.1.14 (includes various bug fixes)
7a7e4c
- Add -h and --help options to galera_new_cluster
7a7e4c
7a7e4c
* Thu Apr  7 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-3
7a7e4c
- wsrep_on in galera.cnf
7a7e4c
7a7e4c
* Tue Apr  5 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-2
7a7e4c
- Moved /etc/sysconfig/clustercheck
7a7e4c
  and /usr/share/mariadb/systemd/use_galera_new_cluster.conf
7a7e4c
  to mariadb-server-galera
7a7e4c
7a7e4c
* Tue Mar 29 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-1
7a7e4c
- Update to 10.1.13
7a7e4c
7a7e4c
* Wed Mar 23 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-4
7a7e4c
- Fixed conflict with mariadb-galera-server
7a7e4c
7a7e4c
* Tue Mar 22 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-3
7a7e4c
- Add subpackage mariadb-server-galera
7a7e4c
- Resolves: 1310622
7a7e4c
7a7e4c
* Tue Mar 01 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.12-2
7a7e4c
- Rebuild for BZ#1309199 (symbol versioning)
7a7e4c
7a7e4c
* Mon Feb 29 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-1
7a7e4c
- Update to 10.1.12
7a7e4c
7a7e4c
* Tue Feb 16 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-9
7a7e4c
- Remove dangling symlink to /etc/init.d/mysql
7a7e4c
7a7e4c
* Sat Feb 13 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-8
7a7e4c
- Use epoch for obsoleting mariadb-galera-server
7a7e4c
7a7e4c
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-7
7a7e4c
- Add Provides: bundled(pcre) in case we build with bundled pcre
7a7e4c
- Related: #1302296
7a7e4c
- embedded-devel should require libaio-devel
7a7e4c
- Resolves: #1290517
7a7e4c
7a7e4c
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-6
7a7e4c
- Fix typo s/obsolate/obsolete/
7a7e4c
7a7e4c
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-5
7a7e4c
- Add missing requirements for proper wsrep functionality
7a7e4c
- Obsolate mariadb-galera & mariadb-galera-server (thanks Tomas Repik)
7a7e4c
- Resolves: #1279753
7a7e4c
- Re-enable using libedit, which should be now fixed
7a7e4c
- Related: #1201988
7a7e4c
- Remove mariadb-wait-ready call from systemd unit, we have now systemd notify support
7a7e4c
- Make mariadb@.service similar to mariadb.service
7a7e4c
7a7e4c
* Mon Feb 08 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-4
7a7e4c
- Use systemd unit file more compatible with upstream
7a7e4c
7a7e4c
* Sun Feb 07 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-3
7a7e4c
- Temporarily disabling oqgraph for
7a7e4c
  https://mariadb.atlassian.net/browse/MDEV-9479
7a7e4c
7a7e4c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:10.1.11-2
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7a7e4c
7a7e4c
* Wed Feb  3 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.11-1
7a7e4c
- Update to 10.1.11
7a7e4c
7a7e4c
* Tue Jan 19 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.10-1
7a7e4c
- Update to 10.1.10
7a7e4c
7a7e4c
* Mon Dec 07 2015 Dan Horák <dan[at]danny.cz> - 1:10.1.8-3
7a7e4c
- rebuilt for s390(x)
7a7e4c
7a7e4c
* Tue Nov 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.1.8-2
7a7e4c
- Expand variables in server.cnf
7a7e4c
7a7e4c
* Thu Oct 22 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.8-1
7a7e4c
- Update to 10.1.8
7a7e4c
7a7e4c
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:10.0.21-2
7a7e4c
- Rebuilt for Boost 1.59
7a7e4c
7a7e4c
* Mon Aug 10 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.21-1
7a7e4c
- Update to 10.0.21
7a7e4c
7a7e4c
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.20-3
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
7a7e4c
7a7e4c
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:10.0.20-2
7a7e4c
- rebuild for Boost 1.58
7a7e4c
7a7e4c
* Tue Jun 23 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.20-1
7a7e4c
- Update to 10.0.20
7a7e4c
7a7e4c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.19-3
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7a7e4c
7a7e4c
* Wed Jun 03 2015 Dan Horák <dan[at]danny.cz> - 1:10.0.19-2
7a7e4c
- Update lists of failing tests (jdornak)
7a7e4c
- Related: #1149647
7a7e4c
7a7e4c
* Mon May 11 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.19-1
7a7e4c
- Update to 10.0.19
7a7e4c
7a7e4c
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.18-1
7a7e4c
- Update to 10.0.18
7a7e4c
7a7e4c
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-4
7a7e4c
- Include client plugins into -common package since they are used by both -libs
7a7e4c
  and base packages.
7a7e4c
- Do not use libedit
7a7e4c
- Related: #1201988
7a7e4c
- Let plugin dir to be owned by -common
7a7e4c
- Use correct comment in the init script
7a7e4c
- Related: #1184604
7a7e4c
- Add openssl as BuildRequires to run some openssl tests during build
7a7e4c
- Related: #1189180
7a7e4c
- Fail in case any command in check fails
7a7e4c
- Related: #1124791
7a7e4c
- Fix mysqladmin crash if run with -u root -p
7a7e4c
- Resolves: #1207170
7a7e4c
7a7e4c
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:10.0.17-3
7a7e4c
- Rebuilt for GCC 5 C++11 ABI change
7a7e4c
7a7e4c
* Fri Mar 06 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-2
7a7e4c
- Wait for daemon ends
7a7e4c
- Resolves: #1072958
7a7e4c
- Do not include symlink to libmysqlclient if not shipping the library
7a7e4c
- Do not use scl prefix more than once in paths
7a7e4c
  Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
7a7e4c
7a7e4c
* Wed Mar 04 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-1
7a7e4c
- Rebase to version 10.0.17
7a7e4c
- Added variable for turn off skipping some tests
7a7e4c
7a7e4c
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-6
7a7e4c
- Check permissions when starting service on RHEL-6
7a7e4c
- Resolves: #1194699
7a7e4c
- Do not create test database by default
7a7e4c
- Related: #1194611
7a7e4c
7a7e4c
* Fri Feb 13 2015 Matej Muzila <mmuzila@redhat.com> - 1:10.0.16-4
7a7e4c
- Enable tokudb
7a7e4c
7a7e4c
* Tue Feb 10 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-3
7a7e4c
- Fix openssl_1 test
7a7e4c
7a7e4c
* Wed Feb  4 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-2
7a7e4c
- Include new certificate for tests
7a7e4c
- Update lists of failing tests
7a7e4c
- Related: #1186110
7a7e4c
7a7e4c
* Tue Feb  3 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-9
7a7e4c
- Rebase to version 10.0.16
7a7e4c
- Resolves: #1187895
7a7e4c
7a7e4c
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1:10.0.15-9
7a7e4c
- Rebuild for boost 1.57.0
7a7e4c
7a7e4c
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-8
7a7e4c
- Fix typo in the config file
7a7e4c
7a7e4c
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-7
7a7e4c
- Do not create log file in post script
7a7e4c
7a7e4c
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
7a7e4c
- Move server settings to config file under my.cnf.d dir
7a7e4c
7a7e4c
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-5
7a7e4c
- Fix path for sysconfig file
7a7e4c
  Filter provides in el6 properly
7a7e4c
  Fix initscript file location
7a7e4c
7a7e4c
* Tue Jan 06 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-4
7a7e4c
- Disable failing tests connect.mrr, connect.updelx2 on ppc and s390
7a7e4c
7a7e4c
* Mon Dec 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-3
7a7e4c
- Fix macros paths in my.cnf
7a7e4c
- Create old location for pid file if it remained in my.cnf
7a7e4c
7a7e4c
* Fri Dec 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-2
7a7e4c
- Rework usage of macros and remove some compatibility artefacts
7a7e4c
7a7e4c
* Thu Nov 27 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.15-1
7a7e4c
- Update to 10.0.15
7a7e4c
7a7e4c
* Thu Nov 20 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-8
7a7e4c
- Applied upstream fix for mysql_config --cflags output.
7a7e4c
- Resolves: #1160845
7a7e4c
7a7e4c
* Fri Oct 24 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-7
7a7e4c
- Fixed compat service file.
7a7e4c
- Resolves: #1155700
7a7e4c
7a7e4c
* Mon Oct 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-6
7a7e4c
- Remove bundled cmd-line-utils
7a7e4c
- Related: #1079637
7a7e4c
- Move mysqlimport man page to proper package
7a7e4c
- Disable main.key_cache test on s390
7a7e4c
  Releated: #1149647
7a7e4c
7a7e4c
* Wed Oct 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-5
7a7e4c
- Disable tests connect.part_file, connect.part_table
7a7e4c
  and connect.updelx
7a7e4c
- Related: #1149647
7a7e4c
7a7e4c
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-4
7a7e4c
- Add bcond_without mysql_names
7a7e4c
  Use more correct path when deleting mysql logrotate script
7a7e4c
7a7e4c
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-3
7a7e4c
- Build with system libedit
7a7e4c
- Resolves: #1079637
7a7e4c
7a7e4c
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-2
7a7e4c
- Add with_debug option
7a7e4c
7a7e4c
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-1
7a7e4c
- Update to 10.0.14
7a7e4c
7a7e4c
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-8
7a7e4c
- Move connect engine to a separate package
7a7e4c
  Rename oqgraph engine to align with upstream packages
7a7e4c
- Move some files to correspond with MariaDB upstream packages
7a7e4c
  client.cnf into -libs, mysql_plugin and msql2mysql into base,
7a7e4c
  tokuftdump and aria_* into -server, errmsg-utf8.txt into -errmsg
7a7e4c
- Remove duplicate cnf files packaged using %%doc
7a7e4c
- Check upgrade script added to warn about need for mysql_upgrade
7a7e4c
7a7e4c
* Wed Sep 24 2014 Matej Muzila <mmuzila@redhat.com> - 1:10.0.13-7
7a7e4c
- Client related libraries moved from mariadb-server to mariadb-libs
7a7e4c
- Related: #1138843
7a7e4c
7a7e4c
* Mon Sep 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-6
7a7e4c
- Disable vcol_supported_sql_funcs_myisam test on all arches
7a7e4c
- Related: #1096787
7a7e4c
- Install systemd service file on RHEL-7+
7a7e4c
  Server requires any mysql package, so it should be fine with older client
7a7e4c
7a7e4c
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-5
7a7e4c
- Fix paths in mysql_install_db script
7a7e4c
- Resolves: #1134328
7a7e4c
- Use %%cmake macro
7a7e4c
7a7e4c
* Tue Aug 19 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-4
7a7e4c
- Build config subpackage everytime
7a7e4c
- Disable failing tests: innodb_simulate_comp_failures_small, key_cache
7a7e4c
  rhbz#1096787
7a7e4c
7a7e4c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.13-3
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7a7e4c
7a7e4c
* Thu Aug 14 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-2
7a7e4c
- Include mysqld_unit only if required; enable tokudb in f20-
7a7e4c
7a7e4c
* Wed Aug 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-1
7a7e4c
- Rebase to version 10.0.13
7a7e4c
7a7e4c
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-8
7a7e4c
- Introduce -config subpackage and ship base config files here
7a7e4c
7a7e4c
* Tue Aug  5 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-7
7a7e4c
- Adopt changes from mysql, thanks Bjorn Munch <bjorn.munch@oracle.com>
7a7e4c
7a7e4c
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
7a7e4c
- Use explicit sysconfdir
7a7e4c
- Absolut path for default value for pid file and error log
7a7e4c
7a7e4c
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-5
7a7e4c
- Hardcoded paths removed to work fine in chroot
7a7e4c
- Spec rewrite to be more similar to oterh MySQL implementations
7a7e4c
- Use variable for daemon unit name
7a7e4c
- Include SysV init script if built on older system
7a7e4c
- Add possibility to not ship some sub-packages
7a7e4c
7a7e4c
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-4
7a7e4c
- Reformating spec and removing unnecessary snippets
7a7e4c
7a7e4c
* Tue Jul 15 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-3
7a7e4c
- Enable OQGRAPH engine and package it as a sub-package
7a7e4c
- Add support for TokuDB engine for x86_64 (currently still disabled)
7a7e4c
- Re-enable tokudb_innodb_xa_crash again, seems to be fixed now
7a7e4c
- Drop superfluous -libs and -embedded ldconfig deps (thanks Ville Skyttä)
7a7e4c
- Separate -lib and -common sub-packages
7a7e4c
- Require /etc/my.cnf instead of shipping it
7a7e4c
- Include README.mysql-cnf
7a7e4c
- Multilib support re-worked
7a7e4c
- Introduce new option with_mysqld_unit
7a7e4c
- Removed obsolete mysql-cluster, the package should already be removed
7a7e4c
- Improve error message when log file is not writable
7a7e4c
- Compile all binaries with full RELRO (RHBZ#1092548)
7a7e4c
- Use modern symbol filtering with compatible backup
7a7e4c
- Add more groupnames for server's my.cnf
7a7e4c
- Error messages now provided by a separate package (thanks Alexander Barkov)
7a7e4c
- Expand paths in helper scripts using cmake
7a7e4c
7a7e4c
* Wed Jun 18 2014 Mikko Tiihonen <mikko.tiihonen@iki.fi> - 1:10.0.12-2
7a7e4c
- Use -fno-delete-null-pointer-checks to avoid segfaults with gcc 4.9
7a7e4c
7a7e4c
* Tue Jun 17 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.12-1
7a7e4c
- Rebase to version 10.0.12
7a7e4c
7a7e4c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.11-5
7a7e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7a7e4c
7a7e4c
* Tue Jun  3 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-4
7a7e4c
- rebuild with tests failing on different arches disabled (#1096787)
7a7e4c
7a7e4c
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 1:10.0.11-2
7a7e4c
- rebuild with tests failing on big endian arches disabled (#1096787)
7a7e4c
7a7e4c
* Wed May 14 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-1
7a7e4c
- Rebase to version 10.0.11
7a7e4c
7a7e4c
* Mon May 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.10-3
7a7e4c
- Script for socket check enhanced
7a7e4c
7a7e4c
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-2
7a7e4c
- use system pcre library
7a7e4c
7a7e4c
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-1
7a7e4c
- Rebase to version 10.0.10
7a7e4c
7a7e4c
* Wed Mar 12 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-2
7a7e4c
- Server crashes on SQL select containing more group by and left join statements using innodb tables
7a7e4c
- Resolves: #1065676
7a7e4c
- Fix paths in helper scripts
7a7e4c
- Move language files into mariadb directory
7a7e4c
7a7e4c
* Thu Mar 06 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-1
7a7e4c
- Rebase to 5.5.36
7a7e4c
  https://kb.askmonty.org/en/mariadb-5536-changelog/
7a7e4c
7a7e4c
* Tue Feb 25 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-5
7a7e4c
- Daemon helper scripts sanity changes and spec files clean-up
7a7e4c
7a7e4c
* Tue Feb 11 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-4
7a7e4c
- Fix typo in mysqld.service
7a7e4c
- Resolves: #1063981
7a7e4c
7a7e4c
* Wed Feb  5 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-3
7a7e4c
- Do not touch the log file in post script, so it does not get wrong owner
7a7e4c
- Resolves: #1061045
7a7e4c
7a7e4c
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-1
7a7e4c
- Rebase to 5.5.35
7a7e4c
  https://kb.askmonty.org/en/mariadb-5535-changelog/
7a7e4c
  Also fixes: CVE-2014-0001, CVE-2014-0412, CVE-2014-0437, CVE-2013-5908,
7a7e4c
  CVE-2014-0420, CVE-2014-0393, CVE-2013-5891, CVE-2014-0386, CVE-2014-0401,
7a7e4c
  CVE-2014-0402
7a7e4c
- Resolves: #1054043
7a7e4c
- Resolves: #1059546
7a7e4c
7a7e4c
* Tue Jan 14 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.34-9
7a7e4c
- Adopt compatible system versioning
7a7e4c
- Related: #1045013
7a7e4c
- Use compatibility mysqld.service instead of link
7a7e4c
- Related: #1014311
7a7e4c
7a7e4c
* Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.34-8
7a7e4c
- move mysql_config alternatives scriptlets to -devel too
7a7e4c
7a7e4c
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7
7a7e4c
- Build with -O3 on ppc64
7a7e4c
- Related: #1051069
7a7e4c
- Move mysql_config to -devel sub-package and remove Require: mariadb
7a7e4c
- Related: #1050920
7a7e4c
7a7e4c
* Fri Jan 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 1:5.5.34-6
7a7e4c
- Disable main.gis-precise test also for AArch64
7a7e4c
- Disable perfschema.func_file_io and perfschema.func_mutex for AArch64
7a7e4c
  (like it is done for 32-bit ARM)
7a7e4c
7a7e4c
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-5
7a7e4c
- Clean all non-needed doc files properly
7a7e4c
7a7e4c
* Wed Jan  8 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-4
7a7e4c
- Read socketfile location in mariadb-prepare-db-dir script
7a7e4c
7a7e4c
* Mon Jan  6 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-3
7a7e4c
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
7a7e4c
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
7a7e4c
- Related: #1044565
7a7e4c
- Use upstream's layout for symbols version in client library
7a7e4c
- Related: #1045013
7a7e4c
- Check if socket file is not being used by another process at a time
7a7e4c
  of starting the service
7a7e4c
- Related: #1045435
7a7e4c
- Use %%ghost directive for the log file
7a7e4c
- Related: 1043501
7a7e4c
7a7e4c
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-2
7a7e4c
- Fix mariadb-wait-ready script
7a7e4c
7a7e4c
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-1
7a7e4c
- Rebase to 5.5.34
7a7e4c
7a7e4c
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-4
7a7e4c
- Fix spec file to be ready for backport by Oden Eriksson
7a7e4c
- Resolves: #1026404
7a7e4c
7a7e4c
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-3
7a7e4c
- Add pam-devel to build-requires in order to build
7a7e4c
- Related: #1019945
7a7e4c
- Check if correct process is running in mysql-wait-ready script
7a7e4c
- Related: #1026313
7a7e4c
7a7e4c
* Mon Oct 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-2
7a7e4c
- Turn on test suite
7a7e4c
7a7e4c
* Thu Oct 10 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-1
7a7e4c
- Rebase to 5.5.33a
7a7e4c
  https://kb.askmonty.org/en/mariadb-5533-changelog/
7a7e4c
  https://kb.askmonty.org/en/mariadb-5533a-changelog/
7a7e4c
- Enable outfile_loaddata test
7a7e4c
- Disable tokudb_innodb_xa_crash test
7a7e4c
7a7e4c
* Mon Sep  2 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-12
7a7e4c
- Re-organize my.cnf to include only generic settings
7a7e4c
- Resolves: #1003115
7a7e4c
- Move pid file location to /var/run/mariadb
7a7e4c
- Make mysqld a symlink to mariadb unit file rather than the opposite way
7a7e4c
- Related: #999589
7a7e4c
7a7e4c
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-11
7a7e4c
- Move log file into /var/log/mariadb/mariadb.log
7a7e4c
- Rename logrotate script to mariadb
7a7e4c
- Resolves: #999589
7a7e4c
7a7e4c
* Wed Aug 14 2013 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.32-10
7a7e4c
- fix alternatives usage
7a7e4c
7a7e4c
* Tue Aug 13 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-9
7a7e4c
- Multilib issues solved by alternatives
7a7e4c
- Resolves: #986959
7a7e4c
7a7e4c
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.32-8
7a7e4c
- Perl 5.18 rebuild
7a7e4c
7a7e4c
* Wed Jul 31 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-7
7a7e4c
- Do not use login shell for mysql user
7a7e4c
7a7e4c
* Tue Jul 30 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-6
7a7e4c
- Remove unneeded systemd-sysv requires
7a7e4c
- Provide mysql-compat-server symbol
7a7e4c
- Create mariadb.service symlink
7a7e4c
- Fix multilib header location for arm
7a7e4c
- Enhance documentation in the unit file
7a7e4c
- Use scriptstub instead of links to avoid multilib conflicts
7a7e4c
- Add condition for doc placement in F20+
7a7e4c
7a7e4c
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 1:5.5.32-5
7a7e4c
- remove "Requires(pretrans): systemd" since its not possible
7a7e4c
- when installing mariadb and systemd at the same time. as in a new install
7a7e4c
7a7e4c
* Sat Jul 27 2013 Kevin Fenzi <kevin@scrye.com> 1:5.5.32-4
7a7e4c
- Set rpm doc macro to install docs in unversioned dir
7a7e4c
7a7e4c
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-3
7a7e4c
- add Requires(pre) on systemd for the server package
7a7e4c
7a7e4c
* Tue Jul 23 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-2
7a7e4c
- replace systemd-units requires with systemd
7a7e4c
- remove solaris files
7a7e4c
7a7e4c
* Fri Jul 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.32-1
7a7e4c
- Rebase to 5.5.32
7a7e4c
  https://kb.askmonty.org/en/mariadb-5532-changelog/
7a7e4c
- Clean-up un-necessary systemd snippets
7a7e4c
7a7e4c
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.31-7
7a7e4c
- Perl 5.18 rebuild
7a7e4c
7a7e4c
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-6
7a7e4c
- Test suite params enhanced to decrease server condition influence
7a7e4c
- Fix misleading error message when uninstalling built-in plugins
7a7e4c
- Related: #966873
7a7e4c
7a7e4c
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-5
7a7e4c
- Apply fixes found by Coverity static analysis tool
7a7e4c
7a7e4c
* Wed Jun 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-4
7a7e4c
- Do not use pretrans scriptlet, which doesn't work in anaconda
7a7e4c
- Resolves: #975348
7a7e4c
7a7e4c
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-3
7a7e4c
- Explicitly enable mysqld if it was enabled in the beginning
7a7e4c
  of the transaction.
7a7e4c
7a7e4c
* Thu Jun 13 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-2
7a7e4c
- Apply man page fix from Jan Stanek
7a7e4c
7a7e4c
* Fri May 24 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-1
7a7e4c
- Rebase to 5.5.31
7a7e4c
  https://kb.askmonty.org/en/mariadb-5531-changelog/
7a7e4c
- Preserve time-stamps in case of installed files
7a7e4c
- Use /var/tmp instead of /tmp, since the later is using tmpfs,
7a7e4c
  which can cause problems
7a7e4c
- Resolves: #962087
7a7e4c
- Fix test suite requirements
7a7e4c
7a7e4c
* Sun May  5 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-2
7a7e4c
- Remove mytop utility, which is packaged separately
7a7e4c
- Resolve multilib conflicts in mysql/private/config.h
7a7e4c
7a7e4c
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-1
7a7e4c
- Rebase to 5.5.30
7a7e4c
  https://kb.askmonty.org/en/mariadb-5530-changelog/
7a7e4c
7a7e4c
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-11
7a7e4c
- Obsolete MySQL since it is now renamed to community-mysql
7a7e4c
- Remove real- virtual names
7a7e4c
7a7e4c
* Thu Mar 21 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-10
7a7e4c
- Adding epoch to have higher priority than other mysql implementations
7a7e4c
  when comes to provider comparison
7a7e4c
7a7e4c
* Wed Mar 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-9
7a7e4c
- Let mariadb-embedded-devel conflict with MySQL-embedded-devel
7a7e4c
- Adjust mariadb-sortbuffer.patch to correspond with upstream patch
7a7e4c
7a7e4c
* Mon Mar  4 2013 Honza Horak <hhorak@redhat.com> 5.5.29-8
7a7e4c
- Mask expected warnings about setrlimit in test suite
7a7e4c
7a7e4c
* Thu Feb 28 2013 Honza Horak <hhorak@redhat.com> 5.5.29-7
7a7e4c
- Use configured prefix value instead of guessing basedir
7a7e4c
  in mysql_config
7a7e4c
- Resolves: #916189
7a7e4c
- Export dynamic columns and non-blocking API functions documented
7a7e4c
  by upstream
7a7e4c
7a7e4c
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
7a7e4c
- Fix sort_buffer_length option type
7a7e4c
7a7e4c
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-5
7a7e4c
- Suppress warnings in tests and skip tests also on ppc64p7
7a7e4c
7a7e4c
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-4
7a7e4c
- Suppress warning in tests on ppc
7a7e4c
- Enable fixed index_merge_myisam test case
7a7e4c
7a7e4c
* Thu Feb 07 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
7a7e4c
- Packages need to provide also %%_isa version of mysql package
7a7e4c
- Provide own symbols with real- prefix to distinguish from mysql
7a7e4c
  unambiguously
7a7e4c
- Fix format for buffer size in error messages (MDEV-4156)
7a7e4c
- Disable some tests that fail on ppc and s390
7a7e4c
- Conflict only with real-mysql, otherwise mariadb conflicts with ourself
7a7e4c
7a7e4c
* Tue Feb 05 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
7a7e4c
- Let mariadb-libs to own /etc/my.cnf.d
7a7e4c
7a7e4c
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.29-1
7a7e4c
- Rebase to 5.5.29
7a7e4c
  https://kb.askmonty.org/en/mariadb-5529-changelog/
7a7e4c
- Fix inaccurate default for socket location in mysqld-wait-ready
7a7e4c
- Resolves: #890535
7a7e4c
7a7e4c
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-8
7a7e4c
- Enable obsoleting mysql
7a7e4c
7a7e4c
* Wed Jan 30 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-7
7a7e4c
- Adding necessary hacks for perl dependency checking, rpm is still
7a7e4c
  not wise enough
7a7e4c
- Namespace sanity re-added for symbol default_charset_info
7a7e4c
7a7e4c
* Mon Jan 28 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-6
7a7e4c
- Removed %%{_isa} from provides/obsoletes, which doesn't allow
7a7e4c
  proper obsoleting
7a7e4c
- Do not obsolete mysql at the time of testing
7a7e4c
7a7e4c
* Thu Jan 10 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-5
7a7e4c
- Added licenses LGPLv2 and BSD
7a7e4c
- Removed wrong usage of %%{epoch}
7a7e4c
- Test-suite is run in %%check
7a7e4c
- Removed perl dependency checking adjustment, rpm seems to be smart enough
7a7e4c
- Other minor spec file fixes
7a7e4c
7a7e4c
* Tue Dec 18 2012 Honza Horak <hhorak@redhat.com> 5.5.28a-4
7a7e4c
- Packaging of MariaDB based on MySQL package
7a7e4c