fix arptables service failed
This commit is contained in:
parent
e86f94e5d3
commit
0a81691c66
@ -1,6 +1,6 @@
|
|||||||
Name: arptables
|
Name: arptables
|
||||||
Version: 0.0.5
|
Version: 0.0.5
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Administration tool for arp packet filtering
|
Summary: Administration tool for arp packet filtering
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -43,12 +43,14 @@ echo '# Configure prior to use' > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post %{name}.service
|
%systemd_post %{name}.service
|
||||||
|
update-alternatives --install /usr/sbin/arptables arptables /usr/sbin/arptables-legacy 10
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun %{name}.service
|
%systemd_preun %{name}.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart %{name}.service
|
%systemd_postun_with_restart %{name}.service
|
||||||
|
update-alternatives --remove arptables /usr/sbin/arptables-legacy
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -62,6 +64,12 @@ echo '# Configure prior to use' > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name
|
|||||||
%{_mandir}/man8/*.gz
|
%{_mandir}/man8/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 28 2021 gaihuiying <gaihuiying1@huawei.com> - 0.0.5-4
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix arptables service failed
|
||||||
|
|
||||||
* Thu Mar 25 2021 liulong <liulong20@huawei.com> - 0.0.5-3
|
* Thu Mar 25 2021 liulong <liulong20@huawei.com> - 0.0.5-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user