diff --git a/python34.spec b/python34.spec index 9c50090..3dc05e1 100644 --- a/python34.spec +++ b/python34.spec @@ -862,9 +862,6 @@ InstallPython optimized \ install -d -m 0755 ${RPM_BUILD_ROOT}%{pylibdir}/site-packages/__pycache__ -mv ${RPM_BUILD_ROOT}%{_bindir}/2to3 ${RPM_BUILD_ROOT}%{_bindir}/python3-2to3 - - # Documentation tools install -m755 -d %{buildroot}%{pylibdir}/Doc cp -ar Doc/tools %{buildroot}%{pylibdir}/Doc/ @@ -1067,7 +1064,7 @@ echo '[ $? -eq 127 ] && echo "Could not find python%{LDVERSION_optimized}-`uname # Remove stuff that would conflict with python3 package mv %{buildroot}%{_bindir}/python{3,%{pyshortver}} -rm %{buildroot}%{_bindir}/*3 +rm %{buildroot}%{_bindir}/*3 # also matches 2to3 rm %{buildroot}%{_bindir}/python3-* rm %{buildroot}%{_bindir}/pyvenv rm %{buildroot}%{_libdir}/libpython3.so