!45 fix post error "No such file or directory"

From: @eaglegai 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2023-08-07 07:38:02 +00:00 committed by Gitee
commit 184028d63b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: ebtables
Version: 2.0.11
Release: 8
Release: 9
Summary: A filtering tool for a Linux-based bridging firewall
License: GPLv2+
URL: http://ebtables.sourceforge.net/
@ -68,6 +68,9 @@ for sfx in "" "-restore" "-save"; do
if [ "$(readlink -e $pfx$sfx)" == $pfx$sfx ]; then
rm -f $pfx$sfx
fi
if [ -e /var/lib/alternatives/ebtables$sfx ]; then
rm -f /var/lib/alternatives/ebtables$sfx
fi
done
if [ "$(readlink -e $manpfx.8.gz)" == $manpfx.8.gz ]; then
rm -f $manpfx.8.gz
@ -110,6 +113,12 @@ fi
%doc %{_mandir}/man8/ebtables-legacy.8*
%changelog
* Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-9
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix post error "No such file or directory"
* Fri Jun 30 2023 xinghe <xinghe2@h-partners.com> - 2.0.11-8
- Type:bugfix
- CVE:NA