mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 07:12:50 +00:00
move main 2to3 to python3
This commit is contained in:
parent
3cfba1f428
commit
2bd4f2e1d7
1 changed files with 2 additions and 5 deletions
|
@ -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/*
|
||||
|
|
Loading…
Add table
Reference in a new issue