[babel] install python2 rather than python3 executable (#710880)

Nils Philippsen nphilipp at fedoraproject.org
Tue Jun 7 09:39:27 UTC 2011


commit 6fe63e3e793b2accd387dd6c6b4b4d63f5442bd4
Author: Nils Philippsen <nils at redhat.com>
Date:   Tue Jun 7 11:38:00 2011 +0200

    install python2 rather than python3 executable (#710880)

 babel.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/babel.spec b/babel.spec
index e5c06e8..a2c1b4d 100644
--- a/babel.spec
+++ b/babel.spec
@@ -87,14 +87,16 @@ popd
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install --skip-build --no-compile --root %{buildroot}
- 
+# install python3 build before python2 build so executables from the former
+# don't overwrite those from the latter
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} setup.py install --skip-build --no-compile --root %{buildroot}
 popd
 %endif
 
+%{__python} setup.py install --skip-build --no-compile --root %{buildroot}
+
 %clean
 rm -rf %{buildroot}
 
@@ -148,6 +150,7 @@ rm -rf %{buildroot}
   * Fix so frontend.CommandLineInterface.run does not accumulate logging
     handlers (#227, reported with initial patch by dfraser)
   * Fix exception if environment contains an invalid locale setting (#200)
+- install python2 rather than python3 executable (#710880)
 
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.5-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list