fix post error: No such file or directory

(cherry picked from commit fc58f9b8dba300f2d12fac8d17dd838560722425)
This commit is contained in:
eaglegai 2023-08-07 11:26:09 +08:00 committed by openeuler-sync-bot
parent 9cde1a2c47
commit 799f919750

View File

@ -1,7 +1,7 @@
Name: ebtables
Version: 2.0.11
Release: 6
Release: 7
Summary: A filtering tool for a Linux-based bridging firewall
License: GPLv2+
URL: http://ebtables.sourceforge.net/
@ -63,6 +63,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
@ -105,6 +108,12 @@ fi
%doc %{_mandir}/man8/ebtables-legacy.8*
%changelog
* Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-7
- 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-6
- Type:bugfix
- ID:NA