From 2c1c983d5a4b8bc79e771cb8fd3f571b37d38d71 Mon Sep 17 00:00:00 2001 From: Matej Stuchlik Date: Fri, 19 Jun 2015 07:41:21 +0200 Subject: Initial import (#1219411) --- macros.python3.4 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 macros.python3.4 (limited to 'macros.python3.4') 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} -- cgit