From b1d9095c869b2c6d529f7638c32bfd0ede221c78 Mon Sep 17 00:00:00 2001 From: Garrett Holmstrom Date: Fri, 7 Nov 2014 11:47:56 -0800 Subject: [PATCH] Make executables point to python2 https://bugzilla.redhat.com/show_bug.cgi?id=1152444 --- python-boto.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-boto.spec b/python-boto.spec index 3725779..9aa5684 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -102,16 +102,14 @@ popd %install +%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT + %if %{with python3} -# Must do the python3 install first because the scripts in /usr/bin are -# overwritten with every setup.py install and they only work with python2. pushd %{py3dir} %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT popd %endif # with python3 -%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT - %check %if %{with unittests} @@ -163,6 +161,7 @@ popd %changelog * Fri Nov 7 2014 Garrett Holmstrom - 2.34.0-1 - Updated to 2.34.0 (RH #1072925, RH #1072928, RH #1161229) +- Made executables point to python2 (RH #1152444) * Thu Aug 21 2014 Garrett Holmstrom - 2.32.1-1 - Updated to 2.32.1 (RH #1126056, RH #1132348)