Move the __python2/3 macros to the python-srpm-macros subpackage
This facilitates using the %%{__python2/3} in Build/Requires
This commit is contained in:
parent
8f067ff385
commit
beaa2eec4f
4 changed files with 14 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
|||
%__python3 /usr/bin/python3
|
||||
%python3_sitelib %(%{__python3} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
||||
%python3_sitearch %(%{__python3} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||
%python3_version %(%{__python3} -Ic "import sys; sys.stdout.write(sys.version[:3])")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue