|
|
@ -9,8 +9,8 @@
|
|
|
|
Summary: Convert a physical machine to run on KVM
|
|
|
|
Summary: Convert a physical machine to run on KVM
|
|
|
|
Name: virt-p2v
|
|
|
|
Name: virt-p2v
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 1.42.2
|
|
|
|
Version: 1.42.0
|
|
|
|
Release: 1.1%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
# virt-p2v works only on x86_64 at the moment. It requires porting
|
|
|
|
# virt-p2v works only on x86_64 at the moment. It requires porting
|
|
|
@ -31,14 +31,13 @@ Source2: libguestfs.keyring
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Basic build requirements.
|
|
|
|
# Basic build requirements.
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: perl(Pod::Simple)
|
|
|
|
BuildRequires: perl(Pod::Simple)
|
|
|
|
BuildRequires: perl(Pod::Man)
|
|
|
|
BuildRequires: perl(Pod::Man)
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
BuildRequires: /usr/bin/pod2text
|
|
|
|
BuildRequires: /usr/bin/pod2text
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: pcre2-devel
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
@ -49,19 +48,43 @@ BuildRequires: gnupg2
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Test suite requirements.
|
|
|
|
# Test suite requirements.
|
|
|
|
BuildRequires: nbdkit
|
|
|
|
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
|
|
|
|
|
|
|
|
Summary: Convert a physical machine to run on KVM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Packages_granted_exceptions
|
|
|
|
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: gawk
|
|
|
|
Requires: gawk
|
|
|
|
Requires: gzip
|
|
|
|
Requires: gzip
|
|
|
|
|
|
|
|
Requires: xz
|
|
|
|
|
|
|
|
|
|
|
|
# virt-p2v-make-disk runs virt-builder:
|
|
|
|
# virt-p2v-make-disk runs virt-builder:
|
|
|
|
Requires: guestfs-tools
|
|
|
|
Requires: libguestfs-tools-c
|
|
|
|
|
|
|
|
|
|
|
|
# virt-p2v-make-kickstart runs strip:
|
|
|
|
# virt-p2v-make-kickstart runs strip:
|
|
|
|
Requires: binutils
|
|
|
|
Requires: binutils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
# The bash completion for p2v were shipped with the others of libguestfs:
|
|
|
|
|
|
|
|
Obsoletes: libguestfs-bash-completion < 1:1.38.4-15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description maker
|
|
|
|
Virt-p2v converts (virtualizes) physical machines so they can be run
|
|
|
|
Virt-p2v converts (virtualizes) physical machines so they can be run
|
|
|
|
as virtual machines under KVM.
|
|
|
|
as virtual machines under KVM.
|
|
|
|
|
|
|
|
|
|
|
@ -75,19 +98,23 @@ To convert virtual machines from other hypervisors, see virt-v2v.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%if 0%{verify_tarball_signature}
|
|
|
|
%if 0%{verify_tarball_signature}
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
tmphome="$(mktemp -d)"
|
|
|
|
|
|
|
|
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%autosetup -p1
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--with-extra="fedora=%{fedora},release=%{release}"
|
|
|
|
--with-extra="rhel=%{rhel},release=%{release}" \
|
|
|
|
|
|
|
|
--disable-gnulib-tests
|
|
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
make V=1 %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
|
|
|
|
|
|
|
|
if ! make check; then
|
|
|
|
if ! make check; then
|
|
|
|
cat test-suite.log
|
|
|
|
cat test-suite.log
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
@ -95,61 +122,51 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
|
|
# Delete the development man pages.
|
|
|
|
# Delete the development man pages.
|
|
|
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-building.1*
|
|
|
|
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-hacking.1*
|
|
|
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/p2v-release-notes.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
|
|
|
|
%files maker
|
|
|
|
%doc README
|
|
|
|
%doc README
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/virt-p2v-make-disk
|
|
|
|
%{_bindir}/virt-p2v-make-disk
|
|
|
|
%{_bindir}/virt-p2v-make-kickstart
|
|
|
|
%{_bindir}/virt-p2v-make-kickstart
|
|
|
|
%{_bindir}/virt-p2v-make-kiwi
|
|
|
|
|
|
|
|
%{_datadir}/bash-completion/completions/virt-*
|
|
|
|
%{_datadir}/bash-completion/completions/virt-*
|
|
|
|
%{_datadir}/virt-p2v
|
|
|
|
%{_datadir}/virt-p2v
|
|
|
|
%{_libdir}/virt-p2v
|
|
|
|
%{_libdir}/virt-p2v
|
|
|
|
%{_mandir}/man1/virt-p2v-make-disk.1*
|
|
|
|
%{_mandir}/man1/virt-p2v-make-disk.1*
|
|
|
|
%{_mandir}/man1/virt-p2v-make-kickstart.1*
|
|
|
|
%{_mandir}/man1/virt-p2v-make-kickstart.1*
|
|
|
|
%{_mandir}/man1/virt-p2v-make-kiwi.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/virt-p2v.1*
|
|
|
|
%{_mandir}/man1/virt-p2v.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Aug 03 2022 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.2-1.1
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1:1.42.0-5
|
|
|
|
- New upstream release 1.42.2
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Synchronise with Fedora 37:
|
|
|
|
|
|
|
|
* Uses PCRE2 instead of PCRE.
|
|
|
|
* Fri Mar 06 2020 Pino Toscano <ptoscano@redhat.com> - 1:1.42.0-5
|
|
|
|
* Remove Obsolete/Provides etc used for upgrades from Fedora 31.
|
|
|
|
- Remove virt-p2v-make-kiwi, as it is not supported, and was not
|
|
|
|
* libguestfs-tools-c was renamed to guestfs-tools in Fedora 34.
|
|
|
|
shipped already.
|
|
|
|
* gnulib removed upstream.
|
|
|
|
|
|
|
|
* Some specfile modernization.
|
|
|
|
* Fri Feb 21 2020 Pino Toscano <ptoscano@redhat.com> - 1:1.42.0-4
|
|
|
|
- Add gating tests
|
|
|
|
- Copy %description also for the source, so tools are less confused
|
|
|
|
resolves: rhbz#1990052
|
|
|
|
about it.
|
|
|
|
|
|
|
|
- Fix the "extra" addition to the version to refer to rhel.
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.42.0-6
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
* Wed Dec 11 2019 Pino Toscano <ptoscano@redhat.com> - 1:1.42.0-3
|
|
|
|
Related: rhbz#1991688
|
|
|
|
- Explicitly require xz, as it is used by all the tools to unpack the
|
|
|
|
|
|
|
|
virt-p2v binary.
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.42.0-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
* Thu Dec 05 2019 Pino Toscano <ptoscano@redhat.com> - 1:1.42.0-2
|
|
|
|
|
|
|
|
- Adjust the version of libguestfs-bash-completion that drops the bash
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.0-4
|
|
|
|
completion scripts
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 28 2019 Pino Toscano <ptoscano@redhat.com> - 1:1.42.0-1
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.42.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 28 2019 Richard W.M. Jones <rjones@redhat.com> - 1:1.42.0-1
|
|
|
|
|
|
|
|
- New upstream release 1.42.0.
|
|
|
|
|
|
|
|
- Use gpgverify macro instead of explicit gpgv2 command.
|
|
|
|
|
|
|
|
- Move .sig file to sources instead of dist-git.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 10 2019 Pino Toscano <ptoscano@redhat.com> - 1:1.41.0-1
|
|
|
|
|
|
|
|
- Initial build, split off src:libguestfs.
|
|
|
|
- Initial build, split off src:libguestfs.
|
|
|
|