Accepting request 790598 from server:mail

OBS-URL: https://build.opensuse.org/request/show/790598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/exim?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2020-04-01 17:20:17 +00:00 committed by Git OBS Bridge
commit cb3fe4362f
2 changed files with 3 additions and 5 deletions

View File

@ -1,3 +1,5 @@
Wed Apr 1 12:52:10 UTC 2020 - wullinger@rz.uni-kiel.de
- don't create logfiles during install
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 13 08:48:53 CET 2020 - wullinger@rz.uni-kiel.de Mon Jan 13 08:48:53 CET 2020 - wullinger@rz.uni-kiel.de
- add a spec-file workaround for bsc#1160726 - add a spec-file workaround for bsc#1160726

View File

@ -73,7 +73,7 @@ Requires(pre): group(mail)
Requires(pre): fileutils textutils Requires(pre): fileutils textutils
%endif %endif
Version: 4.93.0.4 Version: 4.93.0.4
Release: 1 Release: 2
%if %{with_mysql} %if %{with_mysql}
BuildRequires: mysql-devel BuildRequires: mysql-devel
%endif %endif
@ -415,10 +415,6 @@ if ! test -s etc/exim/exim.conf; then
echo copying default config file to /etc/exim/exim.conf echo copying default config file to /etc/exim/exim.conf
fi fi
fi fi
# create logfiles if missing
for i in var/log/exim/main.log var/log/exim/panic.log var/log/exim/reject.log; do
if ! test -e $i; then touch $i; chown mail:mail $i; chmod 640 $i ; fi
done
%if 0%{?suse_version} > 1220 %if 0%{?suse_version} > 1220
%{fillup_only} %{fillup_only}
%service_add_post exim.service %service_add_post exim.service