From 926c8e07afe22ee788200f2aa2371c53e4de4729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Mon, 6 May 2019 13:05:44 +0200 Subject: [PATCH] Fix error in scriptlet condition Selinux boolean is not correctly set, correct syntax of bash condition. --- bind.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index d80a7e0..a6298c2 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: 3%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} +Release: 4%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -1032,7 +1032,7 @@ fi; %post %?ldconfig -if -e %{_sysconfdir}/selinux/config; then +if [ -e "%{_sysconfdir}/selinux/config" ]; then %selinux_set_booleans -s targeted %{selinuxbooleans} %selinux_set_booleans -s mls %{selinuxbooleans} fi @@ -1519,6 +1519,9 @@ fi; %changelog +* Mon May 06 2019 Petr Menšík - 32:9.11.6-4.P1 +- Fix error in scriptlet condition + * Thu May 02 2019 Petr Menšík - 32:9.11.6-3.P1 - Fix inefective limit of TCP clients (CVE-2018-5743)