1 |
# $Id: e-smith-mysql.spec,v 1.7 2008/12/02 15:19:34 snetram Exp $ |
# $Id: e-smith-mysql.spec,v 1.11 2011/03/01 20:00:12 snetram 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.2.0 |
%define version 2.2.0 |
7 |
%define release 3 |
%define release 7 |
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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: e-smith-mysql-2.2.0-fixLogging.patch |
Patch0: e-smith-mysql-2.2.0-fixLogging.patch |
14 |
|
Patch1: e-smith-mysql-2.2.0-fix_number_strip.patch |
15 |
|
Patch2: e-smith-mysql-2.2.0-too-many-open-files-error.patch |
16 |
|
Patch3: e-smith-mysql-2.2.0-multilog.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: mysql-server |
Requires: mysql-server |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sun Apr 27 2014 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme |
28 |
|
- Move mysql logging to multilog [SME: 8356] |
29 |
|
|
30 |
|
* Tue Mar 1 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
31 |
|
- Cater for open_files_limit option my.cnf through database and template [SME: 6438] |
32 |
|
|
33 |
|
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
34 |
|
- Fix stripping of starting numbers from script [SME: 6316] |
35 |
|
|
36 |
|
* Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
37 |
|
- Fix %postun typo [SME: 6030] |
38 |
|
|
39 |
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
40 |
- Rework log-error logic [SME: 4807] |
- Rework log-error logic [SME: 4807] |
41 |
|
|
688 |
%prep |
%prep |
689 |
%setup |
%setup |
690 |
%patch0 -p1 |
%patch0 -p1 |
691 |
|
%patch1 -p1 |
692 |
|
%patch2 -p1 |
693 |
|
%patch3 -p1 |
694 |
|
|
695 |
%build |
%build |
696 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
742 |
|
|
743 |
%postun |
%postun |
744 |
if [ "$1" == 0 ]; then |
if [ "$1" == 0 ]; then |
745 |
[ -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 || : |
746 |
fi |
fi |
747 |
|
|
748 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |