/[smecontribs]/rpms/smeserver-mysql57/contribs10/smeserver-mysql57.spec
ViewVC logotype

Diff of /rpms/smeserver-mysql57/contribs10/smeserver-mysql57.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Wed Feb 23 21:14:00 2022 UTC Revision 1.6 by jpp, Sun Mar 13 03:02:21 2022 UTC
# Line 2  Summary: smeserver specific mysql57 conf Line 2  Summary: smeserver specific mysql57 conf
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 15
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 19  Patch7: smeserver-mysql57-2.0.0-SME10197 Line 19  Patch7: smeserver-mysql57-2.0.0-SME10197
19  Patch8: smeserver-mysql57-2.0.0-SME10202-prebackup.patch  Patch8: smeserver-mysql57-2.0.0-SME10202-prebackup.patch
20  Patch9: smeserver-mysql57-2.0.0-SME10830-user.frm.patch  Patch9: smeserver-mysql57-2.0.0-SME10830-user.frm.patch
21  Patch10: smeserver-mysql57-2.0.0-bz11877-systemd.patch  Patch10: smeserver-mysql57-2.0.0-bz11877-systemd.patch
22    Patch11: smeserver-mysql57-2.0.0-bz11896-initscripts.patch
23    
24  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 30  BuildRequires: e-smith-devtools >= 1.13. Line 31  BuildRequires: e-smith-devtools >= 1.13.
31  AutoReqProv: no  AutoReqProv: no
32    
33  %changelog  %changelog
34    * Sat Mar 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-15.sme
35    - fix mysql.init and few other scripts [SME: 11896]
36    
37    * Thu Feb 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-14.sme
38    - expand phpmyadmin config file on install [SME: 11877]
39    
40  * 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
41  - adapt for SME10 [SME: 11877]  - adapt for SME10 [SME: 11877]
42    systemd service files    systemd service files
# Line 91  mysql57. Line 98  mysql57.
98  %patch8 -p1  %patch8 -p1
99  %patch9 -p1  %patch9 -p1
100  %patch10 -p1  %patch10 -p1
101    %patch11 -p1
102    
103  %build  %build
104  mkdir -p root/etc/e-smith/sql/init57  mkdir -p root/etc/e-smith/sql/init57
# Line 116  rm -rf root/var/service Line 124  rm -rf root/var/service
124  mkdir -p root/var/log/mysql57-mysqld  mkdir -p root/var/log/mysql57-mysqld
125  mkdir -p root/home/e-smith/db/mysql57  mkdir -p root/home/e-smith/db/mysql57
126  rm -rf root/etc/e-smith/templates.metadata/var/service  rm -rf root/etc/e-smith/templates.metadata/var/service
127    rm -rf root/service
128    rm -rf root/etc/e-smith/templates/opt
129    rm -rf root/etc/e-smith/templates/var/service
130    
131  %install  %install
132  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 125  rm -rf $RPM_BUILD_ROOT Line 136  rm -rf $RPM_BUILD_ROOT
136      --file /sbin/e-smith/systemd/mysql57-mysql.init 'attr(0757,mysql,mysql)' \      --file /sbin/e-smith/systemd/mysql57-mysql.init 'attr(0757,mysql,mysql)' \
137      --dir /var/log/mysql57-mysqld 'attr(2750,root,root)' \      --dir /var/log/mysql57-mysqld 'attr(2750,root,root)' \
138      --dir /home/e-smith/db/mysql57 'attr(0750,root,root)' \      --dir /home/e-smith/db/mysql57 'attr(0750,root,root)' \
139    | grep -vP '/opt/rh/rh-mysql57$' \
140    | grep -vP '/opt/rh/rh-mysql57/root$' \
141      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
142  #--dir /var/run/mysql57-mysqld 'attr(0757,mysql,mysql)' \  #--dir /var/run/mysql57-mysqld 'attr(0757,mysql,mysql)' \
143  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
144    # /opt/rh/rh-mysql57 and /opt/rh/rh-mysql57/root conflicts
145    
146    
147  %clean  %clean
148  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed