commit 967087a59b836e338d985c1b20ed7a0bd0a74abc
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Mon Jul 30 16:12:32 2018 -0500
Add requires for firewalld macros
kodi.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/kodi.spec b/kodi.spec
index a12edb4..cd8bf48 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -275,6 +275,7 @@ library.
%package firewalld
Summary: FirewallD metadata files for Kodi
Requires: firewalld-filesystem
+Requires(post): firewalld-filesystem
%description firewalld
This package contains FirewallD files for Kodi.
@@ -334,6 +335,10 @@ mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/
mv docs/manpages ${RPM_BUILD_ROOT}%{_mandir}/man1/
+%post firewalld
+%firewalld_reload
+
+
%files
%license copying.txt LICENSE.GPL
%doc CONTRIBUTING.md README.md docs