1 |
|
# $Id: e-smith-mysql.spec,v 1.10 2010/10/28 18:15:40 slords 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 1.13.0 |
%define version 2.2.0 |
7 |
%define release 2 |
%define release 6 |
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-1.13.0-logging.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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: mysql-server |
Requires: mysql-server |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Tue Mar 1 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
27 |
|
- Cater for open_files_limit option my.cnf through database and template [SME: 6438] |
28 |
|
|
29 |
|
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
30 |
|
- Fix stripping of starting numbers from script [SME: 6316] |
31 |
|
|
32 |
|
* Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
33 |
|
- Fix %postun typo [SME: 6030] |
34 |
|
|
35 |
|
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
36 |
|
- Rework log-error logic [SME: 4807] |
37 |
|
|
38 |
|
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
39 |
|
- Fix log-error detection algorithm [SME: 4807] |
40 |
|
|
41 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
42 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
43 |
|
|
44 |
* Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2 |
* Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2 |
45 |
- Capture mysql.init error logs to syslog. [SME: 2918] |
- Capture mysql.init error logs to syslog. [SME: 2918] |
46 |
|
|
684 |
%prep |
%prep |
685 |
%setup |
%setup |
686 |
%patch0 -p1 |
%patch0 -p1 |
687 |
|
%patch1 -p1 |
688 |
|
%patch2 -p1 |
689 |
|
|
690 |
%build |
%build |
691 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
737 |
|
|
738 |
%postun |
%postun |
739 |
if [ "$1" == 0 ]; then |
if [ "$1" == 0 ]; then |
740 |
[ -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 || : |
741 |
fi |
fi |
742 |
|
|
743 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |