diff --git a/haproxy.changes b/haproxy.changes index 95dca31..e1d1343 100644 --- a/haproxy.changes +++ b/haproxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 17 11:41:35 UTC 2018 - kgronlund@suse.com + +- Require apparmor-abstractions to reduce dependencies (bsc#1100787) + ------------------------------------------------------------------- Thu Aug 16 07:08:12 UTC 2018 - kgronlund@suse.com diff --git a/haproxy.spec b/haproxy.spec index bbba4ad..14e1af7 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -46,8 +46,13 @@ Release: 0 # BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with apparmor} +%if 0%{?suse_version} <= 1315 BuildRequires: apparmor-profiles Requires: apparmor-profiles +%else +BuildRequires: apparmor-abstractions +Requires: apparmor-abstractions +%endif %if 0%{?suse_version} >= 1315 BuildRequires: apparmor-rpm-macros %endif