update ebtables.spec

This commit is contained in:
xh 2023-09-20 10:17:41 +08:00
parent 28be1fec87
commit 529b020863

View File

@ -1,7 +1,7 @@
Name: ebtables
Version: 2.0.11
Release: 9
Release: 10
Summary: A filtering tool for a Linux-based bridging firewall
License: GPLv2+
URL: http://ebtables.sourceforge.net/
@ -61,7 +61,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
@ -86,7 +86,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
@ -113,6 +113,12 @@ fi
%doc %{_mandir}/man8/ebtables-legacy.8*
%changelog
* Wed Sep 20 2023 xinghe <xinghe2@h-partners.com> - 2.0.11-10
- Type:bugfix
- CVE: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-9
- Type:bugfix
- CVE:NA