- 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:
parent
caf6874175
commit
509735af61
@ -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
|
Tue Nov 10 14:50:26 UTC 2015 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@ -46,6 +46,9 @@ Release: 0
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if %{with apparmor}
|
||||||
|
BuildRequires: apparmor-profiles
|
||||||
|
%endif
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
%if %{with lua}
|
%if %{with lua}
|
||||||
BuildRequires: lua-devel >= 5.3
|
BuildRequires: lua-devel >= 5.3
|
||||||
@ -228,8 +231,6 @@ rm examples/haproxy.spec examples/*init* examples/haproxy.vim
|
|||||||
%{_mandir}/man1/%{pkg_name}.1.gz
|
%{_mandir}/man1/%{pkg_name}.1.gz
|
||||||
%{vim_data_dir}/syntax/%{pkg_name}.vim
|
%{vim_data_dir}/syntax/%{pkg_name}.vim
|
||||||
%if %{with apparmor}
|
%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/usr.sbin.haproxy
|
||||||
%config(noreplace) /etc/apparmor.d/local/usr.sbin.haproxy
|
%config(noreplace) /etc/apparmor.d/local/usr.sbin.haproxy
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user