Fix where the babel.py3 script is being copied from

This commit is contained in:
Toshio Kuratomi 2015-11-04 17:15:43 -08:00
parent 4a520bf473
commit 8e836f8d95

View File

@ -132,8 +132,8 @@ popd
# On fedora 24 and beyond we want to use the python3 version by default
# (Only reason earlier versions aren't switched is that we didn't push it out
# before the release)
%if 0%{?fedora} >= 24
mv ./pybabel.py3 %{buildroot}/%{_bindir}/pybabel
%if 0%{?with_python3} && 0%{?fedora} >= 24
mv %{py3dir}/pybabel.py3 %{buildroot}/%{_bindir}/pybabel
%endif
%check