From 82dab566961c5cac739187762ef793d7df78825b Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Mon, 9 Jul 2018 14:24:20 -0500 Subject: [PATCH] Add %python3_platform macro. --- macros.python3 | 1 + 1 file changed, 1 insertion(+) diff --git a/macros.python3 b/macros.python3 index dc15710..e626482 100644 --- a/macros.python3 +++ b/macros.python3 @@ -3,6 +3,7 @@ %python3_sitearch %(%{__python3} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") %python3_version %(%{__python3} -Ic "import sys; sys.stdout.write(sys.version[:3])") %python3_version_nodots %(%{__python3} -Ic "import sys; sys.stdout.write(sys.version[:3].replace('.',''))") +%python3_platform %(%{__python3} -Ic "import sysconfig; print(sysconfig.get_platform())") %py3dir %{_builddir}/python3-%{name}-%{version}-%{release} %py3_shbang_opts -s