Blame SPECS/mariadb.spec

8ddd42
# SCL stuff
8ddd42
%{?scl:%scl_package mariadb}
8ddd42
%{!?scl:%global pkg_name %{name}}
8ddd42
8ddd42
# Prefix that is used for patches
8ddd42
%global pkgnamepatch mariadb
8ddd42
8ddd42
# Regression tests may take a long time (many cores recommended), skip them by
8ddd42
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
8ddd42
# --nocheck is not possible (e.g. in koji build)
8ddd42
%{!?runselftest:%global runselftest 1}
8ddd42
8ddd42
# Set this to 1 to see which tests fail
8ddd42
%global check_testsuite 0
8ddd42
8ddd42
# In f20+ use unversioned docdirs, otherwise the old versioned one
8ddd42
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
8ddd42
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
8ddd42
8ddd42
# Use Full RELRO for all binaries (RHBZ#1092548)
8ddd42
%global _hardened_build 1
8ddd42
8ddd42
# By default, patch(1) creates backup files when chunks apply with offsets.
8ddd42
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
8ddd42
%global _default_patch_flags --no-backup-if-mismatch
8ddd42
8ddd42
# TokuDB engine is now part of MariaDB, but it is available only for x86_64;
8ddd42
# variable tokudb allows to build with TokuDB storage engine
8ddd42
# Temporarily disabled in F21+ for https://mariadb.atlassian.net/browse/MDEV-6446
8ddd42
%if 0%{?scl:1}
8ddd42
%bcond_with tokudb
8ddd42
%else
8ddd42
%ifarch x86_64
8ddd42
%bcond_without tokudb
8ddd42
%else
8ddd42
%bcond_with tokudb
8ddd42
%endif
8ddd42
%endif
8ddd42
8ddd42
# Mroonga engine is now part of MariaDB, but it only builds for x86_64;
8ddd42
# variable mroonga allows to build with Mroonga storage engine
8ddd42
%if 0%{?scl:1}
8ddd42
%bcond_with mroonga
8ddd42
%else
8ddd42
%ifarch x86_64 i686
8ddd42
%bcond_without mroonga
8ddd42
%else
8ddd42
%bcond_with mroonga
8ddd42
%endif
8ddd42
%endif
8ddd42
8ddd42
# The Open Query GRAPH engine (OQGRAPH) is a computation engine allowing
8ddd42
# hierarchies and more complex graph structures to be handled in a relational
8ddd42
# fashion; enabled by default
8ddd42
%bcond_without oqgraph
8ddd42
8ddd42
# For some use cases we do not need some parts of the package
8ddd42
%bcond_without devel
8ddd42
%bcond_without client
8ddd42
%bcond_without common
8ddd42
%bcond_without errmsg
8ddd42
%bcond_without bench
8ddd42
%bcond_without test
8ddd42
8ddd42
%if 0%{?scl:1}
8ddd42
%bcond_with embedded
8ddd42
%bcond_with clibrary
8ddd42
%bcond_with connect
8ddd42
%else
8ddd42
%bcond_without clibrary
8ddd42
%bcond_without embedded
8ddd42
%bcond_without connect
8ddd42
%endif
8ddd42
8ddd42
# When there is already another package that ships /etc/my.cnf,
8ddd42
# rather include it than ship the file again, since conflicts between
8ddd42
# those files may create issues
8ddd42
%bcond_without config
8ddd42
8ddd42
# For deep debugging we need to build binaries with extra debug info
8ddd42
%bcond_with debug
8ddd42
8ddd42
# Include files for SysV init or systemd
8ddd42
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
8ddd42
%bcond_without init_systemd
8ddd42
%bcond_with init_sysv
8ddd42
%global daemon_name %{?scl_prefix}%{pkg_name}
8ddd42
%global daemon_no_prefix %{pkg_name}
8ddd42
%if ! 0%{?scl:1}
8ddd42
%global mysqld_pid_dir mysqld
8ddd42
%endif
8ddd42
%else
8ddd42
%bcond_with init_systemd
8ddd42
%bcond_without init_sysv
8ddd42
%global daemon_name %{?scl:%{?scl_prefix}%{pkg_name}}%{!?scl:mysqld}
8ddd42
%global daemon_no_prefix %{?scl:%{pkg_name}}%{!?scl:mysqld}
8ddd42
%endif
8ddd42
8ddd42
# MariaDB 10.0 and later requires pcre >= 8.35, otherwise we need to use
8ddd42
# the bundled library, since the package cannot be build with older version
8ddd42
%if 0%{?fedora} >= 21
8ddd42
%bcond_without pcre
8ddd42
%else
8ddd42
%bcond_with pcre
8ddd42
%endif
8ddd42
8ddd42
# Define where to get propper SELinux context
8ddd42
# and define names and locations specific for the whole collection
8ddd42
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 15
8ddd42
%{?scl:%global se_daemon_source %{_unitdir}/mariadb}
8ddd42
%{?scl:%global se_log_source %{?_root_localstatedir}/log/mariadb}
8ddd42
%global daemondir %{_unitdir}
8ddd42
%else
8ddd42
%{?scl:%global se_daemon_source %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rc.d/init.d/mysqld}
8ddd42
%{?scl:%global se_log_source %{?_root_localstatedir}/log/mysql}
8ddd42
%global daemondir %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rc.d/init.d
8ddd42
%endif
8ddd42
%if ! 0%{?scl:1} || 0%{?nfsmountable:1}
8ddd42
%global logfiledir %{_localstatedir}/log/mariadb
8ddd42
%global dbdatadir %{_localstatedir}/lib/mysql
8ddd42
%else
8ddd42
%global logfiledir %{?_root_localstatedir}/log/%{?scl_prefix}mariadb
8ddd42
%global dbdatadir %{?_scl_root}/var/lib/mysql
8ddd42
%endif
8ddd42
8ddd42
# Directory for storing pid file
8ddd42
%global pidfiledir %{?scl:%{_root_localstatedir}}%{!?scl:%{_localstatedir}}/run/%{daemon_name}
8ddd42
8ddd42
# We define some system's well known locations here so we can use them easily
8ddd42
# later when building to another location (like SCL)
8ddd42
%global logrotateddir %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d
8ddd42
%global logfile %{logfiledir}/%{daemon_no_prefix}.log
8ddd42
8ddd42
# Home directory of mysql user should be same for all packages that create it
8ddd42
%global mysqluserhome /var/lib/mysql
8ddd42
8ddd42
# The evr of mysql we want to obsolete
8ddd42
%if ! 0%{?scl:1}
8ddd42
%global obsoleted_mysql_evr 5.6-0
8ddd42
%global obsoleted_mysql_case_evr 5.5.30-5
8ddd42
%endif
8ddd42
8ddd42
# Provide mysql names for compatibility
8ddd42
%if 0%{?scl:1}
8ddd42
%bcond_with mysql_names
8ddd42
%bcond_with conflicts
8ddd42
%else
8ddd42
%bcond_without mysql_names
8ddd42
%bcond_without conflicts
8ddd42
%endif
8ddd42
8ddd42
# Make long macros shorter
8ddd42
%global sameevr   %{epoch}:%{version}-%{release}
8ddd42
%global compatver 10.0
c8f03d
%global bugfixver 20
8ddd42
8ddd42
%if 0%{?scl:1}
8ddd42
%global scl_upper %{lua:print(string.upper(string.gsub(rpm.expand("%{scl}"), "-", "_")))}
8ddd42
%endif
8ddd42
8ddd42
Name:             %{?scl_prefix}mariadb
8ddd42
Version:          %{compatver}.%{bugfixver}
c8f03d
Release:          1%{?with_debug:.debug}%{?dist}
8ddd42
Epoch:            1
8ddd42
8ddd42
Summary:          A community developed branch of MySQL
8ddd42
Group:            Applications/Databases
8ddd42
URL:              http://mariadb.org
8ddd42
# Exceptions allow client libraries to be linked with most open source SW,
8ddd42
# not only GPL code.  See README.mysql-license
8ddd42
License:          GPLv2 with exceptions and LGPLv2 and BSD
8ddd42
8ddd42
Source0:          http://mirrors.syringanetworks.net/mariadb/mariadb-%{version}/source/mariadb-%{version}.tar.gz
8ddd42
Source2:          mysql_config_multilib.sh
8ddd42
Source3:          my.cnf.in
8ddd42
Source4:          my_config.h
8ddd42
Source5:          README.mysql-cnf
8ddd42
Source6:          README.mysql-docs
8ddd42
Source7:          README.mysql-license
8ddd42
Source9:          mysql-embedded-check.c
8ddd42
Source10:         mysql.tmpfiles.d.in
8ddd42
Source11:         mysql.service.in
8ddd42
Source12:         mysql-prepare-db-dir.sh
8ddd42
Source13:         mysql-wait-ready.sh
8ddd42
Source14:         mysql-check-socket.sh
8ddd42
Source15:         mysql-scripts-common.sh
8ddd42
Source16:         mysql-check-upgrade.sh
8ddd42
Source17:         mysql-wait-stop.sh
8ddd42
Source19:         mysql.init.in
8ddd42
Source40:         daemon-scl-helper.sh
8ddd42
Source50:         rh-skipped-tests-base.list
8ddd42
Source51:         rh-skipped-tests-arm.list
8ddd42
Source52:         rh-skipped-tests-ppc-s390.list
8ddd42
8ddd42
# Comments for these patches are in the patch files
8ddd42
# Patches common for more mysql-like packages
8ddd42
Patch1:           %{pkgnamepatch}-strmov.patch
8ddd42
Patch2:           %{pkgnamepatch}-install-test.patch
8ddd42
Patch3:           %{pkgnamepatch}-s390-tsc.patch
8ddd42
Patch4:           %{pkgnamepatch}-logrotate.patch
8ddd42
Patch5:           %{pkgnamepatch}-file-contents.patch
8ddd42
Patch7:           %{pkgnamepatch}-scripts.patch
8ddd42
Patch8:           %{pkgnamepatch}-install-db-sharedir.patch
8ddd42
Patch9:           %{pkgnamepatch}-ownsetup.patch
8ddd42
Patch10:          %{pkgnamepatch}-noclientlib.patch
8ddd42
Patch12:          %{pkgnamepatch}-admincrash.patch
8ddd42
8ddd42
# Patches specific for this mysql package
8ddd42
Patch30:          %{pkgnamepatch}-errno.patch
8ddd42
Patch31:          %{pkgnamepatch}-string-overflow.patch
8ddd42
Patch32:          %{pkgnamepatch}-basedir.patch
8ddd42
Patch33:          %{pkgnamepatch}-covscan-signexpr.patch
8ddd42
Patch34:          %{pkgnamepatch}-covscan-stroverflow.patch
8ddd42
Patch37:          %{pkgnamepatch}-notestdb.patch
8ddd42
8ddd42
# Patches specific for scl
8ddd42
Patch90:          %{pkgnamepatch}-scl-env-check.patch
8ddd42
8ddd42
BuildRequires:    cmake
8ddd42
BuildRequires:    libaio-devel
8ddd42
BuildRequires:    openssl-devel
8ddd42
BuildRequires:    ncurses-devel
8ddd42
BuildRequires:    perl
8ddd42
BuildRequires:    systemtap-sdt-devel
8ddd42
BuildRequires:    zlib-devel
8ddd42
# auth_pam.so plugin will be build if pam-devel is installed
8ddd42
BuildRequires:    pam-devel
8ddd42
%{?with_pcre:BuildRequires: pcre-devel >= 8.35}
8ddd42
# Tests requires time and ps and some perl modules
8ddd42
BuildRequires:    procps
8ddd42
BuildRequires:    time
8ddd42
BuildRequires:    perl(Env)
8ddd42
BuildRequires:    perl(Exporter)
8ddd42
BuildRequires:    perl(Fcntl)
8ddd42
BuildRequires:    perl(File::Temp)
8ddd42
BuildRequires:    perl(Data::Dumper)
8ddd42
BuildRequires:    perl(Getopt::Long)
8ddd42
BuildRequires:    perl(IPC::Open3)
8ddd42
BuildRequires:    perl(Socket)
8ddd42
BuildRequires:    perl(Sys::Hostname)
8ddd42
BuildRequires:    perl(Test::More)
8ddd42
BuildRequires:    perl(Time::HiRes)
8ddd42
# for running some openssl tests rhbz#1189180
8ddd42
BuildRequires:    openssl
8ddd42
%{?with_init_systemd:BuildRequires: systemd}
8ddd42
8ddd42
Requires:         bash
8ddd42
Requires:         fileutils
8ddd42
Requires:         grep
8ddd42
Requires:         %{name}-common%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql = %{sameevr}
8ddd42
Provides:         mysql%{?_isa} = %{sameevr}
8ddd42
Provides:         mysql-compat-client = %{sameevr}
8ddd42
Provides:         mysql-compat-client%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
8ddd42
# MySQL (with caps) is upstream's spelling of their own RPMs for mysql
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql < %{obsoleted_mysql_evr}}
8ddd42
%{?with_conflicts:Conflicts:        community-mysql}
8ddd42
8ddd42
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
8ddd42
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
8ddd42
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
8ddd42
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so)$
8ddd42
%else
8ddd42
%filter_from_requires /perl(\(hostnames\|lib::mtr\|lib::v1\|mtr_\|My::\)/d
8ddd42
%filter_provides_in -P (%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\.so)
8ddd42
%filter_setup
8ddd42
%endif
8ddd42
8ddd42
%description
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server.
8ddd42
It is a client/server implementation consisting of a server daemon (mysqld)
8ddd42
and many different client programs and libraries. The base package
8ddd42
contains the standard MariaDB/MySQL client programs and generic MySQL files.
8ddd42
8ddd42
8ddd42
%if %{with clibrary}
8ddd42
%package          libs
8ddd42
Summary:          The shared libraries required for MariaDB/MySQL clients
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}-common%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-libs = %{sameevr}
8ddd42
Provides:         mysql-libs%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-libs < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-libs < %{obsoleted_mysql_evr}}
8ddd42
8ddd42
%description      libs
8ddd42
The mariadb-libs package provides the essential shared libraries for any
8ddd42
MariaDB/MySQL client program or interface. You will need to install this
8ddd42
package to use any other MariaDB package or any clients that need to connect
8ddd42
to a MariaDB/MySQL server. MariaDB is a community developed branch of MySQL.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with config}
8ddd42
%package          config
8ddd42
Summary:          The config files required by server and client
8ddd42
Group:            Applications/Databases
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
8ddd42
%description      config
8ddd42
The package provides the config file my.cnf and my.cnf.d directory used by any
8ddd42
MariaDB or MySQL program. You will need to install this package to use any
8ddd42
other MariaDB or MySQL package if the config files are not provided in the
8ddd42
package itself.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with common}
8ddd42
%package          common
8ddd42
Summary:          The shared files required by server and client
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{_sysconfdir}/my.cnf
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
8ddd42
%description      common
8ddd42
The package provides the essential shared files for any MariaDB program.
8ddd42
You will need to install this package to use any other MariaDB package.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with errmsg}
8ddd42
%package          errmsg
8ddd42
Summary:          The error messages files required by server and embedded
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}-common%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
8ddd42
%description      errmsg
8ddd42
The package provides error messages files for the MariaDB daemon and the
8ddd42
embedded server. You will need to install this package to use any of those
8ddd42
MariaDB packages.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%package          server
8ddd42
Summary:          The MariaDB server and related files
8ddd42
Group:            Applications/Databases
8ddd42
8ddd42
# note: no version here = %%{version}-%%{release}
8ddd42
%if %{with mysql_names}
8ddd42
Requires:         mysql-compat-client%{?_isa}
8ddd42
Requires:         mysql%{?_isa}
8ddd42
%else
8ddd42
Requires:         %{name}%{?_isa}
8ddd42
%endif
8ddd42
Requires:         %{name}-common%{?_isa} = %{sameevr}
8ddd42
Requires:         %{_sysconfdir}/my.cnf
8ddd42
Requires:         %{_sysconfdir}/my.cnf.d
8ddd42
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
8ddd42
Requires:         sh-utils
8ddd42
Requires(pre):    /usr/sbin/useradd
8ddd42
%if %{with init_systemd}
8ddd42
# We require this to be present for %%{_tmpfilesdir}
8ddd42
Requires:         systemd
8ddd42
# Make sure it's there when scriptlets run, too
8ddd42
Requires(pre):    systemd
8ddd42
Requires(posttrans): systemd
8ddd42
%{?systemd_requires: %systemd_requires}
8ddd42
%endif
8ddd42
# mysqlhotcopy needs DBI/DBD support
8ddd42
Requires:         perl(DBI)
8ddd42
Requires:         perl(DBD::mysql)
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%{?scl:Requires:%{_root_bindir}/scl_source}
8ddd42
%{?scl:Requires(post): policycoreutils-python libselinux-utils}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-server = %{sameevr}
8ddd42
Provides:         mysql-server%{?_isa} = %{sameevr}
8ddd42
Provides:         mysql-compat-server = %{sameevr}
8ddd42
Provides:         mysql-compat-server%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-server < %{obsoleted_mysql_case_evr}}
8ddd42
%{?with_conflicts:Conflicts:        community-mysql-server}
8ddd42
%{?with_conflicts:Conflicts:        mariadb-galera-server}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-server < %{obsoleted_mysql_evr}}
8ddd42
8ddd42
%description      server
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server. It is a
8ddd42
client/server implementation consisting of a server daemon (mysqld)
8ddd42
and many different client programs and libraries. This package contains
8ddd42
the MariaDB server and some accompanying files and directories.
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
8ddd42
8ddd42
%if %{with oqgraph}
8ddd42
%package          oqgraph-engine
8ddd42
Summary:          The Open Query GRAPH engine for MariaDB
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}-server%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
# boost and Judy required for oograph
8ddd42
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
8ddd42
BuildRequires:    boost-devel
8ddd42
%else
8ddd42
BuildRequires:    %{?scl_prefix}boost-devel
8ddd42
%endif
8ddd42
BuildRequires:    %{?scl_prefix}Judy-devel
8ddd42
8ddd42
%description      oqgraph-engine
8ddd42
The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB
8ddd42
database server. OQGRAPH is a computation engine allowing hierarchies and more
8ddd42
complex graph structures to be handled in a relational fashion. In a nutshell,
8ddd42
tree structures and friend-of-a-friend style searches can now be done using
8ddd42
standard SQL syntax, and results joined onto other tables.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with connect}
8ddd42
%package          connect-engine
8ddd42
Summary:          The CONNECT storage engine for MariaDB
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}-server%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
8ddd42
%description      connect-engine
8ddd42
The CONNECT storage engine enables MariaDB to access external local or
8ddd42
remote data (MED). This is done by defining tables based on different data
8ddd42
types, in particular files in various formats, data extracted from other DBMS
8ddd42
or products (such as Excel), or data retrieved from the environment
8ddd42
(for example DIR, WMI, and MAC tables).
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with devel}
8ddd42
%package          devel
8ddd42
Summary:          Files for development of MariaDB/MySQL applications
8ddd42
Group:            Applications/Databases
8ddd42
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
8ddd42
Requires:         openssl-devel%{?_isa}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-devel = %{sameevr}
8ddd42
Provides:         mysql-devel%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-devel < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-devel < %{obsoleted_mysql_evr}}
8ddd42
%{?with_conflicts:Conflicts:        community-mysql-devel}
8ddd42
8ddd42
%description      devel
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server. This
8ddd42
package contains the libraries and header files that are needed for
8ddd42
developing MariaDB/MySQL client applications.
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with embedded}
8ddd42
%package          embedded
8ddd42
Summary:          MariaDB as an embeddable library
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}-common%{?_isa} = %{sameevr}
8ddd42
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-embedded = %{sameevr}
8ddd42
Provides:         mysql-embedded%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-embedded < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-embedded < %{obsoleted_mysql_evr}}
8ddd42
8ddd42
%description      embedded
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server. This
8ddd42
package contains a version of the MariaDB server that can be embedded
8ddd42
into a client application instead of running as a separate process.
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
8ddd42
8ddd42
%package          embedded-devel
8ddd42
Summary:          Development files for MariaDB as an embeddable library
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}-embedded%{?_isa} = %{sameevr}
8ddd42
Requires:         %{name}-devel%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-embedded-devel = %{sameevr}
8ddd42
Provides:         mysql-embedded-devel%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?with_conflicts:Conflicts:        community-mysql-embedded-devel}
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-embedded-devel < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-embedded-devel < %{obsoleted_mysql_evr}}
8ddd42
8ddd42
%description      embedded-devel
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server. This
8ddd42
package contains files needed for developing and testing with
8ddd42
the embedded version of the MariaDB server.
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with bench}
8ddd42
%package          bench
8ddd42
Summary:          MariaDB benchmark scripts and data
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}%{?_isa} = %{sameevr}
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-bench = %{sameevr}
8ddd42
Provides:         mysql-bench%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?with_conflicts:Conflicts:        community-mysql-bench}
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-bench < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-bench < %{obsoleted_mysql_evr}}
8ddd42
8ddd42
%description      bench
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server. This
8ddd42
package contains benchmark scripts and data for use when benchmarking
8ddd42
MariaDB.
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
%endif
8ddd42
8ddd42
8ddd42
%if %{with test}
8ddd42
%package          test
8ddd42
Summary:          The test suite distributed with MariaD
8ddd42
Group:            Applications/Databases
8ddd42
Requires:         %{name}%{?_isa} = %{sameevr}
8ddd42
Requires:         %{name}-common%{?_isa} = %{sameevr}
8ddd42
Requires:         %{name}-server%{?_isa} = %{sameevr}
8ddd42
Requires:         perl(Env)
8ddd42
Requires:         perl(Exporter)
8ddd42
Requires:         perl(Fcntl)
8ddd42
Requires:         perl(File::Temp)
8ddd42
Requires:         perl(Data::Dumper)
8ddd42
Requires:         perl(Getopt::Long)
8ddd42
Requires:         perl(IPC::Open3)
8ddd42
Requires:         perl(Socket)
8ddd42
Requires:         perl(Sys::Hostname)
8ddd42
Requires:         perl(Test::More)
8ddd42
Requires:         perl(Time::HiRes)
8ddd42
%{?scl:Requires:%scl_runtime}
8ddd42
%{?with_conflicts:Conflicts:        community-mysql-test}
8ddd42
%if %{with mysql_names}
8ddd42
Provides:         mysql-test = %{sameevr}
8ddd42
Provides:         mysql-test%{?_isa} = %{sameevr}
8ddd42
%endif
8ddd42
%{?obsoleted_mysql_case_evr:Obsoletes: MySQL-test < %{obsoleted_mysql_case_evr}}
8ddd42
%{?obsoleted_mysql_evr:Obsoletes: mysql-test < %{obsoleted_mysql_evr}}
8ddd42
8ddd42
%description      test
8ddd42
MariaDB is a multi-user, multi-threaded SQL database server. This
8ddd42
package contains the regression test suite distributed with
8ddd42
the MariaDB sources.
8ddd42
MariaDB is a community developed branch of MySQL.
8ddd42
%endif
8ddd42
8ddd42
%prep
8ddd42
%setup -q -n mariadb-%{version}
8ddd42
8ddd42
%patch1 -p1
8ddd42
%patch2 -p1
8ddd42
%patch3 -p1
8ddd42
%patch4 -p1
8ddd42
%patch5 -p1
8ddd42
%patch7 -p1
8ddd42
%patch8 -p1
8ddd42
%patch9 -p1
8ddd42
%patch10 -p1
8ddd42
%patch12 -p1
8ddd42
%patch30 -p1
8ddd42
%patch31 -p1
8ddd42
%patch32 -p1
8ddd42
%patch33 -p1
8ddd42
%patch34 -p1
8ddd42
%patch37 -p1
8ddd42
8ddd42
# removing bundled cmd-line-utils is now disabled
8ddd42
# we cannot use libedit due #1201988
8ddd42
# rm -r cmd-line-utils
8ddd42
8ddd42
sed -i -e 's/2.8.7/2.6.4/g' cmake/cpack_rpm.cmake
8ddd42
8ddd42
# workaround for upstream bug #56342
8ddd42
rm -f mysql-test/t/ssl_8k_key-master.opt
8ddd42
8ddd42
# generate a list of tests that fail, but are not disabled by upstream
8ddd42
cat %{SOURCE50} | tee mysql-test/rh-skipped-tests.list
8ddd42
8ddd42
# disable some tests failing on different architectures
8ddd42
%ifarch %{arm} aarch64
8ddd42
cat %{SOURCE51} | tee -a mysql-test/rh-skipped-tests.list
8ddd42
%endif
8ddd42
8ddd42
%ifarch ppc ppc64 ppc64p7 s390 s390x
8ddd42
cat %{SOURCE52} | tee -a mysql-test/rh-skipped-tests.list
8ddd42
%endif
8ddd42
8ddd42
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} \
8ddd42
   %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE19} \
