diff --git a/dnf.spec b/dnf.spec index c051ec5..096112b 100644 --- a/dnf.spec +++ b/dnf.spec @@ -195,7 +195,7 @@ mkdir -p %{buildroot}%{_localstatedir}/log/ mkdir -p %{buildroot}%{_var}/cache/dnf/ touch %{buildroot}%{_localstatedir}/log/%{name}.log %if %{with python3} -%{?system_python_abi:sed -i 's|#!%{__python3}|#!%{_libexec}/system-python|' %{buildroot}%{_bindir}/dnf} +%{?system_python_abi:sed -i 's|#!%{__python3}|#!%{_libexec}/system-python|' %{buildroot}%{_bindir}/dnf-3} ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/dnf mv %{buildroot}%{_bindir}/dnf-automatic-3 %{buildroot}%{_bindir}/dnf-automatic %else