rework u-a links again
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ebtables?expand=0&rev=55
This commit is contained in:
parent
5eb1bdfcb0
commit
e4e99e7a93
@ -116,9 +116,9 @@ rm -f "%{buildroot}/%{_sysconfdir}/ebtables-config"
|
||||
mv "%{buildroot}/%{_sbindir}/ebtables" "%{buildroot}/%{_sbindir}/ebtables-legacy"
|
||||
mv "%{buildroot}/%{_sbindir}/ebtables-restore" "%{buildroot}/%{_sbindir}/ebtables-legacy-restore"
|
||||
mv "%{buildroot}/%{_sbindir}/ebtables-save" "%{buildroot}/%{_sbindir}/ebtables-legacy-save"
|
||||
ln -s ebtables-legacy "%{buildroot}/%{_sbindir}/ebtables"
|
||||
ln -s ebtables-legacy-restore "%{buildroot}/%{_sbindir}/ebtables-restore"
|
||||
ln -s ebtables-legacy-save "%{buildroot}/%{_sbindir}/ebtables-save"
|
||||
for i in ebtables ebtables-restore ebtables-save; do
|
||||
ln -fsv "/etc/alternatives/$i" "%{buildroot}/%{_sbindir}/$i"
|
||||
done
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
|
Loading…
Reference in New Issue
Block a user