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