8ddd42
   scripts
8ddd42
8ddd42
%if 0%{?scl:1}
8ddd42
%patch90 -p1
8ddd42
%endif
8ddd42
8ddd42
%build
8ddd42
8ddd42
# fail quickly and obviously if user tries to build as root
8ddd42
%if %runselftest
8ddd42
    if [ x"$(id -u)" = "x0" ]; then
8ddd42
        echo "mysql's regression tests fail if run as root."
8ddd42
        echo "If you really need to build the RPM as root, use"
8ddd42
        echo "--nocheck to skip the regression tests."
8ddd42
        exit 1
8ddd42
    fi
8ddd42
%endif
8ddd42
8ddd42
%{?scl:scl enable %{scl} - << "EOF"}
8ddd42
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
8ddd42
# force PIC mode so that we can build libmysqld.so
8ddd42
CFLAGS="$CFLAGS -fPIC"
8ddd42
# GCC 4.9 causes segfaults: https://mariadb.atlassian.net/browse/MDEV-6360
8ddd42
CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
8ddd42
# gcc seems to have some bugs on sparc as of 4.4.1, back off optimization
8ddd42
# submitted as bz #529298
8ddd42
%ifarch sparc sparcv9 sparc64
8ddd42
CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
8ddd42
%endif
8ddd42
# significant performance gains can be achieved by compiling with -O3 optimization
8ddd42
# rhbz#1051069
8ddd42
%ifarch ppc64
8ddd42
CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O3|g" `
8ddd42
%endif
8ddd42
CXXFLAGS="$CFLAGS"
8ddd42
export CFLAGS CXXFLAGS
8ddd42
8ddd42
%if 0%{?_hardened_build}
8ddd42
# building with PIE
8ddd42
LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now"
8ddd42
export LDFLAGS
8ddd42
%endif
8ddd42
8ddd42
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
8ddd42
# so we can't use %%{_datadir} and so forth here.
8ddd42
%cmake . \
8ddd42
         -DBUILD_CONFIG=mysql_release \
