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 3 |
%define release 8 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: rh-mysql57 |
Requires: rh-mysql57 |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-7.sme |
27 |
|
- update run file and template paths [SME: 10148] |
28 |
|
- r8: add link for configuration ln -s /etc/opt/rh/rh-mysql57 /opt/rh/rh-mysql57/root/etc |
29 |
|
- update run, set.password and my.cnf for rh-mysql57 |
30 |
|
|
31 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-6.sme |
32 |
|
- fix wrong path /opt/rh/mysql57/ [SME: 10147] |
33 |
|
|
34 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
35 |
|
- NFR new aliases for fast use: mysql57 mysqlshow57 mysqladmin57 mysqldump57 mysqlimport57 mysqlbinlog57 [SME: 10146] |
36 |
|
|
37 |
|
* Sun Mar 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-4.sme |
38 |
|
- fix conflict with mysql55 phpmyadmin fragment [SME: 10145] |
39 |
|
|
40 |
* Wed Mar 08 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-3.sme |
* Wed Mar 08 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-3.sme |
41 |
- fix init57 not used by dedicated mysql.init [SME: 10096] |
- fix init57 not used by dedicated mysql.init [SME: 10096] |
42 |
|
|
54 |
%prep |
%prep |
55 |
%setup |
%setup |
56 |
%patch0 -p1 |
%patch0 -p1 |
57 |
|
%patch1 -p1 |
58 |
|
%patch2 -p1 |
59 |
|
%patch3 -p1 |
60 |
|
%patch4 -p1 |
61 |
|
%patch5 -p1 |
62 |
|
|
63 |
%build |
%build |
64 |
mkdir -p root/etc/e-smith/sql/init57 |
mkdir -p root/etc/e-smith/sql/init57 |
65 |
|
mkdir -p root/opt/rh/rh-mysql57/root |
66 |
perl createlinks |
perl createlinks |
67 |
|
|
68 |
# add this for mysql.com rpm compatibility |
# add this for mysql.com rpm compatibility |