Add macro %python3_version_nodots
This commit is contained in:
parent
3a3febacac
commit
c21eb4aa37
2 changed files with 5 additions and 1 deletions
|
|
@ -2,4 +2,5 @@
|
|||
%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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue