1 |
Summary: e-smith specific mysql configuration and templates. |
Summary: e-smith specific mysql configuration and templates. |
2 |
%define name e-smith-mysql |
%define name e-smith-mysql |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.12.0 |
%define version 1.13.0 |
5 |
%define release 14 |
%define release 2 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: e-smith-mysql-1.12.0-setpassword.patch2 |
Patch0: e-smith-mysql-1.13.0-logging.patch |
|
Patch1: e-smith-mysql-1.12.0-flushprivssemicolon.patch |
|
|
Patch2: e-smith-mysql-1.12.0-innodb-optional.patch |
|
|
Patch3: e-smith-mysql-1.12.0-install_db.patch |
|
|
Patch4: e-smith-mysql-1.12.0.disabled_pre_backup.patch |
|
|
Patch5: e-smith-mysql-1.12.0.failed_restore.patch |
|
|
Patch6: e-smith-mysql-1.12.0-split_backup_db.patch |
|
|
Patch7: e-smith-mysql-1.12.0-mysqluser.patch |
|
|
Patch8: e-smith-mysql-1.12.0-max_allowed_packet.patch |
|
|
Patch9: e-smith-mysql-1.12.0-max_allowed_packet2.patch |
|
|
Patch10: e-smith-mysql-1.12.0-force_upgrade.patch |
|
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
14 |
Requires: mysql-server |
Requires: mysql-server |
19 |
AutoReqProv: no |
AutoReqProv: no |
20 |
|
|
21 |
%changelog |
%changelog |
22 |
|
* Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2 |
23 |
|
- Capture mysql.init error logs to syslog. [SME: 2918] |
24 |
|
|
25 |
|
* Mon Oct 6 2008 Stephen Noble <support@dungog.net> 1.13.0-1 |
26 |
|
- Roll new dev stream [SME: 4627] |
27 |
|
|
28 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15 |
29 |
|
- quote "$1" in post uninstall script [SME: 349] |
30 |
|
|
31 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
32 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
33 |
|
|
662 |
%prep |
%prep |
663 |
%setup |
%setup |
664 |
%patch0 -p1 |
%patch0 -p1 |
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch10 -p1 |
|
665 |
|
|
666 |
%build |
%build |
667 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
712 |
[ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld |
[ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld |
713 |
|
|
714 |
%postun |
%postun |
715 |
if [ $1 == 0 ]; then |
if [ "$1" == 0 ]; then |
716 |
[ -l /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld |
[ -l /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld |
717 |
fi |
fi |
718 |
|
|