Use correct Python versions
This commit is contained in:
parent
23345c5b9c
commit
5813f49ff1
@ -167,8 +167,8 @@ Provides: bundled(python%{1}dist(webencodings)) = 0.5.1
|
||||
# See: https://github.com/pypa/manylinux/issues/305
|
||||
# Note that manylinux is only applicable to x86 (both 32 and 64 bits)
|
||||
%global crypt_compat_recommends() %{expand:
|
||||
Recommends: (libcrypt.so.1()(64bit) if python3(x86-64))
|
||||
Recommends: (libcrypt.so.1 if python3(x86-32))
|
||||
Recommends: (libcrypt.so.1()(64bit) if python%{1}(x86-64))
|
||||
Recommends: (libcrypt.so.1 if python%{1}(x86-32))
|
||||
}
|
||||
|
||||
|
||||
@ -199,7 +199,7 @@ Requires: python2-setuptools
|
||||
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
|
||||
%{crypt_compat_recommends}
|
||||
%{crypt_compat_recommends 2}
|
||||
|
||||
%description -n python2-%{srcname}
|
||||
pip is a package management system used to install and manage software packages
|
||||
@ -241,7 +241,7 @@ Requires: python%{python3_pkgversion}-setuptools
|
||||
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
||||
|
||||
%{crypt_compat_recommends}
|
||||
%{crypt_compat_recommends 3}
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{srcname}
|
||||
pip is a package management system used to install and manage software packages
|
||||
@ -269,7 +269,8 @@ Requires: ca-certificates
|
||||
%{bundled 2}
|
||||
%{bundled 3}
|
||||
|
||||
%{crypt_compat_recommends}
|
||||
%{crypt_compat_recommends 2}
|
||||
%{crypt_compat_recommends 3}
|
||||
|
||||
%description wheel
|
||||
A Python wheel of pip to use with venv.
|
||||
|
Loading…
Reference in New Issue
Block a user