From ccd5963c3b9ed236d0307269b049cde86f965243 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Jul 2020 09:01:11 -0400 Subject: [PATCH] import virt-p2v-1.42.0-5.el8 --- SPECS/virt-p2v.spec | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/SPECS/virt-p2v.spec b/SPECS/virt-p2v.spec index 89fe312..31049ee 100644 --- a/SPECS/virt-p2v.spec +++ b/SPECS/virt-p2v.spec @@ -10,7 +10,7 @@ Summary: Convert a physical machine to run on KVM Name: virt-p2v Epoch: 1 Version: 1.42.0 -Release: 3%{?dist} +Release: 5%{?dist} License: GPLv2+ # virt-p2v works only on x86_64 at the moment. It requires porting @@ -51,6 +51,15 @@ BuildRequires: gnupg2 BuildRequires: /usr/bin/qemu-nbd %description +Virt-p2v converts (virtualizes) physical machines so they can be run +as virtual machines under KVM. + +This package contains the tools needed to make a virt-p2v boot CD or +USB key which is booted on the physical machine to perform the +conversion. You also need virt-v2v installed somewhere else to +complete the conversion. + +To convert virtual machines from other hypervisors, see virt-v2v. %package maker @@ -98,7 +107,7 @@ gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %build %configure \ - --with-extra="fedora=%{fedora},release=%{release}" \ + --with-extra="rhel=%{rhel},release=%{release}" \ --disable-gnulib-tests make V=1 %{?_smp_mflags} @@ -120,22 +129,34 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-building.1* rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-hacking.1* rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-release-notes.1* +# Delete kiwi tools. +rm $RPM_BUILD_ROOT%{_bindir}/virt-p2v-make-kiwi +rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-p2v-make-kiwi.1* +rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/virt-p2v-make-kiwi + %files maker %doc README %license COPYING %{_bindir}/virt-p2v-make-disk %{_bindir}/virt-p2v-make-kickstart -%{_bindir}/virt-p2v-make-kiwi %{_datadir}/bash-completion/completions/virt-* %{_datadir}/virt-p2v %{_libdir}/virt-p2v %{_mandir}/man1/virt-p2v-make-disk.1* %{_mandir}/man1/virt-p2v-make-kickstart.1* -%{_mandir}/man1/virt-p2v-make-kiwi.1* %{_mandir}/man1/virt-p2v.1* %changelog +* Fri Mar 06 2020 Pino Toscano - 1:1.42.0-5 +- Remove virt-p2v-make-kiwi, as it is not supported, and was not + shipped already. + +* Fri Feb 21 2020 Pino Toscano - 1:1.42.0-4 +- Copy %description also for the source, so tools are less confused + about it. +- Fix the "extra" addition to the version to refer to rhel. + * Wed Dec 11 2019 Pino Toscano - 1:1.42.0-3 - Explicitly require xz, as it is used by all the tools to unpack the virt-p2v binary.