From 8e836f8d9509cc2bd849f1fa930516f4cc21aed6 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 4 Nov 2015 17:15:43 -0800 Subject: [PATCH] Fix where the babel.py3 script is being copied from --- babel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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