From d334366f8a5a34fb1f7dc2c3add4e68529ebf7a1 Mon Sep 17 00:00:00 2001 From: renmingshuai Date: Thu, 9 Feb 2023 21:43:19 +0800 Subject: [PATCH] bind:fix output expected information when install bing-sdborbind-sdb-chroot --- bind.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index aa3f8ae..e87c837 100644 --- a/bind.spec +++ b/bind.spec @@ -30,7 +30,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.16.37 -Release: 1 +Release: 2 Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -813,7 +813,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" ]; \ + if [ -e "$DEV" ] && [ "$(/bin/stat --printf="%G %a" "$DEV")" = "root 644" ]; \ then \ /bin/chmod 0664 "$DEV" \ /bin/chgrp named "$DEV" \ @@ -1086,6 +1086,12 @@ fi; %endif %changelog +* Thu Feb 09 2023 zhanghao - 32:9.16.37-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix output expected information when install bing-sdborbind-sdb-chroot + * Tue Feb 07 2023 zhanghao - 32:9.16.37-1 - Type:requirement - CVE:NA -- Gitee