Don't generate conditional Recommends when the wheel is built for a single Python version
This commit is contained in:
parent
be83e98e05
commit
e03098bace
@ -211,11 +211,14 @@ Requires: ca-certificates
|
||||
%{bundled 3}
|
||||
|
||||
# This is only relevant for Pythons that are older than 3.12 and don't use their own bundled wheels
|
||||
# It is also only relevant when this wheel is shared across multiple Pythons
|
||||
%if "%{python_wheel_pkg_prefix}" == "python"
|
||||
%{crypt_compat_recommends 3.11}
|
||||
%{crypt_compat_recommends 3.10}
|
||||
%{crypt_compat_recommends 3.9}
|
||||
%{crypt_compat_recommends 3.8}
|
||||
%{crypt_compat_recommends 3.7}
|
||||
%endif
|
||||
|
||||
%description -n %{python_wheel_pkg_prefix}-%{srcname}-wheel
|
||||
A Python wheel of pip to use with venv.
|
||||
|
Loading…
Reference in New Issue
Block a user