1 |
# $Id: e-smith-mysql.spec,v 1.1 2016/02/05 22:29:58 stephdl 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 2 |
%define release 5 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-mysql-2.6.0-mariadb1.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: mariadb-server |
Requires: mariadb-server |
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 |
28 |
|
- new path for pid file with mariadb [SME: 9407] |
29 |
|
- my.cnf : Innodb needs to be active for mariadb [SME: 9406] |
30 |
|
|
31 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
32 |
- fix mysql-server not found [SME: 9345] |
- fix mysql-server not found [SME: 9345] |
33 |
- now using mariadb-server and mariadb |
- now using mariadb-server and mariadb |
34 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
35 |
|
by assuming the date is correct and changing the weekday. |
36 |
|
Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or .... |
37 |
|
|
38 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
39 |
- Initial release to sme10 |
- Initial release to sme10 |
475 |
- [1.3.0-12] |
- [1.3.0-12] |
476 |
- force mysql.init to print to stderr instead of stout |
- force mysql.init to print to stderr instead of stout |
477 |
|
|
478 |
* Wed Mar 23 2001 Tony Clayton <tonyc@e-smith.com> |
* Fri Mar 23 2001 Tony Clayton <tonyc@e-smith.com> |
479 |
|
Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or .... |
480 |
- [1.3.0-11] |
- [1.3.0-11] |
481 |
- fixed uninitialized value error in conf-mysql-startup |
- fixed uninitialized value error in conf-mysql-startup |
482 |
|
|
727 |
|
|
728 |
%prep |
%prep |
729 |
%setup |
%setup |
730 |
|
%patch0 -p1 |
731 |
|
|
732 |
|
|
733 |
%build |
%build |
734 |
perl createlinks |
perl createlinks |
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) |