update ebtables.spec.

Signed-off-by: liff <lifeifei@kylinos.cn>
(cherry picked from commit 01b5718538c008778d9962a49f927c8bf5bd7342)
This commit is contained in:
liff 2023-09-08 06:58:52 +00:00 committed by openeuler-sync-bot
parent 6181011e5d
commit 303dc1974f

View File

@ -1,7 +1,7 @@
Name: ebtables
Version: 2.0.11
Release: 7
Release: 8
Summary: A filtering tool for a Linux-based bridging firewall
License: GPLv2+
URL: http://ebtables.sourceforge.net/
@ -56,7 +56,7 @@ echo "%{_libdir}/ebtables" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%post
%systemd_post ebtables.service
%?ldconfig
/usr/sbin/ldconfig
pfx=%{_sbindir}/ebtables
manpfx=%{_mandir}/man8/ebtables
for sfx in "" "-restore" "-save"; do
@ -81,7 +81,7 @@ fi
%postun
%systemd_postun_with_restart ebtables.service
%?ldconfig
/usr/sbin/ldconfig
if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove \
ebtables %{_sbindir}/ebtables-legacy
@ -108,6 +108,12 @@ fi
%doc %{_mandir}/man8/ebtables-legacy.8*
%changelog
* Thu Aug 31 2023 lifeifei<lifeifei@kylinos.cn> - 2.0.11-8
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix: if libvirt and ebtables are installed at the same time, ping the operation prompts "sendmsg: Operation not permitted".
* Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-7
- Type:bugfix
- CVE:NA