Line -... |
Line 1... |
- |
|
1 |
# use the underscored macros to redefine the behavior of %%python3_version etc.
|
1 |
%__python3 /usr/bin/python3.4
|
2 |
%__python3 /usr/bin/python3.4
|
- |
|
3 |
|
- |
|
4 |
# use the non-underscored macros to refer to Python in spec, etc.
|
- |
|
5 |
%python3 %__python3
|
- |
|
6 |
|
2 |
#__python3_other /usr/bin/python3.5
|
7 |
#__python3_other /usr/bin/python3.5
|
- |
|
8 |
#python3_other %%__python3_other
|
3 |
|
9 |
|
4 |
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
10 |
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
5 |
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
11 |
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
6 |
%python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")
|
12 |
%python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")
|
7 |
%python3_version_nodots %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3].replace('.',''))")
|
13 |
%python3_version_nodots %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3].replace('.',''))")
|