1 |
|
# $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 1.12.0 |
%define version 2.2.0 |
7 |
%define release 14 |
%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-1.12.0-setpassword.patch2 |
Patch0: e-smith-mysql-2.2.0-fixLogging.patch |
14 |
Patch1: e-smith-mysql-1.12.0-flushprivssemicolon.patch |
Patch1: e-smith-mysql-2.2.0-fix_number_strip.patch |
15 |
Patch2: e-smith-mysql-1.12.0-innodb-optional.patch |
Patch2: e-smith-mysql-2.2.0-too-many-open-files-error.patch |
16 |
Patch3: e-smith-mysql-1.12.0-install_db.patch |
Patch3: e-smith-mysql-2.2.0-multilog.patch |
|
Patch4: e-smith-mysql-1.12.0.disabled_pre_backup.patch |
|
|
Patch5: e-smith-mysql-1.12.0.failed_restore.patch |
|
|
Patch6: e-smith-mysql-1.12.0-split_backup_db.patch |
|
|
Patch7: e-smith-mysql-1.12.0-mysqluser.patch |
|
|
Patch8: e-smith-mysql-1.12.0-max_allowed_packet.patch |
|
|
Patch9: e-smith-mysql-1.12.0-max_allowed_packet2.patch |
|
|
Patch10: e-smith-mysql-1.12.0-force_upgrade.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 |
40 |
|
- Rework log-error logic [SME: 4807] |
41 |
|
|
42 |
|
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
43 |
|
- Fix log-error detection algorithm [SME: 4807] |
44 |
|
|
45 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
46 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
47 |
|
|
48 |
|
* Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2 |
49 |
|
- Capture mysql.init error logs to syslog. [SME: 2918] |
50 |
|
|
51 |
|
* Mon Oct 6 2008 Stephen Noble <support@dungog.net> 1.13.0-1 |
52 |
|
- Roll new dev stream [SME: 4627] |
53 |
|
|
54 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15 |
55 |
|
- quote "$1" in post uninstall script [SME: 349] |
56 |
|
|
57 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
58 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
59 |
|
|
691 |
%patch1 -p1 |
%patch1 -p1 |
692 |
%patch2 -p1 |
%patch2 -p1 |
693 |
%patch3 -p1 |
%patch3 -p1 |
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch10 -p1 |
|
694 |
|
|
695 |
%build |
%build |
696 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
741 |
[ -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 |
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 |