Compare commits

..

22 commits

Author SHA1 Message Date
Richard W.M. Jones
77450f3faa New upstream stable version 2.8.1
(cherry picked from commit b406c18f55)
2025-06-26 16:26:49 +01:00
Richard W.M. Jones
270f162176 New upstream stable version 2.8.0
Finetune BRs to match upstream.

(cherry picked from commit 689bbb8b49)
2025-06-12 09:06:45 +01:00
Richard W.M. Jones
67965964a1 New upstream development version 2.7.17
(cherry picked from commit 0950fa2dd4)
2025-06-03 17:39:02 +01:00
Richard W.M. Jones
b374f060f9 Add temporary workaround for bug in gettext
(cherry picked from commit 5d3dce2ea5)
2025-06-03 17:38:57 +01:00
Richard W.M. Jones
77adf7438a New upstream development version 2.7.16
(cherry picked from commit b04c24f962)
2025-05-19 15:09:33 +01:00
Richard W.M. Jones
76578de53a Rename virt-v2v-output-rhv(1) -> virt-v2v-output-ovirt(1)
(cherry picked from commit 670ec36027)
2025-05-12 18:59:30 +01:00
Richard W.M. Jones
4b495bbc59 New upstream development version 2.7.15
(cherry picked from commit 959a529547)
2025-05-12 17:14:08 +01:00
Richard W.M. Jones
e3465564c8 New upstream development version 2.7.14
New tool: virt-v2v-open

(cherry picked from commit a9f381c640)
2025-05-07 12:59:24 +01:00
Richard W.M. Jones
97cf14c6fc New upstream development version 2.7.13
(cherry picked from commit d82a76fce5)
2025-04-29 16:53:17 +01:00
Richard W.M. Jones
375b432568 New upstream development version 2.7.12
(cherry picked from commit b9cfcbc1bd)
2025-04-15 17:03:41 +01:00
Richard W.M. Jones
e87e18f40e New upstream development version 2.7.11
(cherry picked from commit eef1115428)
2025-04-03 13:09:30 +01:00
Richard W.M. Jones
104fbf36bd Remove oUnit
(cherry picked from commit e94005d4ae)
2025-04-03 13:09:27 +01:00
Richard W.M. Jones
80ee42e138 Enable ocaml-gettext again
(cherry picked from commit 87a7e3cd66)
2025-04-03 13:09:24 +01:00
Richard W.M. Jones
873ec2c039 New upstream version 2.7.10
The upstream 2.7.9 tarball contained a mistake that meant it required
hivexregedit to build.  2.7.10 fixes this.

(cherry picked from commit f575eed3ef)
2025-03-22 11:31:13 +00:00
Richard W.M. Jones
7fc01d20b9 New upstream development version 2.7.9
(cherry picked from commit fbf3a55ceb)
2025-03-22 10:45:24 +00:00
Richard W.M. Jones
9942993880 New upstream development version 2.7.8
(cherry picked from commit dba25ec5fb)
2025-03-11 15:39:56 +00:00
Richard W.M. Jones
2b31dc6969 New upstream development version 2.7.7
Disable gettext support in Fedora Rawhide

