From d7e62a50bdd206f4e05d4b56c9f346394e7ed183 Mon Sep 17 00:00:00 2001 From: TomNewChao Date: Tue, 29 Aug 2023 11:24:06 +0800 Subject: [PATCH] fix bug about print error message in install exim-clamav and exim-greylist --- exim.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/exim.spec b/exim.spec index 2353e01..5b4a458 100644 --- a/exim.spec +++ b/exim.spec @@ -4,7 +4,7 @@ Summary: The exim mail transfer agent Name: exim Version: 4.96 -Release: 2 +Release: 3 License: GPLv2+ Url: https://www.exim.org/ @@ -365,7 +365,7 @@ fi %post greylist if [ ! -r %{_var}/spool/exim/db/greylist.db ]; then sqlite3 %{_var}/spool/exim/db/greylist.db < %{_sysconfdir}/exim/mk-greylist-db.sql - chown exim.exim %{_var}/spool/exim/db/greylist.db + chown exim:exim %{_var}/spool/exim/db/greylist.db chmod 0660 %{_var}/spool/exim/db/greylist.db fi @@ -446,7 +446,7 @@ fi /bin/mkdir -pm 0750 %{_var}/run/clamd.exim /bin/chown exim:exim %{_var}/run/clamd.exim /bin/touch %{_var}/log/clamd.exim -/bin/chown exim.exim %{_var}/log/clamd.exim +/bin/chown exim:exim %{_var}/log/clamd.exim /sbin/restorecon %{_var}/log/clamd.exim if [ $1 -eq 1 ] ; then /bin/systemctl daemon-reload >/dev/null 2>&1 || : @@ -482,6 +482,9 @@ fi %{_sysconfdir}/cron.daily/greylist-tidy.sh %changelog +* Tue Aug 29 2023 zhuchao - 4.96-3 +- DESC:fix bug about print error message in install exim-clamav and exim-greylist + * Thur Feb 16 2023 zhuchao - 4.96-2 - DESC:add build requirement init -- Gitee