SHA256
1
0
forked from pool/haproxy

- instead of owning the apparmor directories, BR apparmor-profiles.

OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=124
This commit is contained in:
Marcus Rückert 2015-11-21 01:15:34 +00:00 committed by Git OBS Bridge
parent caf6874175
commit 509735af61
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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