summaryrefslogtreecommitdiffstats
path: root/macros.python3.4
diff options
context:
space:
mode:
authorMatej Stuchlik <mstuchli@redhat.com>2015-06-19 07:41:21 +0200
committerMatej Stuchlik <mstuchli@redhat.com>2015-06-19 07:41:21 +0200
commit2c1c983d5a4b8bc79e771cb8fd3f571b37d38d71 (patch)
tree4069b0081d6490198bbb633cc85ae62a6a89dc53 /macros.python3.4
parentf5845b442d5e3c252df4de7d56bbafe3e8737613 (diff)
downloadpython34-2c1c983d5a4b8bc79e771cb8fd3f571b37d38d71.tar.gz
python34-2c1c983d5a4b8bc79e771cb8fd3f571b37d38d71.tar.xz
python34-2c1c983d5a4b8bc79e771cb8fd3f571b37d38d71.zip
Initial import (#1219411)
Diffstat (limited to 'macros.python3.4')
-rw-r--r--macros.python3.46
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}