| |
@@ -1,5 +1,11 @@
|
| |
+ # use the underscored macros to redefine the behavior of %%python3_version etc.
|
| |
%__python3 /usr/bin/python3.4
|
| |
+
|
| |
+ # use the non-underscored macros to refer to Python in spec, etc.
|
| |
+ %python3 %__python3
|
| |
+
|
| |
#__python3_other /usr/bin/python3.5
|
| |
+ #python3_other %%__python3_other
|
| |
|
| |
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
| |
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
| |
See https://pagure.io/packaging-committee/issue/907
Redefine %__pythonX to change the behavior of %pythonX, %pythonX_version, etc.
Use %pythonX in spec.