]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: fix f28 rpm without firewalld zone
authorCole Robinson <crobinso@redhat.com>
Tue, 30 Apr 2019 14:39:31 +0000 (10:39 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 30 Apr 2019 18:08:08 +0000 (14:08 -0400)
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 <laine@laine.org>
Reported-by: Yuval Turgeman <yturgema@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
libvirt.spec.in

index 18f0a0e217f97cbca5ddfa7d5fb30e03a0a5cb17..876b2f0897da91b99028cc4bdee7b6b8da27703c 100644 (file)
@@ -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