diff --git a/exim.changes b/exim.changes index 7e80739..0ec7f50 100644 --- a/exim.changes +++ b/exim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 3 19:07:16 UTC 2016 - opensuse@cboltz.de + +- Move AppArmor profile to /usr/share/apparmor/extra-profiles/, which is + the directory for inactive profiles since AppArmor 2.9 + ------------------------------------------------------------------- Fri Dec 11 10:44:26 UTC 2015 - lmuelle@suse.com diff --git a/exim.spec b/exim.spec index 67103e8..ea1e9e6 100644 --- a/exim.spec +++ b/exim.spec @@ -1,7 +1,7 @@ # # spec file for package exim # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -333,7 +333,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/apache2/conf.d/ %endif install -m 0755 $RPM_SOURCE_DIR/eximstats-html-update.py $RPM_BUILD_ROOT/%{_sbindir} # apparmor profile -install -D -m 0644 $RPM_SOURCE_DIR/apparmor.usr.sbin.exim $RPM_BUILD_ROOT/etc/apparmor/profiles/extras/usr.sbin.exim +install -D -m 0644 $RPM_SOURCE_DIR/apparmor.usr.sbin.exim $RPM_BUILD_ROOT/usr/share/apparmor/extra-profiles/usr.sbin.exim %pre %if 0%{?suse_version} > 1220 @@ -417,10 +417,9 @@ exit 0 %if %{?suse_version:%suse_version}%{?!suse_version:99999} < 1000 %config(noreplace) /etc/permissions.d/exim %endif -%dir /etc/apparmor -%dir /etc/apparmor/profiles -%dir /etc/apparmor/profiles/extras -%config(noreplace) /etc/apparmor/profiles/extras/usr.sbin.exim +%dir /usr/share/apparmor +%dir /usr/share/apparmor/extra-profiles +%config(noreplace) /usr/share/apparmor/extra-profiles/usr.sbin.exim /usr/sbin/rcexim /usr/bin/mailq /usr/bin/runq