Accepting request 725263 from home:kukuk:branches:server:http

- Use %license instead of %doc [bsc#1082318]
- Recommend apparmor, it's not required to work (make haproxy useable in a container)

OBS-URL: https://build.opensuse.org/request/show/725263
OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=192
This commit is contained in:
Kristoffer Gronlund 2019-09-19 11:49:19 +00:00 committed by Git OBS Bridge
parent 530d7f588c
commit f2059c30e6
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 22 11:23:04 CEST 2019 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
- Recommend apparmor, it's not required to work (make haproxy
useable in a container)
-------------------------------------------------------------------
Tue Aug 20 15:05:47 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package haproxy
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -55,10 +55,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with apparmor}
%if 0%{?suse_version} <= 1315
BuildRequires: apparmor-profiles
Requires: apparmor-profiles
Recommends: apparmor-profiles
%else
BuildRequires: apparmor-abstractions
Requires: apparmor-abstractions
Recommends: apparmor-abstractions
%endif
%if %{with apparmor_reload}
BuildRequires: apparmor-rpm-macros
@ -230,7 +230,8 @@ getent passwd %{pkg_name} >/dev/null || \
%files
%defattr(-,root,root,-)
%doc CHANGELOG README LICENSE
%license LICENSE
%doc CHANGELOG README
%doc ROADMAP doc/* examples/
%doc contrib/netsnmp-perl/ contrib/selinux/
%dir %attr(-,root,haproxy) %{_sysconfdir}/%{pkg_name}