8ddd42
         -DFEATURE_SET="community" \
8ddd42
         -DWITH_READLINE=ON \
8ddd42
         -DINSTALL_LAYOUT=RPM \
8ddd42
         -DDAEMON_NAME="%{daemon_name}" \
8ddd42
         -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
8ddd42
%if 0%{?scl:1}
8ddd42
         -DSCL_NAME="%{?scl}" \
8ddd42
         -DSCL_NAME_UPPER="%{?scl_upper}" \
8ddd42
         -DSCL_SCRIPTS="%{?_scl_scripts}" \
8ddd42
%endif
8ddd42
         -DLOG_LOCATION="%{logfile}" \
8ddd42
         -DPID_FILE_DIR="%{pidfiledir}" \
8ddd42
         -DNICE_PROJECT_NAME="MariaDB" \
8ddd42
         -DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora%{fedora}}" \
8ddd42
         -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
8ddd42
         -DINSTALL_SYSCONFDIR="%{_sysconfdir}" \
8ddd42
         -DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
8ddd42
         -DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
8ddd42
         -DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
8ddd42
         -DINSTALL_INCLUDEDIR=include/mysql \
8ddd42
         -DINSTALL_INFODIR=share/info \
8ddd42
         -DINSTALL_LIBDIR="%{_lib}/mysql" \
8ddd42
         -DINSTALL_MANDIR=share/man \
8ddd42
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
8ddd42
         -DINSTALL_MYSQLTESTDIR=share/mysql-test \
8ddd42
         -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
8ddd42
         -DINSTALL_SBINDIR=libexec \
8ddd42
         -DINSTALL_SCRIPTDIR=bin \
8ddd42
         -DINSTALL_SQLBENCHDIR=share \
8ddd42
         -DINSTALL_SUPPORTFILESDIR=share/%{pkg_name} \
8ddd42
         -DMYSQL_DATADIR="%{dbdatadir}" \
8ddd42
         -DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
8ddd42
         -DENABLED_LOCAL_INFILE=ON \
8ddd42
         -DENABLE_DTRACE=ON \
8ddd42
         -DWITH_EMBEDDED_SERVER=ON \
8ddd42
         -DWITH_SSL=system \
8ddd42
         -DWITH_ZLIB=system \
8ddd42
%{?with_pcre: -DWITH_PCRE=system}\
8ddd42
         -DWITH_JEMALLOC=no \
8ddd42
%{!?with_tokudb: -DWITHOUT_TOKUDB=ON}\
8ddd42
%{!?with_mroonga: -DWITHOUT_MROONGA=ON}\
8ddd42
         -DTMPDIR=/var/tmp \
8ddd42
%{?with_debug: -DCMAKE_BUILD_TYPE=Debug}\
8ddd42
         %{?_hardened_build:-DWITH_MYSQLD_LDFLAGS="-pie -Wl,-z,relro,-z,now"}
8ddd42
8ddd42
make %{?_smp_mflags} VERBOSE=1
8ddd42
%{?scl:EOF}
8ddd42
8ddd42
# debuginfo extraction scripts fail to find source files in their real
8ddd42
# location -- satisfy them by copying these files into location, which
8ddd42
# is expected by scripts
8ddd42
for e in innobase xtradb ; do
8ddd42
  for f in pars0grm.y pars0lex.l ; do
8ddd42
    cp -p "storage/$e/pars/$f" "storage/$e/$f"
8ddd42
  done
8ddd42
done
8ddd42
8ddd42
%install
8ddd42
%{?scl:scl enable %{scl} - << "EOF"}
8ddd42
make DESTDIR=%{buildroot} install
8ddd42
%{?scl:EOF}
8ddd42
8ddd42
# cmake generates some completely wacko references to -lprobes_mysql when
8ddd42
# building with dtrace support.  Haven't found where to shut that off,
8ddd42
# so resort to this blunt instrument.  While at it, let's not reference
8ddd42
# libmysqlclient_r anymore either.
8ddd42
sed -e 's/-lprobes_mysql//' -e 's/-lmysqlclient_r/-lmysqlclient/' \
8ddd42
  %{buildroot}%{_bindir}/mysql_config >mysql_config.tmp
