Remove python dependencies for RHEL 10
Only used by -o rhv-upload which has been removed. (cherry picked from commit fec9e2b674bb95fbc3c3d37262fda4e8ceb986e8)
This commit is contained in:
parent
b7384452ae
commit
b9f8a1595b
@ -98,7 +98,9 @@ BuildRequires: %{_bindir}/nbdcopy
|
||||
BuildRequires: %{_bindir}/nbdinfo
|
||||
BuildRequires: nbdkit-file-plugin
|
||||
BuildRequires: nbdkit-null-plugin
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: nbdkit-python-plugin
|
||||
%endif
|
||||
BuildRequires: nbdkit-cow-filter >= 1.28.3-1.el9
|
||||
BuildRequires: mingw-srvany-redistributable >= 1.1-6
|
||||
%ifarch x86_64
|
||||
@ -136,10 +138,11 @@ Requires: edk2-ovmf
|
||||
Requires: edk2-aarch64
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} != 8
|
||||
%if !0%{?rhel}
|
||||
Requires: python3
|
||||
%else
|
||||
%elif %{?rhel} == 9
|
||||
Requires: platform-python
|
||||
# Python is not needed by RHEL 10.
|
||||
%endif
|
||||
Requires: libnbd >= 1.10
|
||||
Requires: %{_bindir}/qemu-nbd
|
||||
@ -150,7 +153,9 @@ Requires: nbdkit-curl-plugin
|
||||
Requires: nbdkit-file-plugin
|
||||
Requires: nbdkit-nbd-plugin
|
||||
Requires: nbdkit-null-plugin
|
||||
%if !0%{?rhel}
|
||||
Requires: nbdkit-python-plugin
|
||||
%endif
|
||||
Requires: nbdkit-ssh-plugin
|
||||
%ifarch x86_64
|
||||
Requires: nbdkit-vddk-plugin
|
||||
|
Loading…
Reference in New Issue
Block a user