1 |
# $Id: e-smith-mysql.spec,v 1.5 2013/06/06 17:17:30 vip-ire Exp $ |
# $Id: e-smith-mysql.spec,v 1.8 2014/03/18 02:45:23 wellsi Exp $ |
2 |
|
|
3 |
Summary: e-smith specific mysql configuration and templates. |
Summary: e-smith specific mysql configuration and templates. |
4 |
%define name e-smith-mysql |
%define name e-smith-mysql |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 6 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch3: e-smith-mysql-2.4.0-preBackup.patch |
Patch3: e-smith-mysql-2.4.0-preBackup.patch |
16 |
Patch4: e-smith-mysql-2.4.0-ignore_event_table.patch |
Patch4: e-smith-mysql-2.4.0-ignore_event_table.patch |
17 |
Patch5: e-smith-mysql-2.4.0-ColumnCount.patch |
Patch5: e-smith-mysql-2.4.0-ColumnCount.patch |
18 |
|
Patch6: e-smith-mysql-2.4.0-information_schema.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: mysql-server |
Requires: mysql-server |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Mon Apr 14 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
30 |
|
- Remove the information_schema [SME: 8325] |
31 |
|
|
32 |
|
* Mon Mar 17 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
33 |
|
- Use mysql_upgrade in 00_restore_dumped_dbs, by Terje Edseth [SME: 8166] |
34 |
|
- Rename 10fix_privilege_tables to 10mysql_upgrade to reduce confusion. |
35 |
|
|
36 |
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
37 |
- Use mysql_upgrade --force due to upgrade to MySQL 5.1 [SME: 8166] |
- Use mysql_upgrade --force due to upgrade to MySQL 5.1 [SME: 8166] |
38 |
|
|
716 |
%patch3 -p1 |
%patch3 -p1 |
717 |
%patch4 -p1 |
%patch4 -p1 |
718 |
%patch5 -p1 |
%patch5 -p1 |
719 |
|
%patch6 -p1 |
720 |
|
|
721 |
%build |
%build |
722 |
perl createlinks |
perl createlinks |
743 |
%post |
%post |
744 |
# mysql.com compatibility |
# mysql.com compatibility |
745 |
[ -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 |
746 |
|
# We remove this because the template has been renamed |
747 |
|
/bin/rm -f /etc/e-smith/events/bootstrap-console-save/templates2expand/etc/e-smith/sql/init/10fix_privilege_tables |
748 |
|
|
749 |
|
|
750 |
%postun |
%postun |
751 |
if [ "$1" == 0 ]; then |
if [ "$1" == 0 ]; then |