diff --git a/python-boto.spec b/python-boto.spec index 1875e7a..c448cdb 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -98,28 +98,18 @@ cp -p %{SOURCE1} . rm -r boto.egg-info -%if %{with python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif - %build %{__python2} setup.py build - %if %{with python3} -pushd %{py3dir} %{__python3} setup.py build -popd %endif # with python3 %install %if %{with python3} # Scripts only work with python2 -pushd %{py3dir} %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT -popd rm -f $RPM_BUILD_ROOT/%{_bindir}/* %endif # with python3 @@ -134,9 +124,7 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/* %if %{with unittests} %{__python2} tests/test.py default %if %{with python3} -pushd %{py3dir} %{__python3} tests/test.py default -popd %endif # with python3 %endif # with unittests