/[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.10 by jpp, Tue Nov 26 17:38:54 2019 UTC
# Line 90  rm -rf $RPM_BUILD_ROOT Line 90  rm -rf $RPM_BUILD_ROOT
90    
91  %build  %build
92  perl createlinks  perl createlinks
93    find . \( -name .gitinclude -o -name .gitignore \) -print0 | \
94                                                                    xargs -0 rm -f
95    
96  %install  %install
97  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
# Line 97  perl createlinks Line 99  perl createlinks
99  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
100  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
101  --file /sbin/e-smith/runmysqlbackup 'attr(0750,root,root)' \  --file /sbin/e-smith/runmysqlbackup 'attr(0750,root,root)' \
102    --dir /root/backup 'attr(0700,root,root)' \
103    --dir /root/backup/db 'attr(0700,root,root)' \
104    --dir /root/backup/db/daily 'attr(0700,root,root)' \
105    --dir /root/backup/db/fullschema 'attr(0700,root,root)' \
106    --dir /root/backup/db/latest 'attr(0700,root,root)' \
107    --dir /root/backup/db/monthly 'attr(0700,root,root)' \
108    --dir /root/backup/db/status 'attr(0700,root,root)' \
109    --dir /root/backup/db/tmp 'attr(0700,root,root)' \
110    --dir /root/backup/db/weekly 'attr(0700,root,root)' \
111  > %{name}-%{version}-filelist  > %{name}-%{version}-filelist
112    
113    
# Line 112  rm -rf $RPM_BUILD_ROOT Line 123  rm -rf $RPM_BUILD_ROOT
123  %post  %post
124    
125  #protect the backup folder  #protect the backup folder
126  chmod -R 700 /root/backup/db  chmod -R 700 /root/backup
127                                                            
128  %preun  %preun
129  %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