diff --git a/python3-flake8.spec b/python3-flake8.spec index 80a7b5b..dec614c 100644 --- a/python3-flake8.spec +++ b/python3-flake8.spec @@ -54,7 +54,7 @@ python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} # Avoid file conflict with Python-2.x version: -mv %{_bindir}/flake8{,-%{py_ver}} +mv %{buildroot}%{_bindir}/flake8{,-%{py3_ver}} %check python3 setup.py test @@ -62,7 +62,7 @@ python3 setup.py test %files %defattr(-,root,root,-) %doc LICENSE README.rst -%{_bindir}/flake8-%{py_ver}} +%{_bindir}/flake8-%{py3_ver} %{python3_sitelib}/* %changelog