move main 2to3 to python3

This commit is contained in:
Mikhail Novosyolov 2020-02-12 09:26:10 +03:00
parent 3cfba1f428
commit 2bd4f2e1d7

View file

@ -33,7 +33,7 @@
Summary: An interpreted, interactive object-oriented programming language
Name: python3
Version: 3.8.1
Release: 8
Release: 9
License: Modified CNRI Open Source License
Group: Development/Python
@ -322,10 +322,6 @@ popd
(cd %{buildroot}%{_libdir}; ln -sf `ls libpython%{lib_major}*.so.*` libpython%{lib_major}.so)
# fix files conflicting with python2.6
mv %{buildroot}/%{_bindir}/2to3 %{buildroot}/%{_bindir}/python3-2to3
# install pynche as pynche3
cat << EOF > %{buildroot}%{_bindir}/pynche3
#!/bin/bash
@ -440,6 +436,7 @@ export TMP="/tmp" TMPDIR="/tmp"
%{_bindir}/python3*
%{_bindir}/pydoc
%{_bindir}/python
%{_bindir}/2to3
%{_bindir}/2to3-%{dirver}
%exclude %{_bindir}/python*config
#%{_datadir}/emacs/site-lisp/*