diff --git a/haproxy.changes b/haproxy.changes index 0441e00..a90b4b7 100644 --- a/haproxy.changes +++ b/haproxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 21 01:15:07 UTC 2015 - mrueckert@suse.de + +- instead of owning the apparmor directories, BR apparmor-profiles. + ------------------------------------------------------------------- Tue Nov 10 14:50:26 UTC 2015 - mrueckert@suse.de diff --git a/haproxy.spec b/haproxy.spec index 9b4ea66..3f168c5 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -46,6 +46,9 @@ Release: 0 # # BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with apparmor} +BuildRequires: apparmor-profiles +%endif BuildRequires: libgcrypt-devel %if %{with lua} BuildRequires: lua-devel >= 5.3 @@ -228,8 +231,6 @@ rm examples/haproxy.spec examples/*init* examples/haproxy.vim %{_mandir}/man1/%{pkg_name}.1.gz %{vim_data_dir}/syntax/%{pkg_name}.vim %if %{with apparmor} -%dir /etc/apparmor.d/ -%dir /etc/apparmor.d/local/ %config(noreplace) /etc/apparmor.d/usr.sbin.haproxy %config(noreplace) /etc/apparmor.d/local/usr.sbin.haproxy %endif