Remove historical information from the global macros section
This commit is contained in:
parent
f63e273cfd
commit
0c74e11532
20
python3.spec
20
python3.spec
@ -104,15 +104,8 @@ License: Python
|
|||||||
%global pylibdir %{_libdir}/python%{pybasever}
|
%global pylibdir %{_libdir}/python%{pybasever}
|
||||||
%global dynload_dir %{pylibdir}/lib-dynload
|
%global dynload_dir %{pylibdir}/lib-dynload
|
||||||
|
|
||||||
# SOABI is defined in the upstream configure.in from Python-3.2a2 onwards,
|
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac
|
||||||
# for PEP 3149:
|
# See PEP 3149 for some background: http://www.python.org/dev/peps/pep-3149/
|
||||||
# http://www.python.org/dev/peps/pep-3149/
|
|
||||||
|
|
||||||
# ("configure.in" became "configure.ac" in Python 3.3 onwards, and in
|
|
||||||
# backports)
|
|
||||||
|
|
||||||
# ABIFLAGS, LDVERSION and SOABI are in the upstream Makefile
|
|
||||||
# With Python 3.3, we lose the "u" suffix due to PEP 393
|
|
||||||
%global ABIFLAGS_optimized m
|
%global ABIFLAGS_optimized m
|
||||||
%global ABIFLAGS_debug dm
|
%global ABIFLAGS_debug dm
|
||||||
|
|
||||||
@ -122,13 +115,12 @@ License: Python
|
|||||||
%global SOABI_optimized cpython-%{pyshortver}%{ABIFLAGS_optimized}-%{_arch}-linux%{_gnu}
|
%global SOABI_optimized cpython-%{pyshortver}%{ABIFLAGS_optimized}-%{_arch}-linux%{_gnu}
|
||||||
%global SOABI_debug cpython-%{pyshortver}%{ABIFLAGS_debug}-%{_arch}-linux%{_gnu}
|
%global SOABI_debug cpython-%{pyshortver}%{ABIFLAGS_debug}-%{_arch}-linux%{_gnu}
|
||||||
|
|
||||||
# All bytecode files are now in a __pycache__ subdirectory, with a name
|
# All bytecode files are in a __pycache__ subdirectory, with a name
|
||||||
# reflecting the version of the bytecode (to permit sharing of python libraries
|
# reflecting the version of the bytecode.
|
||||||
# between different runtimes)
|
# See PEP 3147: http://www.python.org/dev/peps/pep-3147/
|
||||||
# See http://www.python.org/dev/peps/pep-3147/
|
|
||||||
# For example,
|
# For example,
|
||||||
# foo/bar.py
|
# foo/bar.py
|
||||||
# now has bytecode at:
|
# has bytecode at:
|
||||||
# foo/__pycache__/bar.cpython-%%{pyshortver}.pyc
|
# foo/__pycache__/bar.cpython-%%{pyshortver}.pyc
|
||||||
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-1.pyc
|
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-1.pyc
|
||||||
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc
|
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc
|
||||||
|
Loading…
Reference in New Issue
Block a user