From 25c4b016622ef8ea1b9135a5c4d948c38b42260f Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Apr 30 2019 18:08:08 +0000 Subject: spec: fix f28 rpm without firewalld zone Commit 3b71f2e42d added spec handling for with_firewalld_zone. We now call %firewalld_reload if with_firewalld is set. But the matching 'BuildRequires: firewalld-filesystem' is only applied if with_firewalld_zone is set. Fix the former bit to use with_firewalld_zone Reviewed-by: Laine Stump Reported-by: Yuval Turgeman Signed-off-by: Cole Robinson --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 18f0a0e..876b2f0 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1387,12 +1387,12 @@ fi rm -rf %{_localstatedir}/lib/rpm-state/libvirt || : %post daemon-driver-network -%if %{with_firewalld} +%if %{with_firewalld_zone} %firewalld_reload %endif %postun daemon-driver-network -%if %{with_firewalld} +%if %{with_firewalld_zone} %firewalld_reload %endif