/[smecontribs]/rpms/smeserver-automysqlbackup/contribs9/smeserver-automysqlbackup.spec
ViewVC logotype

Diff of /rpms/smeserver-automysqlbackup/contribs9/smeserver-automysqlbackup.spec

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

Revision 1.9 by jpp, Tue Nov 26 17:18:49 2019 UTC Revision 1.11 by jpp, Tue Nov 26 17:50:09 2019 UTC
# Line 1  Line 1 
1  %define name smeserver-automysqlbackup  %define name smeserver-automysqlbackup
2  %define version 3.0.RC6  %define version 3.0.RC6
3  %define release 13  %define release 14
4  %define rpmver   3.0.RC6  %define rpmver   3.0.RC6
5    
6  epoch: 2  epoch: 2
# Line 33  This script is based on automysqlbackup Line 33  This script is based on automysqlbackup
33    
34    
35  %changelog  %changelog
36  * Sun Sep 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.RC6-13.sme  * Sun Sep 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.RC6-14.sme
37  - fix multiple cause of error noise and performance [SME: 10806]  - fix multiple cause of error noise and performance [SME: 10806]
38    * avoid parallel run of all backups, cron template rewritten    * avoid parallel run of all backups, cron template rewritten
39    * avoid multiple parallel or repeated chmod and chown    * avoid multiple parallel or repeated chmod and chown
# Line 45  This script is based on automysqlbackup Line 45  This script is based on automysqlbackup
45    * remove default value in db for  Mysql55 Mysql57 Mymaria Mysql53    * remove default value in db for  Mysql55 Mysql57 Mymaria Mysql53
46    * default as enabled in fragments for all automysql My* properties    * default as enabled in fragments for all automysql My* properties
47  - create default user in dbs [SME: 10808]  - create default user in dbs [SME: 10808]
48    - tidy spec file
49    
50  * Mon Nov 26 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-11.sme  * Mon Nov 26 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-11.sme
51  - fix runmysqlscript to allow for change in Backupdir key [SME: 10655]  - fix runmysqlscript to allow for change in Backupdir key [SME: 10655]
# Line 90  rm -rf $RPM_BUILD_ROOT Line 91  rm -rf $RPM_BUILD_ROOT
91    
92  %build  %build
93  perl createlinks  perl createlinks
94    find . \( -name .gitinclude -o -name .gitignore \) -print0 | \
95                                                                    xargs -0 rm -f
96    
97  %install  %install
98  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
# Line 97  perl createlinks Line 100  perl createlinks
100  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
101  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
102  --file /sbin/e-smith/runmysqlbackup 'attr(0750,root,root)' \  --file /sbin/e-smith/runmysqlbackup 'attr(0750,root,root)' \
103    --dir /root/backup 'attr(0700,root,root)' \
104    --dir /root/backup/db 'attr(0700,root,root)' \
105    --dir /root/backup/db/daily 'attr(0700,root,root)' \
106    --dir /root/backup/db/fullschema 'attr(0700,root,root)' \
107    --dir /root/backup/db/latest 'attr(0700,root,root)' \
108    --dir /root/backup/db/monthly 'attr(0700,root,root)' \
109    --dir /root/backup/db/status 'attr(0700,root,root)' \
110    --dir /root/backup/db/tmp 'attr(0700,root,root)' \
111    --dir /root/backup/db/weekly 'attr(0700,root,root)' \
112  > %{name}-%{version}-filelist  > %{name}-%{version}-filelist
113    
114    
# Line 112  rm -rf $RPM_BUILD_ROOT Line 124  rm -rf $RPM_BUILD_ROOT
124  %post  %post
125    
126  #protect the backup folder  #protect the backup folder
127  chmod -R 700 /root/backup/db  chmod -R 700 /root/backup
128                                                            
129  %preun  %preun
130  %postun  %postun


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