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 4 |
%define release 9 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: rh-mysql57 |
Requires: rh-mysql57 |
21 |
Requires: e-smith-base |
Requires: e-smith-base |
22 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
23 |
|
|
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Wed Mar 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-9.sme |
29 |
|
- some more modification to allow initialization [SME: 10148] |
30 |
|
- error log was missing stoping initialization |
31 |
|
- tweaking log format for system time |
32 |
|
|
33 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-7.sme |
34 |
|
- update run file and template paths [SME: 10148] |
35 |
|
- r8: add link for configuration ln -s /etc/opt/rh/rh-mysql57 /opt/rh/rh-mysql57/root/etc |
36 |
|
- update run, set.password and my.cnf for rh-mysql57 |
37 |
|
|
38 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-6.sme |
39 |
|
- fix wrong path /opt/rh/mysql57/ [SME: 10147] |
40 |
|
|
41 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
42 |
|
- NFR new aliases for fast use: mysql57 mysqlshow57 mysqladmin57 mysqldump57 mysqlimport57 mysqlbinlog57 [SME: 10146] |
43 |
|
|
44 |
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-4.sme |
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-4.sme |
45 |
- fix conflict with mysql55 phpmyadmin fragment [SME: 10145] |
- fix conflict with mysql55 phpmyadmin fragment [SME: 10145] |
46 |
|
|
62 |
%setup |
%setup |
63 |
%patch0 -p1 |
%patch0 -p1 |
64 |
%patch1 -p1 |
%patch1 -p1 |
65 |
|
%patch2 -p1 |
66 |
|
%patch3 -p1 |
67 |
|
%patch4 -p1 |
68 |
|
%patch5 -p1 |
69 |
|
%patch6 -p1 |
70 |
|
|
71 |
%build |
%build |
72 |
mkdir -p root/etc/e-smith/sql/init57 |
mkdir -p root/etc/e-smith/sql/init57 |
73 |
|
mkdir -p root/opt/rh/rh-mysql57/root |
74 |
perl createlinks |
perl createlinks |
75 |
|
|
76 |
# add this for mysql.com rpm compatibility |
# add this for mysql.com rpm compatibility |