8ddd42
cp -p -f mysql_config.tmp %{buildroot}%{_bindir}/mysql_config
8ddd42
chmod 755 %{buildroot}%{_bindir}/mysql_config
8ddd42
8ddd42
# multilib header support
8ddd42
# we only apply this to known Red Hat multilib arches, per bug #181335
8ddd42
unamei=$(uname -i)
8ddd42
%ifarch %{arm}
8ddd42
unamei=arm
8ddd42
%endif
8ddd42
%ifarch %{power64}
8ddd42
unamei=ppc64
8ddd42
%endif
8ddd42
%ifarch %{arm} aarch64 %{ix86} x86_64 ppc %{power64} %{sparc} s390 s390x
8ddd42
mv %{buildroot}%{_includedir}/mysql/my_config.h %{buildroot}%{_includedir}/mysql/my_config_${unamei}.h
8ddd42
mv %{buildroot}%{_includedir}/mysql/private/config.h %{buildroot}%{_includedir}/mysql/private/my_config_${unamei}.h
8ddd42
install -p -m 644 %{SOURCE4} %{buildroot}%{_includedir}/mysql/
8ddd42
install -p -m 644 %{SOURCE4} %{buildroot}%{_includedir}/mysql/private/config.h
8ddd42
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
8ddd42
install -p -m 0755 scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
8ddd42
%endif
8ddd42
8ddd42
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
8ddd42
# but that's pretty wacko --- see also %%{name}-file-contents.patch)
8ddd42
install -p -m 644 Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
8ddd42
install -p -m 644 Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
8ddd42
rm -rf %{buildroot}%{_pkgdocdir}/MariaDB-server-%{version}/
8ddd42
8ddd42
mkdir -p %{buildroot}%{logfiledir}
8ddd42
chmod 0750 %{buildroot}%{logfiledir}
8ddd42
touch %{buildroot}%{logfile}
8ddd42
8ddd42
# current setting in my.cnf is to use /var/run/mariadb for creating pid file,
8ddd42
# however since my.cnf is not updated by RPM if changed, we need to create mysqld
8ddd42
# as well because users can have odd settings in their /etc/my.cnf
8ddd42
mkdir -p %{buildroot}%{pidfiledir}
8ddd42
install -p -m 0755 -d %{buildroot}%{dbdatadir}
8ddd42
8ddd42
# create directory for socket
8ddd42
%{?scl:install -p -m 0755 -d %{buildroot}/var/lib/mysql}
8ddd42
8ddd42
%if %{with config}
8ddd42
install -D -p -m 0644 scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
8ddd42
%else
8ddd42
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/mysql-clients.cnf
8ddd42
rm -f %{buildroot}%{_sysconfdir}/my.cnf
8ddd42
%endif
8ddd42
8ddd42
# use different config file name for each variant of server
8ddd42
mv %{buildroot}%{_sysconfdir}/my.cnf.d/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
8ddd42
8ddd42
# install systemd unit files and scripts for handling server startup
8ddd42
%if %{with init_systemd}
8ddd42
install -D -p -m 644 scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
8ddd42
install -D -p -m 0644 scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{name}.conf
8ddd42
%if 0%{?mysqld_pid_dir:1}
8ddd42
echo "d %{_root_localstatedir}/run/%{mysqld_pid_dir} 0755 mysql mysql -" >>%{buildroot}%{_tmpfilesdir}/%{name}.conf
8ddd42
%endif
8ddd42
%endif
8ddd42
8ddd42
# install SysV init script
8ddd42
%if %{with init_sysv}
8ddd42
install -D -p -m 755 scripts/mysql.init %{buildroot}%{daemondir}/%{daemon_name}
8ddd42
%endif
8ddd42
8ddd42
# helper scripts for service starting
8ddd42
install -p -m 755 scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
8ddd42
install -p -m 755 scripts/mysql-wait-ready %{buildroot}%{_libexecdir}/mysql-wait-ready
8ddd42
install -p -m 755 scripts/mysql-wait-stop %{buildroot}%{_libexecdir}/mysql-wait-stop
8ddd42
install -p -m 755 scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
8ddd42
install -p -m 755 scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade
8ddd42
install -p -m 644 scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
8ddd42
8ddd42
# daemon helper for fixing SELinux in systemd
8ddd42
%if %{with init_systemd} && 0%{?scl:1}
8ddd42
install -p -m 755 %{SOURCE40} %{buildroot}%{_libexecdir}/mysqld_safe-scl-helper
8ddd42
%endif
8ddd42
8ddd42
# Remove libmysqld.a
8ddd42
rm -f %{buildroot}%{_libdir}/mysql/libmysqld.a
8ddd42
8ddd42
# libmysqlclient_r is no more.  Upstream tries to replace it with symlinks
8ddd42
# but that really doesn't work (wrong soname in particular).  We'll keep
8ddd42
# just the devel libmysqlclient_r.so link, so that rebuilding without any
8ddd42
# source change is enough to get rid of dependency on libmysqlclient_r.
8ddd42
rm -f %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so*
8ddd42
ln -s libmysqlclient.so %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so
8ddd42
8ddd42
# mysql-test includes one executable that doesn't belong under /usr/share,
8ddd42
# so move it and provide a symlink
8ddd42
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
8ddd42
ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
8ddd42
8ddd42
# should move this to /etc/ ?
8ddd42
rm -f %{buildroot}%{_bindir}/mysql_embedded
8ddd42
rm -f %{buildroot}%{_libdir}/mysql/*.a
8ddd42
rm -f %{buildroot}%{_datadir}/%{pkg_name}/binary-configure
8ddd42
rm -f %{buildroot}%{_datadir}/%{pkg_name}/magic
8ddd42
rm -f %{buildroot}%{_datadir}/%{pkg_name}/ndb-config-2-node.ini
8ddd42
rm -f %{buildroot}%{_datadir}/%{pkg_name}/mysql.server
8ddd42
rm -f %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server
8ddd42
rm -f %{buildroot}%{_mandir}/man1/mysql-stress-test.pl.1*
8ddd42
rm -f %{buildroot}%{_mandir}/man1/mysql-test-run.pl.1*
8ddd42
rm -f %{buildroot}%{_bindir}/mytop
8ddd42
8ddd42
# put logrotate script where it needs to be
8ddd42
mkdir -p %{buildroot}%{logrotateddir}
8ddd42
mv %{buildroot}%{_datadir}/%{pkg_name}/mysql-log-rotate %{buildroot}%{logrotateddir}/%{daemon_name}
8ddd42
chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
8ddd42
8ddd42
%if %{with clibrary} && 0%{!?scl:1}
8ddd42
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
8ddd42
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
8ddd42
%endif
8ddd42
8ddd42
# copy additional docs into build tree so %%doc will find them
8ddd42
install -p -m 0644 %{SOURCE5} %{basename:%{SOURCE5}}
8ddd42
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
8ddd42
install -p -m 0644 %{SOURCE7} %{basename:%{SOURCE7}}
8ddd42
install -p -m 0644 %{SOURCE16} %{basename:%{SOURCE16}}
8ddd42
8ddd42
# install the list of skipped tests to be available for user runs
8ddd42
install -p -m 0644 mysql-test/rh-skipped-tests.list %{buildroot}%{_datadir}/mysql-test
8ddd42
8ddd42
# remove unneeded RHEL-4 SELinux stuff
8ddd42
rm -rf %{buildroot}%{_datadir}/%{pkg_name}/SELinux/
8ddd42
8ddd42
# remove SysV init script
8ddd42
rm -f %{buildroot}%{_sysconfdir}/init.d/mysql
8ddd42
8ddd42
# remove duplicate logrotate script
8ddd42
rm -f %{buildroot}%{_sysconfdir}/logrotate.d/mysql
8ddd42
8ddd42
# remove solaris files
8ddd42
rm -rf %{buildroot}%{_datadir}/%{pkg_name}/solaris/
8ddd42
8ddd42
%if %{without clibrary}
8ddd42
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
8ddd42
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so
8ddd42
rm -rf %{buildroot}%{_libdir}/mysql/libmysqlclient*.so.*
8ddd42
rm -rf %{buildroot}%{_sysconfdir}/ld.so.conf.d
8ddd42
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
8ddd42
%endif
8ddd42
8ddd42
%if %{without embedded}
8ddd42
rm -f %{buildroot}%{_libdir}/mysql/libmysqld.so*
8ddd42
rm -f %{buildroot}%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
8ddd42
rm -f %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
8ddd42
%endif
8ddd42
8ddd42
%if %{without devel}
8ddd42
rm -f %{buildroot}%{_bindir}/mysql_config*
8ddd42
rm -rf %{buildroot}%{_includedir}/mysql
8ddd42
rm -f %{buildroot}%{_datadir}/aclocal/mysql.m4
8ddd42
rm -f %{buildroot}%{_libdir}/mysql/libmysqlclient*.so
8ddd42
rm -f %{buildroot}%{_mandir}/man1/mysql_config.1*
8ddd42
%endif
8ddd42
8ddd42
%if %{without client}
8ddd42
rm -f %{buildroot}%{_bindir}/{msql2mysql,mysql,mysql_find_rows,\
8ddd42
mysql_plugin,mysql_waitpid,mysqlaccess,mysqladmin,mysqlbinlog,mysqlcheck,\
8ddd42
mysqldump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}
8ddd42
rm -f %{buildroot}%{_mandir}/man1/{msql2mysql,mysql,mysql_find_rows,\
8ddd42
mysql_plugin,mysql_waitpid,mysqlaccess,mysqladmin,mysqlbinlog,mysqlcheck,\
8ddd42
mysqldump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}.1*
8ddd42
%endif
8ddd42
8ddd42
%if %{without connect}
8ddd42
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/connect.cnf
8ddd42
%endif
8ddd42
8ddd42
%if %{without oqgraph}
8ddd42
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/oqgraph.cnf
8ddd42
%endif
8ddd42
8ddd42
%if %{without common}
8ddd42
rm -rf %{buildroot}%{_datadir}/%{pkg_name}/charsets
8ddd42
%endif
8ddd42
8ddd42
%if %{without errmsg}
8ddd42
rm -f %{buildroot}%{_datadir}/%{pkg_name}/errmsg-utf8.txt
8ddd42
rm -rf %{buildroot}%{_datadir}/%{pkg_name}/{english,czech,danish,dutch,estonian,\
8ddd42
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
8ddd42
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian}
8ddd42
%endif
8ddd42
8ddd42
%if %{without bench}
8ddd42
rm -rf %{buildroot}%{_datadir}/sql-bench
8ddd42
%endif
8ddd42
8ddd42
%if %{without test}
8ddd42
rm -f %{buildroot}%{_bindir}/{mysql_client_test,my_safe_process}
8ddd42
rm -rf %{buildroot}%{_datadir}/mysql-test
8ddd42
rm -f %{buildroot}%{_mandir}/man1/mysql_client_test.1*
8ddd42
%endif
8ddd42
8ddd42
%if 0%{?scl:1}
8ddd42
# generate a configuration file for daemon
8ddd42
cat << EOF | tee -a %{buildroot}%{?_scl_scripts}/service-environment
8ddd42
# Services are started in a fresh environment without any influence of user's
8ddd42
# environment (like environment variable values). As a consequence,
8ddd42
# information of all enabled collections will be lost during service start up.
8ddd42
# If user needs to run a service under any software collection enabled, this
8ddd42
# collection has to be written into %{scl_upper}_SCLS_ENABLED variable 
8ddd42
# in %{?_scl_scripts}/service-environment.
8ddd42
%{scl_upper}_SCLS_ENABLED="%{scl}"
8ddd42
EOF
8ddd42
%endif #scl
8ddd42
8ddd42
%check
8ddd42
%if %{with test}
8ddd42
%if %runselftest
8ddd42
%{?scl:scl enable %{scl} - << "EOF"}
8ddd42
# hack for https://mariadb.atlassian.net/browse/MDEV-7454
8ddd42
%{?with_init_sysv:LD_LIBRARY_PATH=$(pwd)/unittest/mytap }make test VERBOSE=1
8ddd42
# hack to let 32- and 64-bit tests run concurrently on same build machine
8ddd42
export MTR_PARALLEL=1
8ddd42
# builds might happen at the same host, avoid collision
8ddd42
export MTR_BUILD_THREAD=%{__isa_bits}
8ddd42
8ddd42
# The cmake build scripts don't provide any simple way to control the
8ddd42
# options for mysql-test-run, so ignore the make target and just call it
8ddd42
# manually.  Nonstandard options chosen are:
8ddd42
# --force to continue tests after a failure
8ddd42
# no retries please
8ddd42
# skip tests that are listed in rh-skipped-tests.list
8ddd42
# avoid redundant test runs with --binlog-format=mixed
8ddd42
# increase timeouts to prevent unwanted failures during mass rebuilds
8ddd42
(
8ddd42
  set -e
8ddd42
  cd mysql-test
c8f03d
  perl ./mysql-test-run.pl --force --retry=0 \
8ddd42
%if ! %{check_testsuite}
8ddd42
    --skip-test-list=rh-skipped-tests.list \
8ddd42
%endif
8ddd42
    --suite-timeout=720 --testcase-timeout=30 \
8ddd42
    --mysqld=--binlog-format=mixed --force-restart \
8ddd42
    --shutdown-timeout=60 --max-test-fail=0
8ddd42
  # cmake build scripts will install the var cruft if left alone :-(
8ddd42
  rm -rf var
8ddd42
)
8ddd42
%{?scl:EOF}
8ddd42
%endif
8ddd42
%endif
8ddd42
8ddd42
%pre server
8ddd42
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
8ddd42
/usr/sbin/useradd -M -N -g mysql -o -r -d %{mysqluserhome} -s /sbin/nologin \
8ddd42
  -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
8ddd42
8ddd42
%if %{with clibrary}
8ddd42
%post libs -p /sbin/ldconfig
8ddd42
%endif
8ddd42
8ddd42
%if %{with embedded}
8ddd42
%post embedded -p /sbin/ldconfig
8ddd42
%endif
8ddd42
8ddd42
%post server
8ddd42
%if 0%{?scl:1}
8ddd42
semanage fcontext -a -e "%{se_daemon_source}" "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
8ddd42
semanage fcontext -a -t mysqld_var_run_t "%{pidfiledir}" >/dev/null 2>&1 || :
8ddd42
# work-around for rhbz#1203991
8ddd42
semanage fcontext -a -t mysqld_etc_t '/etc/my\.cnf\.d/.*' >/dev/null 2>&1 || :
8ddd42
%if 0%{?rhel} <= 6
8ddd42
# work-around for rhbz#1194206
8ddd42
semanage fcontext -a -t mysqld_log_t '/var/log/mariadb(/.*)?' >/dev/null 2>&1 || :
8ddd42
%endif
8ddd42
%if %{with init_systemd}
8ddd42
# work-around for rhbz#1172683
8ddd42
semanage fcontext -a -t mysqld_safe_exec_t %{_root_libexecdir}/mysqld_safe-scl-helper >/dev/null 2>&1 || :
8ddd42
%endif
8ddd42
selinuxenabled && load_policy || :
8ddd42
restorecon -R "%{?_scl_root}/" >/dev/null 2>&1 || :
8ddd42
restorecon -R "%{_sysconfdir}" >/dev/null 2>&1 || :
8ddd42
restorecon -R "%{_localstatedir}" >/dev/null 2>&1 || :
8ddd42
restorecon -R "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
8ddd42
restorecon -R "%{pidfiledir}" >/dev/null 2>&1 || :
8ddd42
%endif
8ddd42
8ddd42
%if %{with init_systemd}
8ddd42
%systemd_post %{daemon_name}.service
8ddd42
%endif
8ddd42
%if %{with init_sysv}
8ddd42
if [ $1 = 1 ]; then
8ddd42
    /sbin/chkconfig --add %{daemon_name}
8ddd42
fi
8ddd42
%endif
8ddd42
8ddd42
%preun server
8ddd42
%if %{with init_systemd}
8ddd42
%systemd_preun %{daemon_name}.service
8ddd42
%endif
8ddd42
%if %{with init_sysv}
8ddd42
if [ $1 = 0 ]; then
8ddd42
    /sbin/service %{daemon_name} stop >/dev/null 2>&1
8ddd42
    /sbin/chkconfig --del %{daemon_name}
8ddd42
fi
8ddd42
%endif
8ddd42
8ddd42
%if %{with clibrary}
8ddd42
%postun libs -p /sbin/ldconfig
8ddd42
%endif
8ddd42
8ddd42
%if %{with embedded}
8ddd42
%postun embedded -p /sbin/ldconfig
8ddd42
%endif
8ddd42
8ddd42
%postun server
8ddd42
%if %{with init_systemd}
8ddd42
%systemd_postun_with_restart %{daemon_name}.service
8ddd42
%endif
8ddd42
%if %{with init_sysv}
8ddd42
if [ $1 -ge 1 ]; then
8ddd42
    /sbin/service %{daemon_name} condrestart >/dev/null 2>&1 || :
8ddd42
fi
8ddd42
%endif
8ddd42
8ddd42
%if %{with client}
8ddd42
%files
8ddd42
%{_bindir}/msql2mysql
8ddd42
%{_bindir}/mysql
8ddd42
%{_bindir}/mysql_find_rows
8ddd42
%{_bindir}/mysql_plugin
8ddd42
%{_bindir}/mysql_waitpid
8ddd42
%{_bindir}/mysqlaccess
8ddd42
%{_bindir}/mysqladmin
8ddd42
%{_bindir}/mysqlbinlog
8ddd42
%{_bindir}/mysqlcheck
8ddd42
%{_bindir}/mysqldump
8ddd42
%{_bindir}/mysqlimport
8ddd42
%{_bindir}/mysqlshow
8ddd42
%{_bindir}/mysqlslap
8ddd42
%{_bindir}/my_print_defaults
8ddd42
8ddd42
%{_mandir}/man1/msql2mysql.1*
8ddd42
%{_mandir}/man1/mysql.1*
8ddd42
%{_mandir}/man1/mysql_find_rows.1*
8ddd42
%{_mandir}/man1/mysql_plugin.1*
8ddd42
%{_mandir}/man1/mysql_waitpid.1*
8ddd42
%{_mandir}/man1/mysqlaccess.1*
8ddd42
%{_mandir}/man1/mysqladmin.1*
8ddd42
%{_mandir}/man1/mysqlbinlog.1*
8ddd42
%{_mandir}/man1/mysqlcheck.1*
8ddd42
%{_mandir}/man1/mysqldump.1*
8ddd42
%{_mandir}/man1/mysqlimport.1*
8ddd42
%{_mandir}/man1/mysqlshow.1*
8ddd42
%{_mandir}/man1/mysqlslap.1*
8ddd42
%{_mandir}/man1/my_print_defaults.1*
8ddd42
%endif
8ddd42
8ddd42
%if %{with clibrary}
8ddd42
%files libs
8ddd42
%{_libdir}/mysql/libmysqlclient.so.*
8ddd42
%{!?scl: %{_sysconfdir}/ld.so.conf.d/*}
8ddd42
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
8ddd42
%endif
8ddd42
8ddd42
%if %{with config}
8ddd42
%files config
8ddd42
# although the default my.cnf contains only server settings, we put it in the
8ddd42
# common package because it can be used for client settings too.
8ddd42
%dir %{_sysconfdir}/my.cnf.d
8ddd42
%config(noreplace) %{_sysconfdir}/my.cnf
8ddd42
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
8ddd42
%endif
8ddd42
8ddd42
%if %{with common}
8ddd42
%files common
8ddd42
%doc README COPYING COPYING.LESSER README.mysql-license README.mysql-docs
8ddd42
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
8ddd42
%dir %{_libdir}/mysql
8ddd42
%dir %{_libdir}/mysql/plugin
8ddd42
%dir %{_datadir}/%{pkg_name}
8ddd42
%{_libdir}/mysql/plugin/dialog.so
8ddd42
%{_libdir}/mysql/plugin/mysql_clear_password.so
8ddd42
%{_datadir}/%{pkg_name}/charsets
8ddd42
%endif
8ddd42
8ddd42
%if %{with errmsg}
8ddd42
%files errmsg
8ddd42
%{_datadir}/%{pkg_name}/errmsg-utf8.txt
8ddd42
%{_datadir}/%{pkg_name}/english
8ddd42
%lang(cs) %{_datadir}/%{pkg_name}/czech
8ddd42
%lang(da) %{_datadir}/%{pkg_name}/danish
8ddd42
%lang(nl) %{_datadir}/%{pkg_name}/dutch
8ddd42
%lang(et) %{_datadir}/%{pkg_name}/estonian
8ddd42
%lang(fr) %{_datadir}/%{pkg_name}/french
8ddd42
%lang(de) %{_datadir}/%{pkg_name}/german
8ddd42
%lang(el) %{_datadir}/%{pkg_name}/greek
8ddd42
%lang(hu) %{_datadir}/%{pkg_name}/hungarian
8ddd42
%lang(it) %{_datadir}/%{pkg_name}/italian
8ddd42
%lang(ja) %{_datadir}/%{pkg_name}/japanese
8ddd42
%lang(ko) %{_datadir}/%{pkg_name}/korean
8ddd42
%lang(no) %{_datadir}/%{pkg_name}/norwegian
8ddd42
%lang(no) %{_datadir}/%{pkg_name}/norwegian-ny
8ddd42
%lang(pl) %{_datadir}/%{pkg_name}/polish
8ddd42
%lang(pt) %{_datadir}/%{pkg_name}/portuguese
8ddd42
%lang(ro) %{_datadir}/%{pkg_name}/romanian
8ddd42
%lang(ru) %{_datadir}/%{pkg_name}/russian
8ddd42
%lang(sr) %{_datadir}/%{pkg_name}/serbian
8ddd42
%lang(sk) %{_datadir}/%{pkg_name}/slovak
8ddd42
%lang(es) %{_datadir}/%{pkg_name}/spanish
8ddd42
%lang(sv) %{_datadir}/%{pkg_name}/swedish
8ddd42
%lang(uk) %{_datadir}/%{pkg_name}/ukrainian
8ddd42
%endif
8ddd42
8ddd42
%files server
8ddd42
%doc README.mysql-cnf
8ddd42
8ddd42
%{_bindir}/aria_chk
8ddd42
%{_bindir}/aria_dump_log
8ddd42
%{_bindir}/aria_ftdump
8ddd42
%{_bindir}/aria_pack
8ddd42
%{_bindir}/aria_read_log
8ddd42
%{_bindir}/myisamchk
8ddd42
%{_bindir}/myisam_ftdump
8ddd42
%{_bindir}/myisamlog
8ddd42
%{_bindir}/myisampack
8ddd42
%{_bindir}/mysql_convert_table_format
8ddd42
%{_bindir}/mysql_fix_extensions
8ddd42
%{_bindir}/mysql_install_db
8ddd42
%{_bindir}/mysql_secure_installation
8ddd42
%{_bindir}/mysql_setpermission
8ddd42
%{_bindir}/mysql_tzinfo_to_sql
8ddd42
%{_bindir}/mysql_upgrade
8ddd42
%{_bindir}/mysql_zap
8ddd42
%{_bindir}/mysqlbug
8ddd42
%{_bindir}/mysqldumpslow
8ddd42
%{_bindir}/mysqld_multi
8ddd42
%{_bindir}/mysqld_safe
8ddd42
%{_bindir}/mysqlhotcopy
8ddd42
%{_bindir}/mysqltest
8ddd42
%{_bindir}/innochecksum
8ddd42
%{_bindir}/perror
8ddd42
%{_bindir}/replace
8ddd42
%{_bindir}/resolve_stack_dump
8ddd42
%{_bindir}/resolveip
8ddd42
%{?with_tokudb:%{_bindir}/tokuftdump}
8ddd42
8ddd42
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
8ddd42
%{?with_tokudb:%config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf}
8ddd42
8ddd42
%{_libexecdir}/mysqld
8ddd42
%if %{with init_systemd} && 0%{?scl:1}
8ddd42
%{_libexecdir}/mysqld_safe-scl-helper
8ddd42
%endif
8ddd42
8ddd42
%{_libdir}/mysql/INFO_SRC
8ddd42
%{_libdir}/mysql/INFO_BIN
8ddd42
%if %{without common}
8ddd42
%dir %{_datadir}/%{pkg_name}
8ddd42
%endif
8ddd42
8ddd42
%{_libdir}/mysql/plugin/*
8ddd42
%{?with_oqgraph:%exclude %{_libdir}/mysql/plugin/ha_oqgraph.so}
8ddd42
%{?with_connect:%exclude %{_libdir}/mysql/plugin/ha_connect.so}
8ddd42
%exclude %{_libdir}/mysql/plugin/dialog.so
8ddd42
%exclude %{_libdir}/mysql/plugin/mysql_clear_password.so
8ddd42
8ddd42
%{_mandir}/man1/aria_chk.1*
8ddd42
%{_mandir}/man1/aria_dump_log.1*
8ddd42
%{_mandir}/man1/aria_ftdump.1*
8ddd42
%{_mandir}/man1/aria_pack.1*
8ddd42
%{_mandir}/man1/aria_read_log.1*
8ddd42
%{_mandir}/man1/myisamchk.1*
8ddd42
%{_mandir}/man1/myisamlog.1*
8ddd42
%{_mandir}/man1/myisampack.1*
8ddd42
%{_mandir}/man1/mysql_convert_table_format.1*
8ddd42
%{_mandir}/man1/myisam_ftdump.1*
8ddd42
%{_mandir}/man1/mysql.server.1*
8ddd42
%{_mandir}/man1/mysql_fix_extensions.1*
8ddd42
%{_mandir}/man1/mysql_install_db.1*
8ddd42
%{_mandir}/man1/mysql_secure_installation.1*
8ddd42
%{_mandir}/man1/mysql_upgrade.1*
8ddd42
%{_mandir}/man1/mysql_zap.1*
8ddd42
%{_mandir}/man1/mysqlbug.1*
8ddd42
%{_mandir}/man1/mysqldumpslow.1*
8ddd42
%{_mandir}/man1/mysqld_multi.1*
8ddd42
%{_mandir}/man1/mysqld_safe.1*
8ddd42
%{_mandir}/man1/mysqlhotcopy.1*
8ddd42
%{_mandir}/man1/mysql_setpermission.1*
8ddd42
%{_mandir}/man1/mysqltest.1*
8ddd42
%{_mandir}/man1/innochecksum.1*
8ddd42
%{_mandir}/man1/perror.1*
8ddd42
%{_mandir}/man1/replace.1*
8ddd42
%{_mandir}/man1/resolve_stack_dump.1*
8ddd42
%{_mandir}/man1/resolveip.1*
8ddd42
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
8ddd42
%{_mandir}/man8/mysqld.8*
8ddd42
8ddd42
%{_datadir}/%{pkg_name}/fill_help_tables.sql
8ddd42
%{_datadir}/%{pkg_name}/install_spider.sql
8ddd42
%{_datadir}/%{pkg_name}/mysql_system_tables.sql
8ddd42
%{_datadir}/%{pkg_name}/mysql_system_tables_data.sql
8ddd42
%{_datadir}/%{pkg_name}/mysql_test_data_timezone.sql
8ddd42
%{_datadir}/%{pkg_name}/mysql_performance_tables.sql
8ddd42
%{?with_mroonga:%{_datadir}/%{pkg_name}/mroonga/install.sql}
8ddd42
%{?with_mroonga:%{_datadir}/%{pkg_name}/mroonga/uninstall.sql}
8ddd42
%{_datadir}/%{pkg_name}/my-*.cnf
8ddd42
8ddd42
%{daemondir}/%{daemon_name}*
8ddd42
%{_libexecdir}/mysql-prepare-db-dir
8ddd42
%{_libexecdir}/mysql-wait-ready
8ddd42
%{_libexecdir}/mysql-wait-stop
8ddd42
%{_libexecdir}/mysql-check-socket
8ddd42
%{_libexecdir}/mysql-check-upgrade
8ddd42
%{_libexecdir}/mysql-scripts-common
8ddd42
8ddd42
%{?with_init_systemd:%{_tmpfilesdir}/%{name}.conf}
8ddd42
%attr(0755,mysql,mysql) %dir %{pidfiledir}
8ddd42
%attr(0755,mysql,mysql) %dir %{dbdatadir}
8ddd42
%{?scl:%attr(0755,mysql,mysql) %dir /var/lib/mysql}
8ddd42
%attr(0750,mysql,mysql) %dir %{logfiledir}
8ddd42
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
8ddd42
%config(noreplace) %{logrotateddir}/%{daemon_name}
8ddd42
8ddd42
%{?scl:%config(noreplace) %{?_scl_scripts}/service-environment}
8ddd42
8ddd42
%if %{with oqgraph}
8ddd42
%files oqgraph-engine
8ddd42
%config(noreplace) %{_sysconfdir}/my.cnf.d/oqgraph.cnf
8ddd42
%{_libdir}/mysql/plugin/ha_oqgraph.so
8ddd42
%endif
8ddd42
8ddd42
%if %{with connect}
8ddd42
%files connect-engine
8ddd42
%config(noreplace) %{_sysconfdir}/my.cnf.d/connect.cnf
8ddd42
%{_libdir}/mysql/plugin/ha_connect.so
8ddd42
%endif
8ddd42
8ddd42
%if %{with devel}
8ddd42
%files devel
8ddd42
%{_bindir}/mysql_config
8ddd42
%{_bindir}/mysql_config-%{__isa_bits}
8ddd42
%{_includedir}/mysql
8ddd42
%{_datadir}/aclocal/mysql.m4
8ddd42
%if %{with clibrary}
8ddd42
%{_libdir}/mysql/libmysqlclient.so
8ddd42
%{_libdir}/mysql/libmysqlclient_r.so
8ddd42
%endif
8ddd42
%{_mandir}/man1/mysql_config.1*
8ddd42
%endif
8ddd42
8ddd42
%if %{with embedded}
8ddd42
%files embedded
8ddd42
%{_libdir}/mysql/libmysqld.so.*
8ddd42
8ddd42
%files embedded-devel
8ddd42
%{_libdir}/mysql/libmysqld.so
8ddd42
%{_bindir}/mysql_client_test_embedded
8ddd42
%{_bindir}/mysqltest_embedded
8ddd42
%{_mandir}/man1/mysql_client_test_embedded.1*
8ddd42
%{_mandir}/man1/mysqltest_embedded.1*
8ddd42
%endif
8ddd42
8ddd42
%if %{with bench}
8ddd42
%files bench
8ddd42
%{_datadir}/sql-bench
8ddd42
%endif
8ddd42
8ddd42
%if %{with test}
8ddd42
%files test
8ddd42
%{_bindir}/mysql_client_test
8ddd42
%{_bindir}/my_safe_process
8ddd42
%attr(-,mysql,mysql) %{_datadir}/mysql-test
8ddd42
%{_mandir}/man1/mysql_client_test.1*
8ddd42
%endif
8ddd42
8ddd42
%changelog
c8f03d
* Tue Jul 28 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.20-1
c8f03d
- Rebase to version 10.0.20
c8f03d
  Resolves: #1247029
c8f03d
8ddd42
* Thu Apr 23 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-9
8ddd42
- Define context for pid file dir explicitely
8ddd42
  Resolves: #1207113
8ddd42
- Fix mysqladmin crash if run with -u root -p
8ddd42
  Resolves: #1207170
8ddd42
8ddd42
* Tue Mar 31 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-8
8ddd42
- Do not replace AES cipher
8ddd42
  Fail in case any command in check fails
8ddd42
  Related: #1124791
8ddd42
8ddd42
* Fri Mar 20 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-7
8ddd42
- Add dependency for semanage
8ddd42
- Define SELinux context for files under /etc/my.cnf.d
8ddd42
  Related: #1203991
8ddd42
- Add openssl as BuildRequires to run some openssl tests during build
8ddd42
  Related: #1189180
8ddd42
8ddd42
* Tue Mar 17 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-6
8ddd42
- Use correct comment in the init script
8ddd42
  Related: #1184604
8ddd42
8ddd42
* Sun Mar 15 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-5
8ddd42
- Make openssl_1 test more robust for various openssl versions
8ddd42
8ddd42
* Fri Mar 13 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-4
8ddd42
- Include client plugins into -common package since they are used by both -libs
8ddd42
  and base packages.
8ddd42
- Do not use libedit
8ddd42
  Related: #1201988
8ddd42
- Daemon wrapper to run process with proper SELinux context
8ddd42
  Resolves: #1202011
8ddd42
- Let plugin dir to be owned by -common
8ddd42
8ddd42
* Mon Mar 09 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-3
8ddd42
- Rebuild due to 'scls' removal
8ddd42
  Resolves: #1200048
8ddd42
8ddd42
* Mon Mar 09 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-2
8ddd42
- Release bump
8ddd42
8ddd42
* Wed Mar 04 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-1
8ddd42
- Rebase to version 10.0.17
8ddd42
- Added variable for turn off skipping some tests
8ddd42
- Add SELinux rules for pid file
8ddd42
- Add SELinux definition for /var/log/mariadb.*
8ddd42
  Related: #1194206
8ddd42
8ddd42
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-6
8ddd42
- Do not use scl prefix more than once in paths
8ddd42
  Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
8ddd42
- Check permissions when starting service on RHEL-6
8ddd42
  Resolves: #1194699
8ddd42
- Do not create test database by default
8ddd42
  Related: #1194611
8ddd42
8ddd42
* Mon Feb 23 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-5
8ddd42
- Use --no-defaults when checking server status before starting
8ddd42
8ddd42
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-4
8ddd42
- Wait for daemon ends
8ddd42
  Resolves: #1072958
8ddd42
8ddd42
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-3
8ddd42
- Fix openssl_1 test
8ddd42
8ddd42
* Wed Feb 18 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-2
8ddd42
- Include new certificate for tests
8ddd42
- Update lists of failing tests
8ddd42
  Related: #1186110
8ddd42
8ddd42
* Wed Feb 18 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-1
8ddd42
- Rebase to version 10.0.16
8ddd42
  Resolves: #1187895
8ddd42
8ddd42
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-19
8ddd42
- Remove NFS register feature for questionable usage for DBs
8ddd42
8ddd42
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-18
8ddd42
- Create directory for socket in build for SCL
8ddd42
8ddd42
* Mon Feb 16 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-17
8ddd42
- Require scl_source if building for scl
8ddd42
8ddd42
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-16
8ddd42
- Do not include symlink to libmysqlclient if not shipping the library
8ddd42
8ddd42
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-15
8ddd42
- Do not define selinux specifically for /var/run and config, it is done
8ddd42
  generally for all /etc and /var
8ddd42
8ddd42
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-14
8ddd42
- Run tests in scl environment
8ddd42
8ddd42
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-13
8ddd42
- Do not use clibrary in -devel package and mysql_config if not built with
8ddd42
8ddd42
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-12
8ddd42
- Enable oqgraph also for scl
8ddd42
8ddd42
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-11
8ddd42
- Restorecon on sclroot in post script and move selinux actions before working
8ddd42
  with the service
8ddd42
8ddd42
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-10
8ddd42
- Use scl call in the logrotate script
8ddd42
8ddd42
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-9
8ddd42
- Do not create log file in post script
8ddd42
8ddd42
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-8
8ddd42
- Use pkg_name for files in share
8ddd42
8ddd42
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com>
8ddd42
- Fix path for sysconfig file
8ddd42
  Filter provides in el6 properly
8ddd42
  Fix initscript file location
8ddd42
8ddd42
* Sat Jan 17 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
8ddd42
- Do not package connect plugin for scl
8ddd42
8ddd42
* Sat Jan 17 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-5
8ddd42
- Rework register implementation
8ddd42
8ddd42
* Fri Jan 16 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
8ddd42
- Move service-environment into mariadb package
8ddd42
8ddd42
* Fri Jan 16 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-5
8ddd42
- Implement scl register functionality
8ddd42
8ddd42
* Fri Dec 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-3
8ddd42
- Rework usage of macros and use macros defined in the meta package
8ddd42
  Remove some compatibility artefacts
8ddd42
- Fix macros paths in my.cnf
8ddd42
- Create old location for pid file if it remained in my.cnf
8ddd42
- Disable failing tests connect.mrr, connect.updelx2 on ppc and s390
8ddd42
8ddd42
* Fri Dec 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-2
8ddd42
- Merging changes from Fedora and upgrading to 10.0.15
8ddd42
8ddd42
* Thu Nov 27 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.15-1
8ddd42
- Update to 10.0.15
8ddd42
8ddd42
* Thu Nov 20 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-8
8ddd42
- Applied upstream fix for mysql_config --cflags output.
8ddd42
  Resolves: #1160845
8ddd42
8ddd42
* Fri Oct 24 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-7
8ddd42
- Fixed compat service file.
8ddd42
  Resolves: #1155700
8ddd42
8ddd42
* Mon Oct 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-6
8ddd42
- Remove bundled cmd-line-utils
8ddd42
  Related: #1079637
8ddd42
- Move mysqlimport man page to proper package
8ddd42
- Disable main.key_cache test on s390
8ddd42
  Releated: #1149647
8ddd42
8ddd42
* Wed Oct 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-5
8ddd42
- Disable tests connect.part_file, connect.part_table
8ddd42
  and connect.updelx
8ddd42
  Related: #1149647
8ddd42
8ddd42
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-4
8ddd42
- Add bcond_without mysql_names
8ddd42
  Use more correct path when deleting mysql logrotate script
8ddd42
8ddd42
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-3
8ddd42
- Build with system libedit
8ddd42
  Resolves: #1079637
8ddd42
8ddd42
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-2
8ddd42
- Add with_debug option
8ddd42
8ddd42
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-1
8ddd42
- Update to 10.0.14
8ddd42
8ddd42
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-8
8ddd42
- Move connect engine to a separate package
8ddd42
  Rename oqgraph engine to align with upstream packages
8ddd42
- Move some files to correspond with MariaDB upstream packages
8ddd42
  client.cnf into -libs, mysql_plugin and msql2mysql into base,
8ddd42
  tokuftdump and aria_* into -server, errmsg-utf8.txt into -errmsg
8ddd42
- Remove duplicate cnf files packaged using %%doc
8ddd42
- Check upgrade script added to warn about need for mysql_upgrade
8ddd42
8ddd42
* Wed Sep 24 2014 Matej Muzila <mmuzila@redhat.com> - 1:10.0.13-7
8ddd42
- Client related libraries moved from mariadb-server to mariadb-libs
8ddd42
  Related: #1138843
8ddd42
8ddd42
* Mon Sep 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-6
8ddd42
- Disable vcol_supported_sql_funcs_myisam test on all arches
8ddd42
  Related: #1096787
8ddd42
- Install systemd service file on RHEL-7+
8ddd42
  Server requires any mysql package, so it should be fine with older client
8ddd42
8ddd42
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-5
8ddd42
- Fix paths in mysql_install_db script
8ddd42
  Resolves: #1134328
8ddd42
- Use %%cmake macro
8ddd42
8ddd42
* Tue Aug 19 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-4
8ddd42
- Build config subpackage everytime
8ddd42
- Disable failing tests: innodb_simulate_comp_failures_small, key_cache
8ddd42
  rhbz#1096787
8ddd42
8ddd42
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.13-3
8ddd42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8ddd42
8ddd42
* Thu Aug 14 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-2
8ddd42
- Include mysqld_unit only if required; enable tokudb in f20-
8ddd42
8ddd42
* Wed Aug 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-1
8ddd42
- Rebase to version 10.0.13
8ddd42
8ddd42
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-8
8ddd42
- Introduce -config subpackage and ship base config files here
8ddd42
8ddd42
* Tue Aug  5 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-7
8ddd42
- Adopt changes from mysql, thanks Bjorn Munch <bjorn.munch@oracle.com>
8ddd42
8ddd42
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
8ddd42
- Use explicit sysconfdir
8ddd42
- Absolut path for default value for pid file and error log
8ddd42
8ddd42
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-5
8ddd42
- Hardcoded paths removed to work fine in chroot
8ddd42
- Spec rewrite to be more similar to oterh MySQL implementations
8ddd42
- Use variable for daemon unit name
8ddd42
- Include SysV init script if built on older system
8ddd42
- Add possibility to not ship some sub-packages
8ddd42
8ddd42
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-4
8ddd42
- Reformating spec and removing unnecessary snippets
8ddd42
8ddd42
* Tue Jul 15 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-3
8ddd42
- Enable OQGRAPH engine and package it as a sub-package
8ddd42
- Add support for TokuDB engine for x86_64 (currently still disabled)
8ddd42
- Re-enable tokudb_innodb_xa_crash again, seems to be fixed now
8ddd42
- Drop superfluous -libs and -embedded ldconfig deps (thanks Ville Skyttä)
8ddd42
- Separate -lib and -common sub-packages
8ddd42
- Require /etc/my.cnf instead of shipping it
8ddd42
- Include README.mysql-cnf
8ddd42
- Multilib support re-worked
8ddd42
- Introduce new option with_mysqld_unit
8ddd42
- Removed obsolete mysql-cluster, the package should already be removed
8ddd42
- Improve error message when log file is not writable
8ddd42
- Compile all binaries with full RELRO (RHBZ#1092548)
8ddd42
- Use modern symbol filtering with compatible backup
8ddd42
- Add more groupnames for server's my.cnf
8ddd42
- Error messages now provided by a separate package (thanks Alexander Barkov)
8ddd42
- Expand paths in helper scripts using cmake
8ddd42
8ddd42
* Wed Jun 18 2014 Mikko Tiihonen <mikko.tiihonen@iki.fi> - 1:10.0.12-2
8ddd42
- Use -fno-delete-null-pointer-checks to avoid segfaults with gcc 4.9
8ddd42
8ddd42
* Tue Jun 17 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.12-1
8ddd42
- Rebase to version 10.0.12
8ddd42
8ddd42
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.11-5
8ddd42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8ddd42
8ddd42
* Tue Jun  3 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-4
8ddd42
- rebuild with tests failing on different arches disabled (#1096787)
8ddd42
8ddd42
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 1:10.0.11-2
8ddd42
- rebuild with tests failing on big endian arches disabled (#1096787)
8ddd42
8ddd42
* Wed May 14 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-1
8ddd42
- Rebase to version 10.0.11
8ddd42
8ddd42
* Mon May 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.10-3
8ddd42
- Script for socket check enhanced
8ddd42
8ddd42
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-2
8ddd42
- use system pcre library
8ddd42
8ddd42
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-1
8ddd42
- Rebase to version 10.0.10
8ddd42
8ddd42
* Wed Mar 12 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-2
8ddd42
- Server crashes on SQL select containing more group by and left join statements using innodb tables
8ddd42
  Resolves: #1065676
8ddd42
- Fix paths in helper scripts
8ddd42
- Move language files into mariadb directory
8ddd42
8ddd42
* Thu Mar 06 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-1
8ddd42
- Rebase to 5.5.36
8ddd42
  https://kb.askmonty.org/en/mariadb-5536-changelog/
8ddd42
8ddd42
* Tue Feb 25 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-5
8ddd42
- Daemon helper scripts sanity changes and spec files clean-up
8ddd42
8ddd42
* Tue Feb 11 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-4
8ddd42
- Fix typo in mysqld.service
8ddd42
  Resolves: #1063981
8ddd42
8ddd42
* Wed Feb  5 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-3
8ddd42
- Do not touch the log file in post script, so it does not get wrong owner
8ddd42
  Resolves: #1061045
8ddd42
8ddd42
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-1
8ddd42
- Rebase to 5.5.35
8ddd42
  https://kb.askmonty.org/en/mariadb-5535-changelog/
8ddd42
  Also fixes: CVE-2014-0001, CVE-2014-0412, CVE-2014-0437, CVE-2013-5908,
8ddd42
  CVE-2014-0420, CVE-2014-0393, CVE-2013-5891, CVE-2014-0386, CVE-2014-0401,
8ddd42
  CVE-2014-0402
8ddd42
  Resolves: #1054043
8ddd42
  Resolves: #1059546
8ddd42
8ddd42
* Tue Jan 14 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.34-9
8ddd42
- Adopt compatible system versioning
8ddd42
  Related: #1045013
8ddd42
- Use compatibility mysqld.service instead of link
8ddd42
  Related: #1014311
8ddd42
8ddd42
* Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.34-8
8ddd42
- move mysql_config alternatives scriptlets to -devel too
8ddd42
8ddd42
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7
8ddd42
- Build with -O3 on ppc64
8ddd42
  Related: #1051069
8ddd42
- Move mysql_config to -devel sub-package and remove Require: mariadb
8ddd42
  Related: #1050920
8ddd42
8ddd42
* Fri Jan 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 1:5.5.34-6
8ddd42
- Disable main.gis-precise test also for AArch64
8ddd42
- Disable perfschema.func_file_io and perfschema.func_mutex for AArch64
8ddd42
  (like it is done for 32-bit ARM)
8ddd42
8ddd42
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-5
8ddd42
- Clean all non-needed doc files properly
8ddd42
8ddd42
* Wed Jan  8 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-4
8ddd42
- Read socketfile location in mariadb-prepare-db-dir script
8ddd42
8ddd42
* Mon Jan  6 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-3
8ddd42
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
8ddd42
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
8ddd42
  Related: #1044565
8ddd42
- Use upstream's layout for symbols version in client library
8ddd42
  Related: #1045013
8ddd42
- Check if socket file is not being used by another process at a time
8ddd42
  of starting the service
8ddd42
  Related: #1045435
8ddd42
- Use %%ghost directive for the log file
8ddd42
  Related: 1043501
8ddd42
8ddd42
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-2
8ddd42
- Fix mariadb-wait-ready script
8ddd42
8ddd42
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-1
8ddd42
- Rebase to 5.5.34
8ddd42
8ddd42
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-4
8ddd42
- Fix spec file to be ready for backport by Oden Eriksson
8ddd42
  Resolves: #1026404
8ddd42
8ddd42
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-3
8ddd42
- Add pam-devel to build-requires in order to build
8ddd42
  Related: #1019945
8ddd42
- Check if correct process is running in mysql-wait-ready script
8ddd42
  Related: #1026313
8ddd42
8ddd42
* Mon Oct 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-2
8ddd42
- Turn on test suite
8ddd42
8ddd42
* Thu Oct 10 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-1
8ddd42
- Rebase to 5.5.33a
8ddd42
  https://kb.askmonty.org/en/mariadb-5533-changelog/
8ddd42
  https://kb.askmonty.org/en/mariadb-5533a-changelog/
8ddd42
- Enable outfile_loaddata test
8ddd42
- Disable tokudb_innodb_xa_crash test
8ddd42
8ddd42
* Mon Sep  2 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-12
8ddd42
- Re-organize my.cnf to include only generic settings
8ddd42
  Resolves: #1003115
8ddd42
- Move pid file location to /var/run/mariadb
8ddd42
- Make mysqld a symlink to mariadb unit file rather than the opposite way
8ddd42
  Related: #999589
8ddd42
8ddd42
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-11
8ddd42
- Move log file into /var/log/mariadb/mariadb.log
8ddd42
- Rename logrotate script to mariadb
8ddd42
- Resolves: #999589
8ddd42
8ddd42
* Wed Aug 14 2013 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.32-10
8ddd42
- fix alternatives usage
8ddd42
8ddd42
* Tue Aug 13 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-9
8ddd42
- Multilib issues solved by alternatives
8ddd42
  Resolves: #986959
8ddd42
8ddd42
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.32-8
8ddd42
- Perl 5.18 rebuild
8ddd42
8ddd42
* Wed Jul 31 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-7
8ddd42
- Do not use login shell for mysql user
8ddd42
8ddd42
* Tue Jul 30 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-6
8ddd42
- Remove unneeded systemd-sysv requires
8ddd42
- Provide mysql-compat-server symbol
8ddd42
- Create mariadb.service symlink
8ddd42
- Fix multilib header location for arm
8ddd42
- Enhance documentation in the unit file
8ddd42
- Use scriptstub instead of links to avoid multilib conflicts
8ddd42
- Add condition for doc placement in F20+
8ddd42
8ddd42
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 1:5.5.32-5
8ddd42
- remove "Requires(pretrans): systemd" since its not possible
8ddd42
- when installing mariadb and systemd at the same time. as in a new install
8ddd42
8ddd42
* Sat Jul 27 2013 Kevin Fenzi <kevin@scrye.com> 1:5.5.32-4
8ddd42
- Set rpm doc macro to install docs in unversioned dir
8ddd42
8ddd42
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-3
8ddd42
- add Requires(pre) on systemd for the server package
8ddd42
8ddd42
* Tue Jul 23 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-2
8ddd42
- replace systemd-units requires with systemd
8ddd42
- remove solaris files
8ddd42
8ddd42
* Fri Jul 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.32-1
8ddd42
- Rebase to 5.5.32
8ddd42
  https://kb.askmonty.org/en/mariadb-5532-changelog/
8ddd42
- Clean-up un-necessary systemd snippets
8ddd42
8ddd42
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.31-7
8ddd42
- Perl 5.18 rebuild
8ddd42
8ddd42
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-6
8ddd42
- Test suite params enhanced to decrease server condition influence
8ddd42
- Fix misleading error message when uninstalling built-in plugins
8ddd42
  Related: #966873
8ddd42
8ddd42
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-5
8ddd42
- Apply fixes found by Coverity static analysis tool
8ddd42
8ddd42
* Wed Jun 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-4
8ddd42
- Do not use pretrans scriptlet, which doesn't work in anaconda
8ddd42
  Resolves: #975348
8ddd42
8ddd42
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-3
8ddd42
- Explicitly enable mysqld if it was enabled in the beginning
8ddd42
  of the transaction.
8ddd42
8ddd42
* Thu Jun 13 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-2
8ddd42
- Apply man page fix from Jan Stanek
8ddd42
8ddd42
* Fri May 24 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-1
8ddd42
- Rebase to 5.5.31
8ddd42
  https://kb.askmonty.org/en/mariadb-5531-changelog/
8ddd42
- Preserve time-stamps in case of installed files
8ddd42
- Use /var/tmp instead of /tmp, since the later is using tmpfs,
8ddd42
  which can cause problems
8ddd42
  Resolves: #962087
8ddd42
- Fix test suite requirements
8ddd42
8ddd42
* Sun May  5 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-2
8ddd42
- Remove mytop utility, which is packaged separately
8ddd42
- Resolve multilib conflicts in mysql/private/config.h
8ddd42
8ddd42
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-1
8ddd42
- Rebase to 5.5.30
8ddd42
  https://kb.askmonty.org/en/mariadb-5530-changelog/
8ddd42
8ddd42
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-11
8ddd42
- Obsolete MySQL since it is now renamed to community-mysql
8ddd42
- Remove real- virtual names
8ddd42
8ddd42
* Thu Mar 21 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-10
8ddd42
- Adding epoch to have higher priority than other mysql implementations
8ddd42
  when comes to provider comparison
8ddd42
8ddd42
* Wed Mar 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-9
8ddd42
- Let mariadb-embedded-devel conflict with MySQL-embedded-devel
8ddd42
- Adjust mariadb-sortbuffer.patch to correspond with upstream patch
8ddd42
8ddd42
* Mon Mar  4 2013 Honza Horak <hhorak@redhat.com> 5.5.29-8
8ddd42
- Mask expected warnings about setrlimit in test suite
8ddd42
8ddd42
* Thu Feb 28 2013 Honza Horak <hhorak@redhat.com> 5.5.29-7
8ddd42
- Use configured prefix value instead of guessing basedir
8ddd42
  in mysql_config
8ddd42
Resolves: #916189
8ddd42
- Export dynamic columns and non-blocking API functions documented
8ddd42
  by upstream
8ddd42
8ddd42
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
8ddd42
- Fix sort_buffer_length option type
8ddd42
8ddd42
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-5
8ddd42
- Suppress warnings in tests and skip tests also on ppc64p7
8ddd42
8ddd42
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-4
8ddd42
- Suppress warning in tests on ppc
8ddd42
- Enable fixed index_merge_myisam test case
8ddd42
8ddd42
* Thu Feb 07 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
8ddd42
- Packages need to provide also %%_isa version of mysql package
8ddd42
- Provide own symbols with real- prefix to distinguish from mysql
8ddd42
  unambiguously
8ddd42
- Fix format for buffer size in error messages (MDEV-4156)
8ddd42
- Disable some tests that fail on ppc and s390
8ddd42
- Conflict only with real-mysql, otherwise mariadb conflicts with ourself
8ddd42
8ddd42
* Tue Feb 05 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
8ddd42
- Let mariadb-libs to own /etc/my.cnf.d
8ddd42
8ddd42
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.29-1
8ddd42
- Rebase to 5.5.29
8ddd42
  https://kb.askmonty.org/en/mariadb-5529-changelog/
8ddd42
- Fix inaccurate default for socket location in mysqld-wait-ready
8ddd42
  Resolves: #890535
8ddd42
8ddd42
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-8
8ddd42
- Enable obsoleting mysql
8ddd42
8ddd42
* Wed Jan 30 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-7
8ddd42
- Adding necessary hacks for perl dependency checking, rpm is still
8ddd42
  not wise enough
8ddd42
- Namespace sanity re-added for symbol default_charset_info
8ddd42
8ddd42
* Mon Jan 28 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-6
8ddd42
- Removed %%{_isa} from provides/obsoletes, which doesn't allow
8ddd42
  proper obsoleting
8ddd42
- Do not obsolete mysql at the time of testing
8ddd42
8ddd42
* Thu Jan 10 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-5
8ddd42
- Added licenses LGPLv2 and BSD
8ddd42
- Removed wrong usage of %%{epoch}
8ddd42
- Test-suite is run in %%check
8ddd42
- Removed perl dependency checking adjustment, rpm seems to be smart enough
8ddd42
- Other minor spec file fixes
8ddd42
8ddd42
* Tue Dec 18 2012 Honza Horak <hhorak@redhat.com> 5.5.28a-4
8ddd42
- Packaging of MariaDB based on MySQL package
8ddd42