diff --git a/haproxy.changes b/haproxy.changes index 7ff7056..093b100 100644 --- a/haproxy.changes +++ b/haproxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 20 13:03:31 UTC 2018 - Marcus Rueckert + +- also fix the systemd case for the apparmor_reload change + ------------------------------------------------------------------- Thu Sep 20 12:50:35 UTC 2018 - Marcus Rueckert diff --git a/haproxy.spec b/haproxy.spec index f19dc86..d775eab 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -199,7 +199,7 @@ getent passwd %{pkg_name} >/dev/null || \ %service_add_pre %{pkg_name}.service %post -%if %{with apparmor} && (0%{?suse_version} >= 1315) +%if %{with apparmor} && %{with apparmor_reload} %apparmor_reload /etc/apparmor.d/usr.sbin.haproxy %endif %service_add_post %{pkg_name}.service