update ebtables.spec.

Signed-off-by: liff <lifeifei@kylinos.cn>
This commit is contained in:
liff 2023-09-08 05:40:08 +00:00 committed by Gitee
parent 184028d63b
commit 11e83f1353
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -61,7 +61,7 @@ echo "%{_libdir}/ebtables" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%post %post
%systemd_post ebtables.service %systemd_post ebtables.service
%?ldconfig /usr/sbin/ldconfig
pfx=%{_sbindir}/ebtables pfx=%{_sbindir}/ebtables
manpfx=%{_mandir}/man8/ebtables manpfx=%{_mandir}/man8/ebtables
for sfx in "" "-restore" "-save"; do for sfx in "" "-restore" "-save"; do
@ -86,7 +86,7 @@ fi
%postun %postun
%systemd_postun_with_restart ebtables.service %systemd_postun_with_restart ebtables.service
%?ldconfig /usr/sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove \ %{_sbindir}/update-alternatives --remove \
ebtables %{_sbindir}/ebtables-legacy ebtables %{_sbindir}/ebtables-legacy
@ -113,6 +113,12 @@ fi
%doc %{_mandir}/man8/ebtables-legacy.8* %doc %{_mandir}/man8/ebtables-legacy.8*
%changelog %changelog
* Thu Aug 31 2023 lifeifei<lifeifei@kylinos.cn> - 2.0.11-10
- 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-9 * Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-9
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA