python3.11/macros.python3
dmalcolm d5d2307015 - add %%py3dir macro to macros.python3 (to be used during unified python
2/3 builds for setting up the python3 copy of the source tree)
2010-01-22 22:00:30 +00:00

5 lines
309 B
Plaintext

%__python3 /usr/bin/python3
%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))")
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}