--- rpms/smeserver-vacation/contribs10/smeserver-vacation.spec 2022/01/07 12:05:54 1.9 +++ rpms/smeserver-vacation/contribs10/smeserver-vacation.spec 2024/02/16 16:02:37 1.10 @@ -1,10 +1,10 @@ -# $Id: smeserver-vacation.spec,v 1.8 2021/08/25 01:13:05 terryfage Exp $ +# $Id: smeserver-vacation.spec,v 1.9 2022/01/07 12:05:54 brianr Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-vacation %define version 1.1 -%define release 34 +%define release 35 Summary: SME Server enhancement to enable vacation messages for users. Name: %{name} Version: %{version} @@ -42,6 +42,7 @@ Patch25: smeserver-vacation-1.1-Add-in-u Patch26: smeserver-vacation-1.1-bz11399-tableEncoding.patch Patch27: smeserver-vacation-1.1-locale-2021-08-25.patch Patch28: smeserver-vacation-1.1-Add-extra-class-in-div-for-AdminLTE.patch +Patch29: smeserver-vacation-1.1-Sort-out-html-chars-in-email-template.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} @@ -59,6 +60,10 @@ Optionally provides a user-manager panel enable vacation for themselves and to modify their own message %changelog +* Fri Feb 16 2024 Brian Read 1.1-35.sme +- Sort out html chars in email default [SME: 12475] +- Add signal-event refresh to spec file. [sme 12474] + * Fri Jan 07 2022 Brian Read 1.1-34.sme - Add-extra-class-in-div-for-AdminLTE [SME: 11834] @@ -391,6 +396,7 @@ enable vacation for themselves and to mo %patch26 -p1 %patch27 -p1 %patch28 -p1 +%patch29 -p1 %build perl createlinks @@ -428,13 +434,10 @@ if [ -d /etc/e-smith/events/conf-userpan /sbin/e-smith/signal-event conf-userpanel fi -#if (systemctl list-unit-files |grep smanager) then -# echo "Smanager restart in spec file" -# /sbin/e-smith/signal-event manager2-refresh; -# systemctl restart smanager -#else -# echo "No smanager restart in spec file" -#fi +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi %postun #uninstall