diff --git a/exim.changes b/exim.changes index 3ec8b13..578e56b 100644 --- a/exim.changes +++ b/exim.changes @@ -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 diff --git a/exim.spec b/exim.spec index 58152ab..cf82b25 100644 --- a/exim.spec +++ b/exim.spec @@ -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/