Add macro with pypy version (aka 5.10, not 2.7)
This commit is contained in:
parent
de213fa2bd
commit
52f7eb6f95
@ -2,3 +2,4 @@
|
||||
%pypy_sitelib %(%{__pypy} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
||||
%pypy_sitearch %(%{__pypy} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||
%pypy_version %(%{__pypy} -c "import sys; sys.stdout.write(sys.version[:3])")
|
||||
%pypy_pypy_version %(%{__pypy} -c "import sys; sys.stdout.write('{}.{}'.format(sys.pypy_version_info.major, sys.pypy_version_info.minor))")
|
||||
|
@ -2,3 +2,4 @@
|
||||
%pypy2_sitelib %(%{__pypy2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
||||
%pypy2_sitearch %(%{__pypy2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||
%pypy2_version %(%{__pypy2} -c "import sys; sys.stdout.write(sys.version[:3])")
|
||||
%pypy2_pypy_version %(%{__pypy2} -c "import sys; sys.stdout.write('{}.{}'.format(sys.pypy_version_info.major, sys.pypy_version_info.minor))")
|
||||
|
Loading…
Reference in New Issue
Block a user