Fix also postun script

This commit is contained in:
Petr Menšík 2019-05-06 14:04:12 +02:00
parent 926c8e07af
commit e97d036624

View File

@ -53,7 +53,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind Name: bind
License: MPLv2.0 License: MPLv2.0
Version: 9.11.6 Version: 9.11.6
Release: 4%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Release: 5%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32 Epoch: 32
Url: https://www.isc.org/downloads/bind/ Url: https://www.isc.org/downloads/bind/
# #
@ -1069,7 +1069,7 @@ fi
%?ldconfig %?ldconfig
# Package upgrade, not uninstall # Package upgrade, not uninstall
%systemd_postun_with_restart named.service %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 targeted %{selinuxbooleans}
%selinux_unset_booleans -s mls %{selinuxbooleans} %selinux_unset_booleans -s mls %{selinuxbooleans}
fi fi
@ -1519,6 +1519,9 @@ fi;
%changelog %changelog
* Mon May 06 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.6-5.P1
- Fix also postun script
* Mon May 06 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.6-4.P1 * Mon May 06 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.6-4.P1
- Fix error in scriptlet condition - Fix error in scriptlet condition