diff --git a/bind.spec b/bind.spec index a6298c2..459e55c 100644 --- a/bind.spec +++ b/bind.spec @@ -53,7 +53,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.11.6 -Release: 4%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} +Release: 5%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -1069,7 +1069,7 @@ fi %?ldconfig # Package upgrade, not uninstall %systemd_postun_with_restart named.service -if -e %{_sysconfdir}/selinux/config; then +if [ -e "%{_sysconfdir}/selinux/config" ]; then %selinux_unset_booleans -s targeted %{selinuxbooleans} %selinux_unset_booleans -s mls %{selinuxbooleans} fi @@ -1519,6 +1519,9 @@ fi; %changelog +* Mon May 06 2019 Petr Menšík - 32:9.11.6-5.P1 +- Fix also postun script + * Mon May 06 2019 Petr Menšík - 32:9.11.6-4.P1 - Fix error in scriptlet condition