(cherry picked from commit 1765b12755)
(cherry picked from commit 27be67588b)
2025-02-27 18:39:17 +00:00
Richard W.M. Jones
87e7e2a1f5 New upstream development version 2.7.6
(cherry picked from commit 68cc862c48)
2025-02-13 10:11:14 +00:00
Richard W.M. Jones
a9722b92fc New upstream development version 2.7.5
(cherry picked from commit 938ffd31a8)
2025-02-05 15:32:13 +00:00
Richard W.M. Jones
4b5fb5571f Bump and rebuild (RHBZ#2341511)
Move to OCaml 4.08, new baseline version upstream.

(cherry picked from commit ea0459111d)
2025-02-05 15:32:10 +00:00
Björn Esser
ac5bcdcc6b Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
(cherry picked from commit ec70683380)
2025-02-05 15:32:00 +00:00
Jerry James
26755e239b OCaml 5.2.1 rebuild for Fedora 41 2025-01-29 15:00:48 -07:00
2 changed files with 49 additions and 166 deletions

View file

@ -1,2 +1,2 @@
SHA512 (virt-v2v-2.10.0.tar.gz) = 035f2181c1cc5f482e96d3e21b513b95939ca224d71ac6ad938842d5af5d60ef07db1600d2ccb609dc2042b1c74088f6f39ffbe595cb51e80278ecb50c314515
SHA512 (virt-v2v-2.10.0.tar.gz.sig) = cb6301224ef00577a9cd0fc8fa504e583eb447341bd3849e6854f2d78ae72ca39bca68b70f30efd3d1d64480acf161c5e4bc9ba943595ef4dd2a654c3268aa66
SHA512 (virt-v2v-2.8.1.tar.gz) = 70da68563e870955ca013e6d55be8f56ad65dde6f84909f06fae7ab928227a566e8949bb90e839fffce2ad4ebc604b2cfa1c5547394c8d1bd092bb95f9e6435c
SHA512 (virt-v2v-2.8.1.tar.gz.sig) = 1236dd21272c53dbafb4cd0ac4177bcf73600ff52ea8949b878793eafb1829a67880043c6e03c2d82c691d986ea8a7daa60508f4ae22345c961a939b3b6a43b0

View file

@ -2,49 +2,11 @@
%global verify_tarball_signature 1
# The source directory.
%global source_directory 2.10-stable
%if !0%{?rhel}
# Optional features enabled in this build for Fedora.
%global with_block_driver 1
%global with_glance 1
%global with_ovirt 1
%global with_xen 1
# libguestfs hasn't been built on i686 for a while since there is no
# kernel built for this architecture any longer and libguestfs rather
# fundamentally depends on the kernel. Therefore we must exclude this
# arch. Note there is no bug filed for this because we do not ever
# expect that libguestfs or virt-v2v will be available on i686 so
# there is nothing that needs fixing.
ExcludeArch: %{ix86}
# Version extra string for Fedora.
%global version_extra fedora=%{fedora},release=%{release}
%else
# Optional features enabled in this build for RHEL.
%global with_block_driver 0
%global with_glance 0
%global with_ovirt 0
%global with_xen 0
# Architectures where virt-v2v is shipped on RHEL:
#
# not on aarch64 because it is not useful there
# not on %%{power64} because of RHBZ#1287826
# not on s390x because it is not useful there
ExclusiveArch: x86_64
# Version extra string for RHEL.
%global version_extra rhel=%{rhel},release=%{release}
%endif
%global source_directory 2.8-stable
Name: virt-v2v
Epoch: 1
Version: 2.10.0
Version: 2.8.1
Release: 1%{?dist}
Summary: Convert a virtual machine to run on KVM
@ -61,25 +23,36 @@ Source2: libguestfs.keyring
# Maintainer script which helps with handling patches.
Source3: copy-patches.sh
%if !0%{?rhel}
# libguestfs hasn't been built on i686 for a while since there is no
# kernel built for this architecture any longer and libguestfs rather
# fundamentally depends on the kernel. Therefore we must exclude this
# arch. Note there is no bug filed for this because we do not ever
# expect that libguestfs or virt-v2v will be available on i686 so
# there is nothing that needs fixing.
ExcludeArch: %{ix86}
%else
# Architectures where virt-v2v is shipped on RHEL:
#
# not on aarch64 because it is not useful there
# not on %%{power64} because of RHBZ#1287826
# not on s390x because it is not useful there
ExclusiveArch: x86_64
%endif
BuildRequires: autoconf, automake, libtool
BuildRequires: make
BuildRequires: /usr/bin/pod2man
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IPC::Run3)
BuildRequires: gcc
BuildRequires: ocaml >= 4.08
BuildRequires: libguestfs-devel >= 1:1.58.0-1
BuildRequires: libguestfs-devel >= 1:1.56.0-1
BuildRequires: augeas-devel
BuildRequires: bash-completion
%if 0%{?fedora} || 0%{?rhel} >= 11
BuildRequires: bash-completion-devel
%endif
BuildRequires: bash-completion, bash-completion-devel
BuildRequires: file
BuildRequires: gettext-devel
BuildRequires: json-c-devel
BuildRequires: libnbd-devel >= 1.24
BuildRequires: libnbd-devel >= 1.14
BuildRequires: libosinfo-devel
BuildRequires: libvirt-daemon-kvm
BuildRequires: libvirt-devel
@ -103,10 +76,12 @@ BuildRequires: glibc-utils
BuildRequires: %{_bindir}/qemu-nbd
BuildRequires: %{_bindir}/nbdcopy
BuildRequires: %{_bindir}/nbdinfo
BuildRequires: nbdkit-server >= 1.46.1
BuildRequires: nbdkit-file-plugin
BuildRequires: nbdkit-null-plugin
BuildRequires: nbdkit-cow-filter
%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
BuildRequires: glibc-static
@ -116,8 +91,8 @@ BuildRequires: glibc-static
BuildRequires: gnupg2
%endif
Requires: libguestfs%{?_isa} >= 1:1.58.0-1
Requires: guestfs-tools >= 1.54
Requires: libguestfs%{?_isa} >= 1:1.55.12-1
Requires: guestfs-tools >= 1.49.7-1
# XFS is the default filesystem in Fedora and RHEL.
Requires: libguestfs-xfs
@ -143,19 +118,22 @@ Requires: edk2-ovmf
Requires: edk2-aarch64
%endif
%if !%{with_ovirt}
%if !0%{?rhel}
Requires: /usr/bin/python3
%elif %{?rhel} == 9
Requires: platform-python
# Python is not needed by RHEL 10.
%endif
Requires: libnbd >= 1.24
Requires: libnbd >= 1.10
Requires: %{_bindir}/qemu-nbd
Requires: %{_bindir}/nbdcopy
Requires: %{_bindir}/nbdinfo
Requires: nbdkit-server >= 1.46.1
Requires: nbdkit-server >= 1.28.3-1.el9
Requires: nbdkit-curl-plugin
Requires: nbdkit-file-plugin
Requires: nbdkit-nbd-plugin
Requires: nbdkit-null-plugin
%if !%{with_ovirt}
%if !0%{?rhel}
Requires: nbdkit-python-plugin
%endif
Requires: nbdkit-ssh-plugin
@ -163,9 +141,9 @@ Requires: nbdkit-ssh-plugin
Requires: nbdkit-vddk-plugin
%endif
Requires: nbdkit-blocksize-filter
Requires: nbdkit-count-filter
Requires: nbdkit-cow-filter
Requires: nbdkit-cow-filter >= 1.28.3-1.el9
Requires: nbdkit-multi-conn-filter
Requires: nbdkit-noextents-filter
Requires: nbdkit-rate-filter
Requires: nbdkit-retry-filter
@ -234,27 +212,11 @@ autoreconf -fiv
%build
%configure \
%if %{with_block_driver}
--enable-block-driver \
%if !0%{?rhel}
--with-extra="fedora=%{fedora},release=%{release}" \
%else
--disable-block-driver \
--with-extra="rhel=%{rhel},release=%{release}" \
%endif
%if %{with_glance}
--enable-glance \
%else
--disable-glance \
%endif
%if %{with_ovirt}
--enable-ovirt \
%else
--disable-ovirt \
%endif
%if %{with_xen}
--enable-xen \
%else
--disable-xen \
%endif
--with-extra="%{version_extra}"
make V=1 %{?_smp_mflags}
@ -271,6 +233,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
mv $RPM_BUILD_ROOT%{_bindir}/virt-v2v-in-place $RPM_BUILD_ROOT%{_libexecdir}/
rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-in-place.1*
# these are also not supported on RHEL
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-input-xen.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-output-ovirt.1*
%endif
# Find locale files.
@ -278,23 +243,6 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-in-place.1*
%check
# Check that the binary runs and the features match those configured.
./run virt-v2v --version
./run virt-v2v --machine-readable | tee machine-readable.out
grep "virt-v2v-2.0" machine-readable.out
grep "input:disk" machine-readable.out
%if %{with_block_driver}
grep "block-driver-option" machine-readable.out
%endif
%if %{with_glance}
grep "output:glance" machine-readable.out
%endif
%if %{with_ovirt}
grep "output:ovirt$" machine-readable.out
grep "output:ovirt-upload" machine-readable.out
grep "output:vdsm" machine-readable.out
%endif
%ifarch x86_64
# Only run the tests with non-debug (ie. non-Rawhide) kernels.
# XXX This tests for any debug kernel installed.
@ -333,17 +281,15 @@ done
%{_mandir}/man1/virt-v2v.1*
%{_mandir}/man1/virt-v2v-hacking.1*
%{_mandir}/man1/virt-v2v-input-vmware.1*
%if %{with_xen}
%{_mandir}/man1/virt-v2v-input-xen.1*
%endif
%if !0%{?rhel}
%{_mandir}/man1/virt-v2v-input-xen.1*
%{_mandir}/man1/virt-v2v-in-place.1*
%endif
%{_mandir}/man1/virt-v2v-inspector.1*
%{_mandir}/man1/virt-v2v-open.1*
%{_mandir}/man1/virt-v2v-output-local.1*
%{_mandir}/man1/virt-v2v-output-openstack.1*
%if %{with_ovirt}
%if !0%{?rhel}
%{_mandir}/man1/virt-v2v-output-ovirt.1*
%endif
%{_mandir}/man1/virt-v2v-release-notes-1.42.1*
@ -367,66 +313,6 @@ done
%changelog
* Tue Jan 06 2026 Richard W.M. Jones <rjones@redhat.com> - 1:2.10.0-1
- New upstream stable branch version 2.10.0
- Requires libguestfs >= 1.58.0 and nbdkit >= 1.46.
* Tue Nov 4 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.10-1
- New upstream development version 2.9.10
- Requires libguestfs 1.57.6 for new inspection APIs.
* Thu Oct 16 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.9-1
- New upstream development version 2.9.9
* Tue Oct 14 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.8-2
- OCaml 5.4.0 rebuild
* Mon Sep 22 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.8-1
- New upstream development version 2.9.8
- Remove Windows conversion patch which is now upstream.
* Sat Sep 20 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.7-1
- New upstream development version 2.9.7
- Backport non-upstream patch to improve Windows conversions
* Tue Sep 9 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.6-1
- New upstream development version 2.9.6
* Fri Aug 29 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.5-1
- New upstream development version 2.9.5
- Use new ./configure --disable/--enable flags for excluding RHEL features
* Wed Aug 27 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.4-1
- New upstream development version 2.9.4
* Fri Aug 15 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.3-1
- New upstream development version 2.9.3
- Ensure minimum libguestfs is 1.57.1 (for guestfs_setfiles)
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jul 19 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.2-2
- Bump minimum version of nbdkit to 1.45.1, matching current Rawhide
- Bump minimum version of nbdcopy to 1.22, matching current Fedora 42
- Bump minimum version of libguestfs to 1.56
- Bump minimum version of guestfs-tools to 1.54
- Remove nbdkit-noextents-filter, option removed from virt-v2v 2.9.1
- Add nbdkit-count-filter, added in nbdkit 1.45
- Drop BR nbdkit-python-plugin, as it is not needed by our test
* Wed Jul 16 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.2-1
- New upstream development version 2.9.2
* Sun Jul 13 2025 Jerry James <loganjerry@gmail.com> - 1:2.9.1-2
- Rebuild to fix OCaml dependencies again
* Sun Jul 13 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.9.1-1
- New upstream development version 2.9.1
* Sat Jul 12 2025 Jerry James <loganjerry@gmail.com> - 1:2.8.1-2
- Rebuild to fix OCaml dependencies
* Thu Jun 26 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.8.1-1
- New upstream stable version 2.8.1
@ -483,11 +369,8 @@ done
* Sat Feb 01 2025 Björn Esser <besser82@fedoraproject.org> - 1:2.7.4-4
- Add explicit BR: libxcrypt-devel
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jan 10 2025 Jerry James <loganjerry@gmail.com> - 1:2.7.4-2
- OCaml 5.3.0 rebuild for Fedora 42
* Wed Jan 29 2025 Jerry James <loganjerry@gmail.com> - 1:2.7.4-2
- OCaml 5.2.1 rebuild for Fedora 41
* Mon Dec 09 2024 Richard W.M. Jones <rjones@redhat.com> - 1:2.7.4-1
- New upstream development version 2.7.4