From 2e590215aa46f243b56f15a288c0f537e1bb8258 Mon Sep 17 00:00:00 2001 From: chengyechun Date: Fri, 9 Sep 2022 15:21:10 +0800 Subject: [PATCH] fix output expected information when install bind-sdb or bind-sdb-chroot Signed-off-by: huangyu --- bind.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index 7bc6b89..41fffce 100644 --- a/bind.spec +++ b/bind.spec @@ -19,7 +19,7 @@ Name: bind Summary: Domain Name System (DNS) Server (named) License: MPLv2.0 Version: 9.11.21 -Release: 13 +Release: 14 Epoch: 32 Url: http://www.isc.org/products/BIND/ Source0: https://ftp.isc.org/isc/bind9/9.11.21/bind-%{version}.tar.gz @@ -966,7 +966,7 @@ fi %define chroot_fix_devices() \ if [ $1 -gt 1 ]; then \ for DEV in "%{1}/dev"/{null,random,zero}; do \ - if [ -e "$DEV" -a "$(/bin/stat --printf="%G %a" "$DEV")" = "root 644" ]; then \ + if [ -e "$DEV" ] && [ "$(/bin/stat --printf="%G %a" "$DEV")" = "root 644" ]; then \ /bin/chmod 0664 "$DEV" \ /bin/chgrp named "$DEV" \ fi \ @@ -1295,6 +1295,12 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Fri Sep 09 2022 huangyu - 32:9.11.21-14 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix output expected information when install bing-sdborbind-sdb-chroot + * Sat Sep 03 2022 jiangheng - 32:9.11.21-13 - Type:bugfix - ID:NA -- Gitee