2013-07-27 19:29:34 +00:00
|
|
|
# In f20+ use unversioned docdirs, otherwise the old versioned one
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
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
|
|
|
|
%bcond_with tokudb
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
Name: mariadb
|
2014-03-06 16:37:29 +00:00
|
|
|
Version: 5.5.36
|
|
|
|
Release: 1%{?dist}
|
2013-03-21 09:22:34 +00:00
|
|
|
Epoch: 1
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
Summary: A community developed branch of MySQL
|
|
|
|
Group: Applications/Databases
|
|
|
|
URL: http://mariadb.org
|
|
|
|
# Exceptions allow client libraries to be linked with most open source SW,
|
|
|
|
# not only GPL code. See README.mysql-license
|
|
|
|
# Some innobase code from Percona and Google is under BSD license
|
|
|
|
# Some code related to test-suite is under LGPLv2
|
|
|
|
License: GPLv2 with exceptions and LGPLv2 and BSD
|
|
|
|
|
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
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
# Regression tests take a long time, you can skip 'em with this
|
2013-10-14 11:32:21 +00:00
|
|
|
%{!?runselftest:%global runselftest 1}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-06-14 08:47:43 +00:00
|
|
|
# When replacing mysql by mariadb these packages are not upated, but rather
|
|
|
|
# installed and uninstalled. Thus we loose information about mysqld service
|
|
|
|
# enablement. To address this we use a file to store that information within
|
|
|
|
# the transaction. Basically the file is created when mysqld is enabled in
|
|
|
|
# the beginning of the transaction and mysqld is enabled again in the end
|
|
|
|
# of the transaction in case this flag file exists.
|
|
|
|
%global mysqld_enabled_flag_file %{_localstatedir}/lib/rpm-state/mysqld_enabled
|
2013-09-02 15:44:03 +00:00
|
|
|
%global mysqld_running_flag_file %{_localstatedir}/lib/rpm-state/mysqld_running
|
2013-06-14 08:47:43 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
Source0: http://ftp.osuosl.org/pub/mariadb/mariadb-%{version}/kvm-tarbake-jaunty-x86/mariadb-%{version}.tar.gz
|
|
|
|
Source3: my.cnf
|
|
|
|
Source5: my_config.h
|
|
|
|
Source6: README.mysql-docs
|
|
|
|
Source7: README.mysql-license
|
|
|
|
Source8: libmysql.version
|
|
|
|
Source9: mysql-embedded-check.c
|
|
|
|
Source10: mariadb.tmpfiles.d
|
2013-09-02 15:44:03 +00:00
|
|
|
Source11: mariadb.service
|
|
|
|
Source12: mariadb-prepare-db-dir
|
|
|
|
Source13: mariadb-wait-ready
|
2014-02-25 14:56:53 +00:00
|
|
|
Source14: mariadb-check-socket
|
|
|
|
Source15: mariadb-scripts-common
|
2014-01-17 09:34:51 +00:00
|
|
|
Source16: mysqld.service
|
2014-02-25 14:56:53 +00:00
|
|
|
Source51: rh-skipped-tests-base.list
|
|
|
|
Source52: rh-skipped-tests-arm.list
|
2013-01-30 13:45:15 +00:00
|
|
|
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
|
|
|
Source999: filter-requires-mysql.sh
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# Comments for these patches are in the patch files.
|
|
|
|
Patch1: mariadb-errno.patch
|
|
|
|
Patch2: mariadb-strmov.patch
|
|
|
|
Patch3: mariadb-install-test.patch
|
|
|
|
Patch7: mariadb-s390-tsc.patch
|
|
|
|
Patch8: mariadb-logrotate.patch
|
|
|
|
Patch9: mariadb-cipherspec.patch
|
|
|
|
Patch10: mariadb-file-contents.patch
|
|
|
|
Patch11: mariadb-string-overflow.patch
|
|
|
|
Patch12: mariadb-dh1024.patch
|
2013-03-22 15:14:07 +00:00
|
|
|
Patch14: mariadb-basedir.patch
|
2013-06-27 14:40:14 +00:00
|
|
|
Patch17: mariadb-covscan-signexpr.patch
|
|
|
|
Patch18: mariadb-covscan-stroverflow.patch
|
2013-09-02 15:44:03 +00:00
|
|
|
Patch19: mariadb-config.patch
|
2014-01-06 10:54:32 +00:00
|
|
|
Patch20: mariadb-ssltest.patch
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
BuildRequires: perl, readline-devel, openssl-devel
|
|
|
|
BuildRequires: cmake, ncurses-devel, zlib-devel, libaio-devel
|
2013-07-24 02:09:39 +00:00
|
|
|
BuildRequires: systemd, systemtap-sdt-devel
|
2013-01-10 17:35:12 +00:00
|
|
|
# make test requires time and ps
|
|
|
|
BuildRequires: time procps
|
2013-11-04 12:08:21 +00:00
|
|
|
# auth_pam.so plugin will be build if pam-devel is installed
|
|
|
|
BuildRequires: pam-devel
|
2013-01-10 17:35:12 +00:00
|
|
|
# perl modules needed to run regression tests
|
|
|
|
BuildRequires: perl(Socket), perl(Time::HiRes)
|
2013-05-24 14:23:46 +00:00
|
|
|
BuildRequires: perl(Data::Dumper), perl(Test::More), perl(Env)
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-03-22 13:57:53 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-01-10 17:35:12 +00:00
|
|
|
Requires: grep, fileutils, bash
|
2013-08-14 15:02:37 +00:00
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%{?systemd_requires: %systemd_requires}
|
|
|
|
|
|
|
|
# MySQL (with caps) is upstream's spelling of their own RPMs for mysql
|
2013-03-22 13:57:53 +00:00
|
|
|
Obsoletes: MySQL < %{obsoleted_mysql_case_evr}
|
|
|
|
Conflicts: community-mysql
|
2013-01-10 17:35:12 +00:00
|
|
|
# MariaDB replaces mysql packages
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
# mysql-cluster used to be built from this SRPM, but no more
|
|
|
|
Obsoletes: mysql-cluster < 5.1.44
|
2013-01-30 13:45:15 +00:00
|
|
|
|
|
|
|
# When rpm 4.9 is universal, this could be cleaned up:
|
|
|
|
%global __perl_requires %{SOURCE999}
|
|
|
|
%global __perllib_requires %{SOURCE999}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-02-01 10:35:51 +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).
|
2013-01-10 17:35:12 +00:00
|
|
|
%global _default_patch_flags --no-backup-if-mismatch
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
|
|
|
Summary: The shared libraries required for MariaDB/MySQL clients
|
|
|
|
Group: Applications/Databases
|
|
|
|
Requires: /sbin/ldconfig
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-libs = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Obsoletes: MySQL-libs < %{obsoleted_mysql_case_evr}
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-libs < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description libs
|
|
|
|
The mariadb-libs package provides the essential shared libraries for any
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package server
|
|
|
|
|
|
|
|
Summary: The MariaDB server and related files
|
|
|
|
Group: Applications/Databases
|
2013-03-22 13:57:53 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-01-10 17:35:12 +00:00
|
|
|
Requires: sh-utils
|
|
|
|
Requires(pre): /usr/sbin/useradd
|
2013-07-19 12:37:02 +00:00
|
|
|
# We require this to be present for %%{_tmpfilesdir}
|
2013-07-24 02:09:39 +00:00
|
|
|
Requires: systemd
|
2013-01-10 17:35:12 +00:00
|
|
|
# Make sure it's there when scriptlets run, too
|
2013-07-27 01:02:27 +00:00
|
|
|
Requires(pre): systemd
|
2013-08-14 15:02:37 +00:00
|
|
|
Requires(post): systemd %{_sbindir}/update-alternatives
|
2013-07-24 02:09:39 +00:00
|
|
|
Requires(preun): systemd
|
2013-08-14 15:02:37 +00:00
|
|
|
Requires(postun): systemd %{_sbindir}/update-alternatives
|
2013-07-24 02:09:39 +00:00
|
|
|
Requires(posttrans): systemd
|
2013-01-10 17:35:12 +00:00
|
|
|
# mysqlhotcopy needs DBI/DBD support
|
|
|
|
Requires: perl-DBI, perl-DBD-MySQL
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-server = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-server%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-07-30 08:04:11 +00:00
|
|
|
Provides: mysql-compat-server = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-compat-server%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Obsoletes: MySQL-server < %{obsoleted_mysql_case_evr}
|
|
|
|
Conflicts: community-mysql-server
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-server < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description server
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
Summary: Files for development of MariaDB/MySQL applications
|
|
|
|
Group: Applications/Databases
|
2013-03-22 13:57:53 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-01-10 17:35:12 +00:00
|
|
|
Requires: openssl-devel%{?_isa}
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-devel = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Obsoletes: MySQL-devel < %{obsoleted_mysql_case_evr}
|
|
|
|
Conflicts: community-mysql-devel
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-devel < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package embedded
|
|
|
|
|
|
|
|
Summary: MariaDB as an embeddable library
|
|
|
|
Group: Applications/Databases
|
|
|
|
Requires: /sbin/ldconfig
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-embedded = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-embedded%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Obsoletes: MySQL-embedded < %{obsoleted_mysql_case_evr}
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-embedded < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description embedded
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package embedded-devel
|
|
|
|
|
|
|
|
Summary: Development files for MariaDB as an embeddable library
|
|
|
|
Group: Applications/Databases
|
2013-03-22 13:57:53 +00:00
|
|
|
Requires: %{name}-embedded%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-embedded-devel = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-embedded-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Conflicts: community-mysql-embedded-devel
|
|
|
|
Obsoletes: MySQL-embedded-devel < %{obsoleted_mysql_case_evr}
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-embedded-devel < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description embedded-devel
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package bench
|
|
|
|
|
|
|
|
Summary: MariaDB benchmark scripts and data
|
|
|
|
Group: Applications/Databases
|
2013-03-22 13:57:53 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-bench = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-bench%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Conflicts: community-mysql-bench
|
|
|
|
Obsoletes: MySQL-bench < %{obsoleted_mysql_case_evr}
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-bench < %{obsoleted_mysql_evr}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description bench
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package test
|
|
|
|
|
|
|
|
Summary: The test suite distributed with MariaD
|
|
|
|
Group: Applications/Databases
|
2013-03-22 13:57:53 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-server%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-21 09:22:34 +00:00
|
|
|
Provides: mysql-test = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: mysql-test%{?_isa} = %{epoch}:%{version}-%{release}
|
2013-03-22 13:57:53 +00:00
|
|
|
Conflicts: community-mysql-test
|
|
|
|
Obsoletes: MySQL-test < %{obsoleted_mysql_case_evr}
|
2013-01-31 10:18:29 +00:00
|
|
|
Obsoletes: mysql-test < %{obsoleted_mysql_evr}
|
2013-05-24 14:23:46 +00:00
|
|
|
Requires: perl(Socket), perl(Time::HiRes)
|
|
|
|
Requires: perl(Data::Dumper), perl(Test::More), perl(Env)
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%description test
|
|
|
|
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.
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
2013-02-11 09:08:58 +00:00
|
|
|
%patch14 -p1
|
2013-06-27 14:40:14 +00:00
|
|
|
%patch17 -p1
|
|
|
|
%patch18 -p1
|
2013-09-02 15:44:03 +00:00
|
|
|
%patch19 -p1
|
2014-01-06 10:54:32 +00:00
|
|
|
%patch20 -p1
|
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
|
2014-02-25 14:56:53 +00:00
|
|
|
cat %{SOURCE51} > mysql-test/rh-skipped-tests.list
|
2013-01-10 17:35:12 +00:00
|
|
|
# disable some tests failing on ARM architectures
|
2014-01-10 08:40:00 +00:00
|
|
|
%ifarch %{arm} aarch64
|
2014-02-25 14:56:53 +00:00
|
|
|
cat %{SOURCE52} >> mysql-test/rh-skipped-tests.list
|
2013-01-10 17:35:12 +00:00
|
|
|
%endif
|
2013-02-11 09:34:56 +00:00
|
|
|
# disable some tests failing on ppc and s390
|
2014-01-10 08:40:00 +00:00
|
|
|
%ifarch ppc ppc64 ppc64p7 s390 s390x aarch64
|
2013-02-11 09:34:56 +00:00
|
|
|
echo "main.gis-precise : rhbz#906367" >> mysql-test/rh-skipped-tests.list
|
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
# fail quickly and obviously if user tries to build as root
|
|
|
|
%if %runselftest
|
|
|
|
if [ x"`id -u`" = x0 ]; then
|
|
|
|
echo "mariadb's regression tests fail if run as root."
|
|
|
|
echo "If you really need to build the RPM as root, use"
|
|
|
|
echo "--define='runselftest 0' to skip the regression tests."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
%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"
|
|
|
|
# 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
|
|
|
|
# building with PIE
|
|
|
|
LDFLAGS="$LDFLAGS -pie"
|
|
|
|
export LDFLAGS
|
|
|
|
|
|
|
|
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
|
|
|
|
# so we can't use %%{_datadir} and so forth here.
|
|
|
|
|
|
|
|
cmake . -DBUILD_CONFIG=mysql_release \
|
|
|
|
-DFEATURE_SET="community" \
|
|
|
|
-DINSTALL_LAYOUT=RPM \
|
2014-01-14 19:02:55 +00:00
|
|
|
-DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora%{fedora}}" \
|
2013-01-10 17:35:12 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
2013-07-30 15:15:34 +00:00
|
|
|
%if 0%{?fedora} >= 20
|
2014-01-10 08:17:12 +00:00
|
|
|
-DINSTALL_DOCDIR=share/doc/%{name} \
|
|
|
|
-DINSTALL_DOCREADMEDIR=share/doc/%{name} \
|
2013-11-04 15:40:18 +00:00
|
|
|
%else
|
|
|
|
-DINSTALL_DOCDIR=share/doc/%{name}-%{version} \
|
|
|
|
-DINSTALL_DOCREADMEDIR=share/doc/%{name}-%{version} \
|
2013-07-30 15:15:34 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
-DINSTALL_INCLUDEDIR=include/mysql \
|
|
|
|
-DINSTALL_INFODIR=share/info \
|
|
|
|
-DINSTALL_LIBDIR="%{_lib}/mysql" \
|
|
|
|
-DINSTALL_MANDIR=share/man \
|
|
|
|
-DINSTALL_MYSQLSHAREDIR=share/mysql \
|
|
|
|
-DINSTALL_MYSQLTESTDIR=share/mysql-test \
|
|
|
|
-DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
|
|
|
|
-DINSTALL_SBINDIR=libexec \
|
|
|
|
-DINSTALL_SCRIPTDIR=bin \
|
|
|
|
-DINSTALL_SQLBENCHDIR=share \
|
|
|
|
-DINSTALL_SUPPORTFILESDIR=share/mysql \
|
2013-08-29 14:02:55 +00:00
|
|
|
-DMYSQL_DATADIR="%{_localstatedir}/lib/mysql" \
|
|
|
|
-DMYSQL_UNIX_ADDR="%{_localstatedir}/lib/mysql/mysql.sock" \
|
2013-01-10 17:35:12 +00:00
|
|
|
-DENABLED_LOCAL_INFILE=ON \
|
|
|
|
-DENABLE_DTRACE=ON \
|
|
|
|
-DWITH_EMBEDDED_SERVER=ON \
|
|
|
|
-DWITH_READLINE=ON \
|
|
|
|
-DWITH_SSL=system \
|
|
|
|
-DWITH_ZLIB=system \
|
2013-10-11 07:58:06 +00:00
|
|
|
-DWITH_JEMALLOC=no \
|
2013-10-12 13:53:31 +00:00
|
|
|
%{!?with_tokudb: -DWITHOUT_TOKUDB=ON}\
|
2013-08-29 14:02:55 +00:00
|
|
|
-DTMPDIR=%{_localstatedir}/tmp \
|
2013-01-10 17:35:12 +00:00
|
|
|
-DWITH_MYSQLD_LDFLAGS="-Wl,-z,relro,-z,now"
|
|
|
|
|
|
|
|
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
|
|
|
|
for f in pars0grm.c pars0grm.y pars0lex.l lexyy.c ; 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
|
|
|
|
|
|
|
|
%check
|
|
|
|
%if %runselftest
|
|
|
|
# hack to let 32- and 64-bit tests run concurrently on same build machine
|
|
|
|
case `uname -m` in
|
2013-02-13 11:34:52 +00:00
|
|
|
ppc64 | ppc64p7 | s390x | x86_64 | sparc64 )
|
2013-01-10 17:35:12 +00:00
|
|
|
MTR_BUILD_THREAD=7
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
MTR_BUILD_THREAD=11
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
export MTR_BUILD_THREAD
|
2013-07-01 13:14:37 +00:00
|
|
|
export MTR_PARALLEL=1
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
make test VERBOSE=1
|
|
|
|
|
|
|
|
# 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
|
|
|
|
(
|
|
|
|
cd mysql-test
|
|
|
|
perl ./mysql-test-run.pl --force --retry=0 --ssl \
|
|
|
|
--skip-test-list=rh-skipped-tests.list \
|
2013-07-01 13:14:37 +00:00
|
|
|
--suite-timeout=720 --testcase-timeout=30 \
|
|
|
|
--mysqld=--binlog-format=mixed --force-restart \
|
2014-01-14 19:02:55 +00:00
|
|
|
--shutdown-timeout=60
|
2013-01-10 17:35:12 +00:00
|
|
|
# cmake build scripts will install the var cruft if left alone :-(
|
|
|
|
rm -rf var
|
|
|
|
)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
# List the installed tree for RPM package maintenance purposes.
|
|
|
|
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
|
|
|
|
|
|
|
|
# multilib header hacks
|
|
|
|
# we only apply this to known Red Hat multilib arches, per bug #181335
|
|
|
|
case `uname -i` in
|
2013-07-30 10:14:56 +00:00
|
|
|
i386 | x86_64 | ppc | ppc64 | ppc64p7 | s390 | s390x | sparc | sparc64 | aarch64 )
|
2013-05-06 14:05:55 +00:00
|
|
|
mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_`uname -i`.h
|
|
|
|
mv $RPM_BUILD_ROOT%{_includedir}/mysql/private/config.h $RPM_BUILD_ROOT%{_includedir}/mysql/private/my_config_`uname -i`.h
|
2013-05-24 11:21:42 +00:00
|
|
|
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/
|
|
|
|
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/private/config.h
|
2013-01-10 17:35:12 +00:00
|
|
|
;;
|
2013-07-30 10:14:56 +00:00
|
|
|
arm* )
|
|
|
|
mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_arm.h
|
|
|
|
mv $RPM_BUILD_ROOT%{_includedir}/mysql/private/config.h $RPM_BUILD_ROOT%{_includedir}/mysql/private/my_config_arm.h
|
|
|
|
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/
|
|
|
|
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/private/config.h
|
|
|
|
;;
|
2013-01-10 17:35:12 +00:00
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# 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/' \
|
|
|
|
${RPM_BUILD_ROOT}%{_bindir}/mysql_config >mysql_config.tmp
|
2013-05-24 11:21:42 +00:00
|
|
|
cp -p -f mysql_config.tmp ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
|
2013-01-10 17:35:12 +00:00
|
|
|
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
|
|
|
|
|
|
|
|
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
|
|
|
|
# but that's pretty wacko --- see also mariadb-file-contents.patch)
|
2014-01-07 10:00:18 +00:00
|
|
|
mv ${RPM_BUILD_ROOT}%{_pkgdocdir}/MariaDB-server-%{version}/INFO_SRC ${RPM_BUILD_ROOT}%{_libdir}/mysql/
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_pkgdocdir}/MariaDB-server-%{version}/INFO_BIN ${RPM_BUILD_ROOT}%{_libdir}/mysql/
|
2014-01-10 08:17:12 +00:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/MariaDB-server-%{version}/
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-02-25 14:56:53 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}
|
|
|
|
chmod 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}
|
|
|
|
touch $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}/%{name}.log
|
|
|
|
ln -s %{_localstatedir}/log/%{name}/%{name}.log $RPM_BUILD_ROOT%{_localstatedir}/log/mysqld.log
|
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
|
|
|
|
# as well because users can have od settings in their /etc/my.cnf
|
2013-08-29 14:02:55 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/mysqld
|
2014-02-25 14:56:53 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/%{name}
|
2013-08-29 14:02:55 +00:00
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/mysql
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
2013-05-24 11:21:42 +00:00
|
|
|
install -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/my.cnf
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# install systemd unit files and scripts for handling server startup
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
|
2013-05-24 11:21:42 +00:00
|
|
|
install -p -m 644 %{SOURCE11} ${RPM_BUILD_ROOT}%{_unitdir}/
|
2014-02-25 14:56:53 +00:00
|
|
|
install -p -m 644 %{SOURCE16} ${RPM_BUILD_ROOT}%{_unitdir}/`basename %{SOURCE16}`
|
2013-05-24 11:21:42 +00:00
|
|
|
install -p -m 755 %{SOURCE12} ${RPM_BUILD_ROOT}%{_libexecdir}/
|
|
|
|
install -p -m 755 %{SOURCE13} ${RPM_BUILD_ROOT}%{_libexecdir}/
|
2014-02-25 14:56:53 +00:00
|
|
|
install -p -m 755 %{SOURCE14} ${RPM_BUILD_ROOT}%{_libexecdir}/
|
|
|
|
install -p -m 644 %{SOURCE15} ${RPM_BUILD_ROOT}%{_libexecdir}/
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-07-19 12:37:02 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
|
|
|
install -p -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# Fix funny permissions that cmake build scripts apply to config files
|
|
|
|
chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/mysql/config.*.ini
|
|
|
|
|
|
|
|
# Fix scripts for multilib safety
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_bindir}/mysql_config ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysql_config
|
2013-08-13 13:35:55 +00:00
|
|
|
touch ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysqlbug
|
2013-08-13 13:35:55 +00:00
|
|
|
touch ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# Remove libmysqld.a
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.a
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient_r.so*
|
|
|
|
ln -s libmysqlclient.so ${RPM_BUILD_ROOT}%{_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
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
ln -s ../../../../../bin/my_safe_process ${RPM_BUILD_ROOT}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
|
|
|
|
|
|
|
|
# should move this to /etc/ ?
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mysql_embedded
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/magic
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/ndb-config-2-node.ini
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql.server
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysqld_multi.server
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-stress-test.pl.1*
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-test-run.pl.1*
|
2013-05-06 13:44:05 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mytop
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# put logrotate script where it needs to be
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
|
2014-02-25 14:56:53 +00:00
|
|
|
mv ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-log-rotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
|
|
|
|
chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
|
|
|
|
echo "%{_libdir}/mysql" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
|
|
|
|
|
# copy additional docs into build tree so %%doc will find them
|
2013-05-24 11:21:42 +00:00
|
|
|
cp -p %{SOURCE6} README.mysql-docs
|
|
|
|
cp -p %{SOURCE7} README.mysql-license
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# install the list of skipped tests to be available for user runs
|
2014-01-08 08:41:00 +00:00
|
|
|
install -p -m 0644 mysql-test/rh-skipped-tests.list ${RPM_BUILD_ROOT}%{_datadir}/mysql-test
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# remove unneeded RHEL-4 SELinux stuff
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mysql/SELinux/
|
|
|
|
|
|
|
|
# remove SysV init script
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/mysql
|
|
|
|
|
|
|
|
# remove duplicate logrotate script
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/mysql
|
|
|
|
|
2013-07-24 04:25:45 +00:00
|
|
|
# remove solaris files
|
2013-07-24 18:01:04 +00:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/
|
2013-07-24 04:25:45 +00:00
|
|
|
|
2014-01-13 20:36:16 +00:00
|
|
|
%post devel
|
2013-08-14 15:02:37 +00:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/mysql_config \
|
2013-08-13 13:35:55 +00:00
|
|
|
mysql_config %{_libdir}/mysql/mysql_config %{__isa_bits}
|
|
|
|
|
2013-06-19 09:40:23 +00:00
|
|
|
%pre server
|
|
|
|
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
|
2013-08-29 14:02:55 +00:00
|
|
|
/usr/sbin/useradd -M -N -g mysql -o -r -d %{_localstatedir}/lib/mysql -s /sbin/nologin \
|
2013-06-19 09:40:23 +00:00
|
|
|
-c "MariaDB Server" -u 27 mysql >/dev/null 2>&1 || :
|
|
|
|
|
2013-06-14 08:47:43 +00:00
|
|
|
# Explicitly enable mysqld if it was enabled in the beggining
|
|
|
|
# of the transaction. Otherwise mysqld is disabled always when
|
|
|
|
# replacing mysql with mariadb, because it is not recognized
|
|
|
|
# as updating, but rather as removal and install.
|
|
|
|
if /bin/systemctl is-enabled mysqld.service >/dev/null 2>&1 ; then
|
|
|
|
touch %mysqld_enabled_flag_file >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2013-09-02 15:44:03 +00:00
|
|
|
# Since mysqld.service became a symlink to mariadb.service, turning off
|
|
|
|
# the running mysqld service doesn't work fine (BZ#1002996). As a work-around
|
|
|
|
# we explicitly stop mysqld before upgrade and start after it again.
|
|
|
|
if [ ! -L %{_unitdir}/mysqld.service ] && /bin/systemctl is-active mysqld.service &>/dev/null ; then
|
|
|
|
touch %mysqld_running_flag_file >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop mysqld.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2013-06-14 08:47:43 +00:00
|
|
|
%posttrans server
|
2013-09-02 15:44:03 +00:00
|
|
|
if [ -f %mysqld_enabled_flag_file ] ; then
|
2014-02-25 14:56:53 +00:00
|
|
|
/bin/systemctl enable %{name}.service >/dev/null 2>&1 || :
|
2013-06-14 08:47:43 +00:00
|
|
|
rm -f %mysqld_enabled_flag_file >/dev/null 2>&1 || :
|
|
|
|
fi
|
2013-09-02 15:44:03 +00:00
|
|
|
if [ -f %mysqld_running_flag_file ] ; then
|
2014-02-25 14:56:53 +00:00
|
|
|
/bin/systemctl start %{name}.service >/dev/null 2>&1 || :
|
2013-09-02 15:44:03 +00:00
|
|
|
rm -f %mysqld_running_flag_file >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2013-06-14 08:47:43 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post server
|
2014-02-25 14:56:53 +00:00
|
|
|
%systemd_post %{name}.service
|
2013-08-29 14:02:55 +00:00
|
|
|
/bin/chmod 0755 %{_localstatedir}/lib/mysql
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-08-14 15:02:37 +00:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/mysqlbug \
|
2013-08-13 13:35:55 +00:00
|
|
|
mysqlbug %{_libdir}/mysql/mysqlbug %{__isa_bits}
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%post embedded -p /sbin/ldconfig
|
|
|
|
|
2014-01-13 20:36:16 +00:00
|
|
|
%postun devel
|
2013-08-13 13:35:55 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
2013-08-14 15:02:37 +00:00
|
|
|
%{_sbindir}/update-alternatives --remove mysql_config %{_libdir}/mysql/mysql_config
|
2013-08-13 13:35:55 +00:00
|
|
|
fi
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%preun server
|
2014-02-25 14:56:53 +00:00
|
|
|
%systemd_preun %{name}.service
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun server
|
2014-02-25 14:56:53 +00:00
|
|
|
%systemd_postun_with_restart %{name}.service
|
2013-08-13 13:35:55 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
2013-08-14 15:02:37 +00:00
|
|
|
%{_sbindir}/update-alternatives --remove mysqlbug %{_libdir}/mysql/mysqlbug
|
2013-08-13 13:35:55 +00:00
|
|
|
fi
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%postun embedded -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README COPYING COPYING.LESSER README.mysql-license
|
|
|
|
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
|
|
|
|
%doc README.mysql-docs
|
|
|
|
|
|
|
|
%{_bindir}/msql2mysql
|
|
|
|
%{_bindir}/mysql
|
|
|
|
%{_bindir}/mysql_find_rows
|
|
|
|
%{_bindir}/mysql_waitpid
|
|
|
|
%{_bindir}/mysqlaccess
|
|
|
|
%{_bindir}/mysqladmin
|
|
|
|
%{_bindir}/mysqlbinlog
|
|
|
|
%{_bindir}/mysqlcheck
|
|
|
|
%{_bindir}/mysqldump
|
2013-10-12 13:53:31 +00:00
|
|
|
%{?with_tokudb:%{_bindir}/tokuftdump}
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_bindir}/mysqlimport
|
|
|
|
%{_bindir}/mysqlshow
|
|
|
|
%{_bindir}/mysqlslap
|
|
|
|
%{_bindir}/my_print_defaults
|
|
|
|
%{_bindir}/aria_chk
|
|
|
|
%{_bindir}/aria_dump_log
|
|
|
|
%{_bindir}/aria_ftdump
|
|
|
|
%{_bindir}/aria_pack
|
|
|
|
%{_bindir}/aria_read_log
|
|
|
|
|
|
|
|
%{_mandir}/man1/mysql.1*
|
|
|
|
%{_mandir}/man1/mysql_find_rows.1*
|
|
|
|
%{_mandir}/man1/mysql_waitpid.1*
|
|
|
|
%{_mandir}/man1/mysqlaccess.1*
|
|
|
|
%{_mandir}/man1/mysqladmin.1*
|
|
|
|
%{_mandir}/man1/mysqldump.1*
|
|
|
|
%{_mandir}/man1/mysqlshow.1*
|
|
|
|
%{_mandir}/man1/mysqlslap.1*
|
|
|
|
%{_mandir}/man1/my_print_defaults.1*
|
|
|
|
%{_mandir}/man1/mysql_fix_privilege_tables.1*
|
|
|
|
%{_mandir}/man8/mysqlmanager.8*
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%doc README COPYING COPYING.LESSER README.mysql-license
|
|
|
|
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
|
|
|
|
# although the default my.cnf contains only server settings, we put it in the
|
|
|
|
# libs package because it can be used for client settings too.
|
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf
|
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
|
2013-02-05 12:33:52 +00:00
|
|
|
%dir %{_sysconfdir}/my.cnf.d
|
2013-01-10 17:35:12 +00:00
|
|
|
%dir %{_libdir}/mysql
|
|
|
|
%{_libdir}/mysql/libmysqlclient.so.*
|
|
|
|
%{_sysconfdir}/ld.so.conf.d/*
|
|
|
|
|
|
|
|
%dir %{_datadir}/mysql
|
|
|
|
%{_datadir}/mysql/english
|
|
|
|
%lang(cs) %{_datadir}/mysql/czech
|
|
|
|
%lang(da) %{_datadir}/mysql/danish
|
|
|
|
%lang(nl) %{_datadir}/mysql/dutch
|
|
|
|
%lang(et) %{_datadir}/mysql/estonian
|
|
|
|
%lang(fr) %{_datadir}/mysql/french
|
|
|
|
%lang(de) %{_datadir}/mysql/german
|
|
|
|
%lang(el) %{_datadir}/mysql/greek
|
|
|
|
%lang(hu) %{_datadir}/mysql/hungarian
|
|
|
|
%lang(it) %{_datadir}/mysql/italian
|
|
|
|
%lang(ja) %{_datadir}/mysql/japanese
|
|
|
|
%lang(ko) %{_datadir}/mysql/korean
|
|
|
|
%lang(no) %{_datadir}/mysql/norwegian
|
|
|
|
%lang(no) %{_datadir}/mysql/norwegian-ny
|
|
|
|
%lang(pl) %{_datadir}/mysql/polish
|
|
|
|
%lang(pt) %{_datadir}/mysql/portuguese
|
|
|
|
%lang(ro) %{_datadir}/mysql/romanian
|
|
|
|
%lang(ru) %{_datadir}/mysql/russian
|
|
|
|
%lang(sr) %{_datadir}/mysql/serbian
|
|
|
|
%lang(sk) %{_datadir}/mysql/slovak
|
|
|
|
%lang(es) %{_datadir}/mysql/spanish
|
|
|
|
%lang(sv) %{_datadir}/mysql/swedish
|
|
|
|
%lang(uk) %{_datadir}/mysql/ukrainian
|
|
|
|
%{_datadir}/mysql/charsets
|
|
|
|
|
|
|
|
%files server
|
|
|
|
%doc support-files/*.cnf
|
|
|
|
|
|
|
|
%{_bindir}/myisamchk
|
|
|
|
%{_bindir}/myisam_ftdump
|
|
|
|
%{_bindir}/myisamlog
|
|
|
|
%{_bindir}/myisampack
|
|
|
|
%{_bindir}/mysql_convert_table_format
|
|
|
|
%{_bindir}/mysql_fix_extensions
|
|
|
|
%{_bindir}/mysql_install_db
|
|
|
|
%{_bindir}/mysql_plugin
|
|
|
|
%{_bindir}/mysql_secure_installation
|
|
|
|
%{_bindir}/mysql_setpermission
|
|
|
|
%{_bindir}/mysql_tzinfo_to_sql
|
|
|
|
%{_bindir}/mysql_upgrade
|
|
|
|
%{_bindir}/mysql_zap
|
2013-08-13 13:35:55 +00:00
|
|
|
%ghost %{_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
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/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
|
|
|
|
|
|
|
|
%{_libdir}/mysql/mysqlbug
|
|
|
|
|
|
|
|
%{_libdir}/mysql/plugin
|
|
|
|
|
|
|
|
%{_mandir}/man1/msql2mysql.1*
|
|
|
|
%{_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_plugin.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/mysqlbinlog.1*
|
|
|
|
%{_mandir}/man1/mysqlcheck.1*
|
|
|
|
%{_mandir}/man1/mysqld_multi.1*
|
|
|
|
%{_mandir}/man1/mysqld_safe.1*
|
|
|
|
%{_mandir}/man1/mysqlhotcopy.1*
|
|
|
|
%{_mandir}/man1/mysqlimport.1*
|
|
|
|
%{_mandir}/man1/mysqlman.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*
|
|
|
|
|
|
|
|
%{_datadir}/mysql/errmsg-utf8.txt
|
|
|
|
%{_datadir}/mysql/fill_help_tables.sql
|
|
|
|
%{_datadir}/mysql/mysql_system_tables.sql
|
|
|
|
%{_datadir}/mysql/mysql_system_tables_data.sql
|
|
|
|
%{_datadir}/mysql/mysql_test_data_timezone.sql
|
2013-02-01 10:35:51 +00:00
|
|
|
%{_datadir}/mysql/mysql_performance_tables.sql
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_datadir}/mysql/my-*.cnf
|
|
|
|
%{_datadir}/mysql/config.*.ini
|
|
|
|
|
|
|
|
%{_unitdir}/mysqld.service
|
2014-02-25 14:56:53 +00:00
|
|
|
%{_unitdir}/%{name}.service
|
2013-09-02 15:44:03 +00:00
|
|
|
%{_libexecdir}/mariadb-prepare-db-dir
|
|
|
|
%{_libexecdir}/mariadb-wait-ready
|
2014-02-25 14:56:53 +00:00
|
|
|
%{_libexecdir}/mariadb-scripts-common
|
|
|
|
%{_libexecdir}/mariadb-check-socket
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-07-19 12:37:02 +00:00
|
|
|
%{_tmpfilesdir}/%{name}.conf
|
2013-08-29 14:02:55 +00:00
|
|
|
%attr(0755,mysql,mysql) %dir %{_localstatedir}/run/mysqld
|
2014-02-25 14:56:53 +00:00
|
|
|
%attr(0755,mysql,mysql) %dir %{_localstatedir}/run/%{name}
|
2013-08-29 14:02:55 +00:00
|
|
|
%attr(0755,mysql,mysql) %dir %{_localstatedir}/lib/mysql
|
2014-02-25 14:56:53 +00:00
|
|
|
%attr(0750,mysql,mysql) %dir %{_localstatedir}/log/%{name}
|
|
|
|
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{_localstatedir}/log/%{name}/%{name}.log
|
2014-01-06 17:09:21 +00:00
|
|
|
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{_localstatedir}/log/mysqld.log
|
2014-02-25 14:56:53 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%files devel
|
2014-01-10 08:57:54 +00:00
|
|
|
%ghost %{_bindir}/mysql_config
|
2013-07-19 12:37:02 +00:00
|
|
|
%{_includedir}/mysql
|
|
|
|
%{_datadir}/aclocal/mysql.m4
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_libdir}/mysql/libmysqlclient.so
|
|
|
|
%{_libdir}/mysql/libmysqlclient_r.so
|
2014-01-10 08:57:54 +00:00
|
|
|
%{_libdir}/mysql/mysql_config
|
|
|
|
%{_mandir}/man1/mysql_config.1*
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%files embedded
|
|
|
|
%doc README COPYING COPYING.LESSER README.mysql-license
|
|
|
|
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
|
|
|
|
%{_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*
|
|
|
|
|
|
|
|
%files bench
|
|
|
|
%{_datadir}/sql-bench
|
|
|
|
|
|
|
|
%files test
|
|
|
|
%{_bindir}/mysql_client_test
|
|
|
|
%{_bindir}/my_safe_process
|
|
|
|
%attr(-,mysql,mysql) %{_datadir}/mysql-test
|
|
|
|
|
|
|
|
%{_mandir}/man1/mysql_client_test.1*
|
|
|
|
|
|
|
|
%changelog
|
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
|
2013-06-14 08:47:43 +00:00
|
|
|
- Explicitly enable mysqld if it was enabled in the beggining
|
|
|
|
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
|
|
|
|
|