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.6 2014/02/02 20:19:03 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 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Mon Mar 17 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
29 |
|
- Use mysql_upgrade in 00_restore_dumped_dbs, by Terje Edseth [SME: 8166] |
30 |
|
|
31 |
* 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 |
32 |
- 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] |
33 |
|
|
737 |
%post |
%post |
738 |
# mysql.com compatibility |
# mysql.com compatibility |
739 |
[ -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 |
740 |
|
# We remove this because the template has been renamed |
741 |
|
/bin/rm -f /etc/e-smith/events/bootstrap-console-save/templates2expand/etc/e-smith/sql/init/10fix_privilege_tables |
742 |
|
|
743 |
|
|
744 |
%postun |
%postun |
745 |
if [ "$1" == 0 ]; then |
if [ "$1" == 0 ]; then |