pypy3.10/macros.pypy

6 lines
367 B
Plaintext
Raw Normal View History

%__pypy /usr/bin/pypy
%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])")
%pypydir %{_builddir}/pypy-%{name}-%{version}-%{release}