diff --git a/arptables.spec b/arptables.spec index a2d6d4f..4417515 100644 --- a/arptables.spec +++ b/arptables.spec @@ -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 - 0.0.5-4 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:fix arptables service failed + * Thu Mar 25 2021 liulong - 0.0.5-3 - Type:bugfix - Id:NA