mirror of
https://abf.rosa.ru/djam/python3.10.git
synced 2025-02-23 16:32:54 +00:00
fix macro
This commit is contained in:
parent
4906dc18b9
commit
825609ddb2
1 changed files with 3 additions and 3 deletions
|
@ -3,11 +3,11 @@
|
|||
%python310_sitelib %(%{__python310} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
||||
%python310_sitearch %(%{__python310} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||
%python310_version %(%{__python310} -c "import sys; print(sys.version[0:3])")
|
||||
%py310_ver %(%{__python310} -c "import sys; v=sys.version_info[:2]; print('%%d.%%d'%%v)" 2>/dev/null || echo PYTHON38-NOT-FOUND)
|
||||
%py310_prefix %(%{__python310} -c "import sys; print(sys.prefix)" 2>/dev/null || echo PYTHON38-NOT-FOUND)
|
||||
%py310_ver %(%{__python310} -c "import sys; v=sys.version_info[:2]; print('%%d.%%d'%%v)" 2>/dev/null || echo PYTHON310-NOT-FOUND)
|
||||
%py310_prefix %(%{__python310} -c "import sys; print(sys.prefix)" 2>/dev/null || echo PYTHON310-NOT-FOUND)
|
||||
%py310_platsitedir %python310_sitearch
|
||||
%py310_puresitedir %python310_sitelib
|
||||
%py310_incdir %(%{__python310} -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())' 2>/dev/null || echo PYTHON38-INCLUDEDIR-NOT-FOUND)
|
||||
%py310_incdir %(%{__python310} -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())' 2>/dev/null || echo PYTHON310-INCLUDEDIR-NOT-FOUND)
|
||||
%py310dir %{_builddir}/python310-%{name}-%{version}-%{release}
|
||||
# %%py_setup setup.py # in rpm-openmandriva-setup
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue