Accepting request 147838 from server:mail
Execute the run_permissions macro on pre-11.4 systems and else the set_permission one if available; (bnc#764120). OBS-URL: https://build.opensuse.org/request/show/147838 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/exim?expand=0&rev=21
This commit is contained in:
commit
a2709c87cf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 19:02:27 UTC 2013 - lars@samba.org
|
||||
|
||||
- Execute the run_permissions macro on pre-11.4 systems and else the
|
||||
set_permission one if available; (bnc#764120).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 25 10:36:19 UTC 2012 - lars@samba.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package exim
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -319,7 +319,11 @@ install -m 0755 $RPM_SOURCE_DIR/eximstats-html-update.py $RPM_BUILD_ROOT/%{_sbin
|
||||
install -D -m 0644 $RPM_SOURCE_DIR/apparmor.usr.sbin.exim $RPM_BUILD_ROOT/etc/apparmor/profiles/extras/usr.sbin.exim
|
||||
|
||||
%post
|
||||
%if 0%{?suse_version} < 1131
|
||||
%run_permissions
|
||||
%else
|
||||
%set_permissions /usr/sbin/exim
|
||||
%endif
|
||||
if ! test -s etc/exim/exim.conf; then
|
||||
if test -s etc/exim.conf; then
|
||||
mv etc/exim.conf etc/exim/
|
||||
|
Loading…
x
Reference in New Issue
Block a user