1 |
# $Id: e-smith-mysql.spec,v 1.4 2016/03/31 11:25:33 unnilennium Exp $ |
# $Id: e-smith-mysql.spec,v 1.5 2016/03/31 12:57:40 unnilennium 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.6.0 |
%define version 2.6.0 |
7 |
%define release 4 |
%define release 5 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
25 |
|
- Remove uneeded scriplets %post and %postun [SME: 9422] |
26 |
|
|
27 |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
28 |
- new path for pid file with mariadb [SME: 9407] |
- new path for pid file with mariadb [SME: 9407] |
29 |
- my.cnf : Innodb needs to be active for mariadb [SME: 9406] |
- my.cnf : Innodb needs to be active for mariadb [SME: 9406] |
753 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
754 |
|
|
755 |
%post |
%post |
|
# mysql.com compatibility |
|
|
[ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld |
|
|
# We remove this because the template has been renamed |
|
|
/bin/rm -f /etc/e-smith/events/bootstrap-console-save/templates2expand/etc/e-smith/sql/init/10fix_privilege_tables |
|
|
|
|
756 |
|
|
757 |
%postun |
%postun |
|
if [ "$1" == 0 ]; then |
|
|
[ -L /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld || : |
|
|
fi |
|
758 |
|
|
759 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
760 |
%defattr(-,root,root) |
%defattr(-,root,root) |