From 8e836f8d9509cc2bd849f1fa930516f4cc21aed6 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Nov 05 2015 01:15:43 +0000 Subject: Fix where the babel.py3 script is being copied from --- diff --git a/babel.spec b/babel.spec index 4b39147..eeec582 100644 --- a/babel.spec +++ b/babel.spec @@ -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