From 2bd4f2e1d79a34936e00c7b08c2c25fe23027b84 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Wed, 12 Feb 2020 09:26:10 +0300 Subject: [PATCH] move main 2to3 to python3 --- python3.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python3.spec b/python3.spec index 240e30f..1b56f0e 100644 --- a/python3.spec +++ b/python3.spec @@ -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/*