python3.6/macros.python3

6 lines
393 B
Plaintext
Raw Normal View History

2010-01-13 21:25:18 +00:00
%__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))")
%python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}