diff --git a/ebtables.spec b/ebtables.spec index 621a3a4..af5a54a 100644 --- a/ebtables.spec +++ b/ebtables.spec @@ -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 - 2.0.11-7 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix post error "No such file or directory" + * Fri Jun 30 2023 xinghe - 2.0.11-6 - Type:bugfix - ID:NA