2 |
%define name smeserver-mysql57 |
%define name smeserver-mysql57 |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 2.0.0 |
%define version 2.0.0 |
5 |
%define release 5 |
%define release 10 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
11 |
Patch0: smeserver-mysql57-2.0.0-SME10096.patch |
Patch0: smeserver-mysql57-2.0.0-SME10096.patch |
12 |
Patch1: smeserver-mysql57-2.0.0-SME10145-phmyadminFragment.patch |
Patch1: smeserver-mysql57-2.0.0-SME10145-phmyadminFragment.patch |
13 |
Patch2: smeserver-mysql57-2.0.0-SME10146-aliases.patch |
Patch2: smeserver-mysql57-2.0.0-SME10146-aliases.patch |
14 |
|
Patch3: smeserver-mysql57-2.0.0-SME10147-rhpath.patch |
15 |
|
Patch4: smeserver-mysql57-2.0.0-SME10148.patch |
16 |
|
Patch5: smeserver-mysql57-2.0.0-SME10148-initializeDB.patch |
17 |
|
Patch6: smeserver-mysql57-2.0.0-SME10148-initializeDB2.patch |
18 |
|
Patch7: smeserver-mysql57-2.0.0-SME10197.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: rh-mysql57 |
Requires: rh-mysql57 |
22 |
Requires: e-smith-base |
Requires: e-smith-base |
23 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
24 |
|
|
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Thu Mar 30 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-10.sme |
30 |
|
- fix initialize and load table [SME: 10197] |
31 |
|
|
32 |
|
* Wed Mar 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-9.sme |
33 |
|
- some more modification to allow initialization [SME: 10148] |
34 |
|
- error log was missing stoping initialization |
35 |
|
- tweaking log format for system time |
36 |
|
|
37 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-7.sme |
38 |
|
- update run file and template paths [SME: 10148] |
39 |
|
- r8: add link for configuration ln -s /etc/opt/rh/rh-mysql57 /opt/rh/rh-mysql57/root/etc |
40 |
|
- update run, set.password and my.cnf for rh-mysql57 |
41 |
|
|
42 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-6.sme |
43 |
|
- fix wrong path /opt/rh/mysql57/ [SME: 10147] |
44 |
|
|
45 |
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
46 |
- NFR new aliases for fast use: mysql57 mysqlshow57 mysqladmin57 mysqldump57 mysqlimport57 mysqlbinlog57 [SME: 10146] |
- NFR new aliases for fast use: mysql57 mysqlshow57 mysqladmin57 mysqldump57 mysqlimport57 mysqlbinlog57 [SME: 10146] |
47 |
|
|
67 |
%patch0 -p1 |
%patch0 -p1 |
68 |
%patch1 -p1 |
%patch1 -p1 |
69 |
%patch2 -p1 |
%patch2 -p1 |
70 |
|
%patch3 -p1 |
71 |
|
%patch4 -p1 |
72 |
|
%patch5 -p1 |
73 |
|
%patch6 -p1 |
74 |
|
%patch7 -p1 |
75 |
|
|
76 |
|
|
77 |
%build |
%build |
78 |
mkdir -p root/etc/e-smith/sql/init57 |
mkdir -p root/etc/e-smith/sql/init57 |
79 |
|
mkdir -p root/opt/rh/rh-mysql57/root |
80 |
perl createlinks |
perl createlinks |
81 |
|
|
82 |
# add this for mysql.com rpm compatibility |
# add this for mysql.com rpm compatibility |