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