diff --git a/iptables.spec b/iptables.spec index ef1d803c8b657858afdc836517da3e63db0854fe..48fc0103ad975aa90e8bff452dc525fd76995fd4 100644 --- a/iptables.spec +++ b/iptables.spec @@ -2,7 +2,7 @@ %global legacy_actions %{_libexecdir}/initscripts/legacy-actions Name: iptables Version: 1.8.4 -Release: 4 +Release: 5 Summary: IP packet filter administration utilities License: GPLv2 and Artistic Licence 2.0 and ISC URL: https://www.netfilter.org/ @@ -215,6 +215,13 @@ fi --slave $manpfx-restore.8.gz arptables-restore-man $manpfx-nft-restore.8.gz \ --slave $lepfx-helper arptables-helper $lepfx-nft-helper +if [ x`rpm -qa firewalld` != x ]; then + firews=`systemctl status firewalld | grep Active | awk '{print $3}'` + if [ "$firews" == "(running)" ]; then + %systemd_postun_with_restart firewalld.service + fi +fi + %postun nft if [ $1 -eq 0 ]; then for cmd in iptables ebtables arptables; do @@ -309,6 +316,12 @@ fi %{_mandir}/man8/xtables-legacy* %changelog +* Tue Jun 2 2020 gaihuiying - 1.8.4-5 +- Type: bugfix +- ID: NA +- SUG: NA +- DESC: solve firewalld error when install iptables-nft + * Wed May 6 2020 zhouxudong - 1.8.4-4 - Type: bugfix - ID: NA