--- rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup.spec 2022/08/16 16:16:22 1.12 +++ rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup.spec 2023/06/16 12:39:15 1.16 @@ -1,6 +1,6 @@ %define name smeserver-automysqlbackup %define version 3.0.RC6 -%define release 28 +%define release 32 %define rpmver 3.0.RC6 epoch: 2 @@ -16,7 +16,7 @@ BuildRoot: /var/tmp/%{name}-%{v BuildArchitectures: noarch Requires: e-smith-base, e-smith-release >= 10 Requires: pax -Requires: automysqlbackup +Requires: automysqlbackup >= 3.0.RC6-8 BuildRequires: e-smith-devtools Patch0: smeserver-automysqlbackup-AdjustableCronJob.patch Patch1: smeserver-automysqlbackup-enhanced-templates.patch @@ -33,6 +33,8 @@ Patch11: smeserver-automysqlbackup-3.0.R Patch12: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-rename-cron-directories.patch Patch13: smeserver-automysqlbackup-3.0.RC6-bz11970.update-cron.2.patch Patch14: smeserver-automysqlbackup-3.0.RC6-bz11970.Add.Debug.patch +Patch15: smeserver-automysqlbackup-3.0.RC6-remove-myserver-conf-template.patch +Patch16: smeserver-automysqlbackup-3.0.RC6-bz12368-add-create-database.patch %description This RPM is an unofficial addon for the SME Server 10.x. @@ -40,8 +42,19 @@ The target audience is the Linux/E-smith who wants to backup their mysql databases with an automatic way. This script is based on automysqlbackup V3.0 - %changelog +* Wed Jun 14 2023 John Crisp 3.0.RC6-32.sme +- Add create_database to backups + +* Tue Oct 04 2022 John Crisp 3.0.RC6-31.sme +- Remove myserver.conf template expansion as template no longer exists + +* Mon Aug 22 2022 John Crisp 3.0.RC6-30.sme +- Forgot to change the version on the Changelog line below + +* Mon Aug 22 2022 John Crisp 3.0.RC6-29.sme +- Bump automysqlbackup requires + * Mon Aug 15 2022 John Crisp 3.0.RC6-28.sme - Add debug patch to conf files @@ -155,6 +168,8 @@ rm -rf $RPM_BUILD_ROOT %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 +%patch16 -p1 %build perl createlinks @@ -189,9 +204,14 @@ rm -rf $RPM_BUILD_ROOT %pre %post - #protect the backup folder chmod -R 700 /root/backup +echo "=======================================================================" +echo " " +echo " To update your templates please run" +echo " 'signal-event smeserver-automysqlbackup-update'" +echo " " +echo "=======================================================================" %preun %postun