diff options
Diffstat (limited to 'macros.python3.4')
-rw-r--r-- | macros.python3.4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.python3.4 b/macros.python3.4 new file mode 100644 index 0000000..0b5f70d --- /dev/null +++ b/macros.python3.4 @@ -0,0 +1,6 @@ +%__python3 /usr/bin/python3.4 +%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])") +%python3_version_nodots %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3].replace('.',''))") +%py3dir %{_builddir}/python3-%{name}-%{version}-%{release} |