From 509735af61803de3c237fe969b23455c3c68e41d64e9492c6ba61ba09ea508fe Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Sat, 21 Nov 2015 01:15:34 +0000 Subject: [PATCH] - instead of owning the apparmor directories, BR apparmor-profiles. OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=124 --- haproxy.changes | 5 +++++ haproxy.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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