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 13 |
%define release 14 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-14.sme |
34 |
|
- expand phpmyadmin config file on install [SME: 11877] |
35 |
|
|
36 |
* Wed Feb 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-13.sme |
* Wed Feb 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-13.sme |
37 |
- adapt for SME10 [SME: 11877] |
- adapt for SME10 [SME: 11877] |
38 |
systemd service files |
systemd service files |
120 |
mkdir -p root/home/e-smith/db/mysql57 |
mkdir -p root/home/e-smith/db/mysql57 |
121 |
rm -rf root/etc/e-smith/templates.metadata/var/service |
rm -rf root/etc/e-smith/templates.metadata/var/service |
122 |
rm -rf root/service |
rm -rf root/service |
123 |
|
rm -rf root/etc/e-smith/templates/opt |
124 |
|
rm -rf root/etc/e-smith/templates/var/service |
125 |
|
|
126 |
%install |
%install |
127 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
131 |
--file /sbin/e-smith/systemd/mysql57-mysql.init 'attr(0757,mysql,mysql)' \ |
--file /sbin/e-smith/systemd/mysql57-mysql.init 'attr(0757,mysql,mysql)' \ |
132 |
--dir /var/log/mysql57-mysqld 'attr(2750,root,root)' \ |
--dir /var/log/mysql57-mysqld 'attr(2750,root,root)' \ |
133 |
--dir /home/e-smith/db/mysql57 'attr(0750,root,root)' \ |
--dir /home/e-smith/db/mysql57 'attr(0750,root,root)' \ |
134 |
|
| grep -vP '/opt/rh/rh-mysql57$' \ |
135 |
|
| grep -vP '/opt/rh/rh-mysql57/root$' \ |
136 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
137 |
#--dir /var/run/mysql57-mysqld 'attr(0757,mysql,mysql)' \ |
#--dir /var/run/mysql57-mysqld 'attr(0757,mysql,mysql)' \ |
138 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
139 |
|
# /opt/rh/rh-mysql57 and /opt/rh/rh-mysql57/root conflicts |
140 |
|
|
141 |
|
|
142 |
%clean |
%clean |
143 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |