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