From 05ecc1e30a831c92196d13d0ce44f3884278376d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 8 Jun 2022 12:49:45 +0100 Subject: [PATCH] Add Requires python3 / platform-python resolves: rhbz#2094779 (cherry picked from commit 1180dbb9125efb9733a95786576b7a6465683099) --- virt-v2v.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/virt-v2v.spec b/virt-v2v.spec index f196116..a49d335 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -16,7 +16,7 @@ Name: virt-v2v Epoch: 1 Version: 2.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Convert a virtual machine to run on KVM License: GPLv2+ @@ -131,6 +131,11 @@ Requires: edk2-ovmf Requires: edk2-aarch64 %endif +%if !0%{?rhel} +Requires: python3 +%else +Requires: platform-python +%endif Requires: libnbd >= 1.10 Requires: %{_bindir}/qemu-nbd Requires: %{_bindir}/nbdcopy @@ -317,7 +322,7 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-in-place.1* %changelog -* Thu May 26 2022 Richard W.M. Jones - 1:2.0.6-1 +* Thu Jun 08 2022 Richard W.M. Jones - 1:2.0.6-2 - Rebase to stable branch version 2.0.6 resolves: rhbz#2059287, rhbz#1658126, rhbz#1788823, rhbz#1854275 - Fix openssh-clients dependency @@ -355,6 +360,8 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-in-place.1* - Document extra permissions needed for VMware 7 (1817050) - Remove osprober devices left around by grub2 resolves: rhbz#2003503 +- Add Requires python3 / platform-python + resolves: rhbz#2094779 * Tue Feb 15 2022 Richard W.M. Jones - 1:1.45.99-1 - Rebase to upstream 1.45.99.