churchyard / rpms / python3

Forked from rpms/python3 4 years ago
Clone

Blame macros.python3

a3483f9
%__python3 /usr/bin/python3
a3483f9
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
a3483f9
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
65e90f6
%python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")
d5d2307
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}