| |
@@ -1,7 +1,7 @@
|
| |
%python3_sitelib %(%{__python3} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
| |
%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_version %(%{__python3} -Ic "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))")
|
| |
+ %python3_version_nodots %(%{__python3} -Ic "import sys; sys.stdout.write('{0.major}{0.minor}'.format(sys.version_info))")
|
| |
%python3_platform %(%{__python3} -Ic "import sysconfig; print(sysconfig.get_platform())")
|
| |
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}
|
| |
|
| |
No need to bump the release, 3.10 is far from now.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1745601