Compare commits

..

230 commits

Author SHA1 Message Date
Richard W.M. Jones
daaa263ad1 Hard depend on libnbd >= 1.24
This is not actually necessary for Fedora.  But for RHEL 10.2, where
we partially backported some 1.24 APIs to libnbd 1.22, the libnbd 1.22
package now provides LIBNBD_1.24 versioned symbols.  However not all
of them, so for example virt-v2v can fail with:

virt-v2v: symbol lookup error: virt-v2v: undefined symbol: nbd_get_handle_size, version LIBNBD_1.24

Practically this means that you can update virt-v2v to RHEL 10.2, but
leave libnbd from RHEL 10.1, and virt-v2v will then fail to run.

Adding a hard dependency avoids this problem, and is fine for Fedora too.

Related: https://issues.redhat.com/browse/RHEL-140894
2026-01-13 10:57:22 +00:00
Richard W.M. Jones
1a5178ef0c New upstream stable branch version 2.10.0
Requires libguestfs >= 1.58.0 and nbdkit >= 1.46.
2026-01-06 11:28:54 +00:00
Richard W.M. Jones
b07fed3631 New upstream development version 2.9.10
Requires libguestfs 1.57.6 for new inspection APIs.
2025-11-04 16:37:14 +00:00
Richard W.M. Jones
7ba7c65438 Bump minimum nbdkit version to 1.45.11
This will be the new minimum in the next development version of
virt-v2v.
2025-10-20 15:06:42 +01:00
Richard W.M. Jones
5af6be536a New upstream development version 2.9.9 2025-10-16 17:50:24 +01:00
Richard W.M. Jones
a0f001aa68 OCaml 5.4.0 rebuild 2025-10-14 09:21:09 +01:00
Yaakov Selkowitz
790400f357 Fix bash-completion conditional
ELN (the future RHEL 11) tracks rawhide and therefore also has
bash-completion-devel and the %bash_completions_dir macro.
2025-09-25 10:54:37 -04:00
Richard W.M. Jones
f5b4a66269 New upstream development version 2.9.8
Remove Windows conversion patch which is now upstream.
2025-09-22 15:47:18 +01:00
Richard W.M. Jones
9ba178aca4 Fix changelog of previous commit 2025-09-20 18:07:17 +01:00
Richard W.M. Jones
792368a646 New upstream development version 2.9.7
Ignore non-upstream patch to improve Windows conversions
2025-09-20 17:25:20 +01:00
Richard W.M. Jones
4a7db74788 New upstream development version 2.9.6 2025-09-09 21:34:06 +01:00
Richard W.M. Jones
0300363379 RHEL: Unnecessary to delete input-xen and output-ovirt man pages
Since RHEL is compiled with_xen == 0 && with_ovirt == 0, the project
should not generate these files, so deleting them should not be
necessary.
2025-09-01 09:39:16 +01:00
Richard W.M. Jones
4a4aa3a938 Unify Fedora and RHEL 10.2 spec files 2025-08-29 13:11:51 +01:00
Richard W.M. Jones
1fa63ef939 Require nbdkit-python-plugin only if we built oVirt support 2025-08-29 13:11:51 +01:00
Richard W.M. Jones
520c690092 Add missing perl dependencies
Previously some of these were pulled in implicitly.  However IPC::Run3
is a new dependency of podwrapper and we need to be explicit about
that one.
2025-08-29 11:07:23 +01:00
Richard W.M. Jones
66650d837a Fix version number in changelog 2025-08-29 10:55:37 +01:00
Richard W.M. Jones
26965f881b New upstream development version 2.9.4
Use new ./configure --disable/--enable flags for excluding RHEL features
2025-08-29 10:53:31 +01:00
Richard W.M. Jones
72edbc55f8 New upstream development version 2.9.4 2025-08-27 10:03:26 +01:00
Richard W.M. Jones
3a85108e5c New upstream development version 2.9.3
Ensure minimum libguestfs is 1.57.1 (for guestfs_setfiles)
2025-08-15 11:00:49 +01:00
Fedora Release Engineering
71d5e395b2 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:09:05 +00:00
Richard W.M. Jones
25e2eae876 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

Also:
- 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
2025-07-19 17:06:59 +01:00
Richard W.M. Jones
10c9afdfa8 New upstream development version 2.9.2 2025-07-16 13:37:40 +01:00
Jerry James
69d7d754bc Rebuild to fix OCaml dependencies again 2025-07-13 13:00:12 -06:00
Richard W.M. Jones
5b7f91c42f New upstream development version 2.9.1 2025-07-13 13:03:31 +01:00
Jerry James
d99c2b9523 Rebuild to fix OCaml dependencies 2025-07-12 16:38:48 -06:00
Richard W.M. Jones
b406c18f55 New upstream stable version 2.8.1 2025-06-26 16:26:03 +01:00
Richard W.M. Jones
689bbb8b49 New upstream stable version 2.8.0
Finetune BRs to match upstream.
2025-06-11 14:47:45 +01:00
Richard W.M. Jones
0950fa2dd4 New upstream development version 2.7.17 2025-06-03 16:34:56 +01:00
Richard W.M. Jones
5d3dce2ea5 Add temporary workaround for bug in gettext 2025-05-19 16:43:07 +01:00
Richard W.M. Jones
b04c24f962 New upstream development version 2.7.16 2025-05-19 15:08:45 +01:00
Richard W.M. Jones
670ec36027 Rename virt-v2v-output-rhv(1) -> virt-v2v-output-ovirt(1) 2025-05-12 18:58:41 +01:00
Richard W.M. Jones
959a529547 New upstream development version 2.7.15 2025-05-12 17:13:28 +01:00
Richard W.M. Jones
a9f381c640 New upstream development version 2.7.14
New tool: virt-v2v-open
2025-05-07 12:32:57 +01:00
Richard W.M. Jones
d82a76fce5 New upstream development version 2.7.13 2025-04-29 16:40:22 +01:00
Richard W.M. Jones
b9cfcbc1bd New upstream development version 2.7.12 2025-04-15 17:02:45 +01:00
Richard W.M. Jones
eef1115428 New upstream development version 2.7.11 2025-04-03 13:03:33 +01:00
Richard W.M. Jones
e94005d4ae Remove oUnit 2025-04-03 10:06:44 +01:00
Richard W.M. Jones
87a7e3cd66 Enable ocaml-gettext again 2025-04-03 09:47:17 +01:00
Richard W.M. Jones
f575eed3ef 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.
2025-03-22 11:16:32 +00:00
Richard W.M. Jones
fbf3a55ceb New upstream development version 2.7.9 2025-03-22 10:10:33 +00:00
Richard W.M. Jones
bc0707eb3b Fix use of rhel macro
With RPM 4.14.3 from SUSE I got this error:

  error: line 130: Unknown tag: %elif  == 9

After correcting %{?rhel} -> 0%{?rhel}, this error appeared instead:

  error: line 130: Unknown tag: %elif 0 == 9
2025-03-18 15:38:43 +00:00
Richard W.M. Jones
dba25ec5fb New upstream development version 2.7.8 2025-03-11 15:39:14 +00:00
Richard W.M. Jones
27be67588b New upstream development version 2.7.7
Disable gettext support in Fedora Rawhide
2025-02-27 18:24:36 +00:00
Richard W.M. Jones
1765b12755 Bump and rebuild for ocaml-gettext 0.5.0 2025-02-27 09:37:24 +00:00
Richard W.M. Jones
68cc862c48 New upstream development version 2.7.6 2025-02-13 09:54:57 +00:00
Richard W.M. Jones
938ffd31a8 New upstream development version 2.7.5 2025-02-05 15:26:41 +00:00
Richard W.M. Jones
ea0459111d Bump and rebuild (RHBZ#2341511)
Move to OCaml 4.08, new baseline version upstream.
2025-02-04 15:12:11 +00:00
Björn Esser
ec70683380
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:58:09 +01:00
Fedora Release Engineering
5cf65da2df Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:28:22 +00:00
Jerry James
0c56c2baac OCaml 5.3.0 rebuild for Fedora 42 2025-01-10 14:40:37 -07:00
Richard W.M. Jones
d0673fc50f New upstream development version 2.7.4 2024-12-09 17:43:36 +00:00
Richard W.M. Jones
36d6e0b700 New upstream development version 2.7.3
New upstream development version 2.7.3
New upstream development version 2.7.3
New upstream development version 2.7.3
2024-12-02 18:35:02 +00:00
Richard W.M. Jones
501cdb20ae New upstream development version 2.7.2 2024-11-18 14:52:32 +00:00
Richard W.M. Jones
c28b7c26fc New upstream development version 2.7.1
Replace jansson with json-c
2024-10-22 17:53:22 +01:00
Richard W.M. Jones
6fddb7b7d9 Rebuild for Jansson 2.14
(https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/3PYINSQGKQ4BB25NQUI2A2UCGGLAG5ND/)
2024-10-22 13:41:23 +01:00
Richard W.M. Jones
a53ed8e5fc New upstream stable version 2.6.0 2024-10-08 15:00:56 +01:00
Richard W.M. Jones
ff66613be2 New upstream development version 2.5.11 2024-10-03 13:23:13 +01:00
Yaakov Selkowitz
90d18ab510 Fix ELN build
These manpages are excludes in %files, as these features are not supported
on RHEL.
2024-09-10 23:16:25 -04:00
Richard W.M. Jones
0cc7156fdf New upstream development version 2.5.10 2024-09-10 10:53:46 +01:00
Richard W.M. Jones
325d55230c New upstream development version 2.5.9 2024-08-29 15:42:16 +01:00
Richard W.M. Jones
8935660aa2 New upstream development version 2.5.8 2024-08-20 12:19:25 +01:00
Richard W.M. Jones
c7a2f1f49a New upstream development version 2.5.7 2024-08-13 11:57:34 +01:00
Richard W.M. Jones
fe16fdb390 New upstream development version 2.5.6 2024-07-30 17:03:30 +01:00
Richard W.M. Jones
c3753c426c Depend on /usr/bin/python3 instead of python3 for -o rhv-upload scripts
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dependencies

Thanks: Miro Hrončok
2024-07-22 15:06:14 +01:00
Fedora Release Engineering
6b78c8afd5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:53:08 +00:00
Richard W.M. Jones
fec9e2b674 Remove python dependencies for RHEL 10
Only used by -o rhv-upload which has been removed.
2024-07-17 11:57:55 +01:00
Richard W.M. Jones
0a9c525871 Fix basic test on RHEL 10 2024-07-11 12:46:58 +01:00
Richard W.M. Jones
4ca1dbba4b New upstream development version 2.5.5 2024-07-11 12:28:07 +01:00
Richard W.M. Jones
37f4f2f35d Install virt-v2v-in-place as unsupported tool on RHEL
On RHEL we want to ship virt-v2v-in-place, but it is not supported, so
move it to libexec and remove the documentation.

Fixes: https://issues.redhat.com/browse/RHEL-40903
2024-07-09 11:30:48 +01:00
Richard W.M. Jones
41bc8532d0 RHEL 10: Remove virt-v2v-input-xen.1* and virt-v2v-output-rhv.1*
See:
https://issues.redhat.com/browse/RHEL-36712
https://issues.redhat.com/browse/RHEL-37687
2024-07-08 10:38:25 +01:00
Richard W.M. Jones
f722fff733 BR glibc-utils
Avoids this error with latest glibc:

ERROR: ld.so: object 'libc_malloc_debug.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2024-06-19 17:55:42 +01:00
Richard W.M. Jones
5c09841651 OCaml 5.2.0 ppc64le fix 2024-06-19 17:00:53 +01:00
Richard W.M. Jones
8b3ce35899 OCaml 5.2.0 for Fedora 41 2024-05-29 22:39:22 +01:00
Richard W.M. Jones
8aab9f5c68 New upstream development version 2.5.4 2024-04-25 15:23:35 +01:00
Richard W.M. Jones
6084b1f112 gating: Match any version of RHEL 2024-04-16 13:02:33 +01:00
Richard W.M. Jones
c087ce454e Bump release
- Fix bytecode compilation (RHBZ#2274708)
2024-04-12 22:15:18 +01:00
Richard W.M. Jones
5d4370f788 Fix bytecode compilation (RHBZ#2274708) 2024-04-12 22:15:04 +01:00
Richard W.M. Jones
3417df1151 New development branch version 2.5.3 2024-04-11 17:56:16 +01:00
Richard W.M. Jones
aae2f9ce73 Unconditionally run autoreconf 2024-04-11 17:55:14 +01:00
Richard W.M. Jones
c66f3a4d68 Use %{bash_completions_dir} macro 2024-03-25 11:17:03 +00:00
Richard W.M. Jones
db13600d9d BR bash-completion-devel (new in Rawhide) 2024-03-12 10:10:39 +00:00
Richard W.M. Jones
8d27cb1379 New development branch version 2.5.2 2024-03-12 10:01:12 +00:00
Fedora Release Engineering
1dba3b8c1b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:57:58 +00:00
Richard W.M. Jones
faab6c711a New development branch version 2.5.1 2024-01-18 17:29:25 +00:00
Richard W.M. Jones
f979570668 Add new virt-v2v-release-notes-2.4(1) man page to %files 2024-01-04 18:14:11 +00:00
Richard W.M. Jones
557617d39a New stable branch version 2.4.0 2024-01-04 18:02:07 +00:00
Richard W.M. Jones
354d961584 New development branch version 2.3.8 2023-12-19 15:51:14 +00:00
Richard W.M. Jones
6f1854e2fb OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 15:33:44 +00:00
Richard W.M. Jones
a6ffe0a668 BR mingw-srvany-redistributable
This is needed to run the limited test, else you will see:

virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools.  One of them is required in order to install Windows firstboot scripts.  You can get one by building rhsrvany (https://github.com/rwmjones/rhsrvany)

I'm not quite sure why this error has cropped up now.  Perhaps pulled
in by an indirect dependency before?
2023-12-14 11:28:46 +00:00
Richard W.M. Jones
df9fe268db OCaml 5.1.1 rebuild for Fedora 40 2023-12-12 16:05:37 +00:00
Richard W.M. Jones
ba6123fc75 Fix broken tests
'if test -s ...'

Thanks: Laszlo Ersek
2023-12-11 17:19:35 +00:00
Richard W.M. Jones
04f4df6031 Fixes a crash in virt-v2v and virt-customize 2023-12-09 13:10:44 +00:00
Richard W.M. Jones
3777fa33c6 New development branch version 2.3.7 2023-12-09 11:51:02 +00:00
Richard W.M. Jones
1b882146a3 Fix build for libxml2 2.12.1 2023-11-27 14:38:49 +00:00
Richard W.M. Jones
5b1d48a6d9 New development branch version 2.3.6 2023-11-02 11:25:19 +00:00
Yaakov Selkowitz
8f1820aa6f Use mingw-srvany-redistributable
srvany provides only mingw32 executables used by virt-v2v. However, by
virtue of being installed in the mingw32 directory hierarchy, it is
handled as other mingw packages, and ends up pulling in mingw toolchain
components which are not needed for running virt-v2v.

A new mingw-srvany-redistributable subpackage now provides those
binaries outside of the mingw32 paths, avoiding unnecessary mingw
dependency detection, and directly into the location where virt-v2v
expects them.
2023-10-20 16:49:43 -04:00
Richard W.M. Jones
71520a8e8f OCaml 5.1 rebuild for Fedora 40 2023-10-05 16:34:50 +01:00
Fedora Release Engineering
53cd983946 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:44:59 +00:00
Richard W.M. Jones
19b8f91663 Remove OCaml 5 patch
Equivalent change is now upstream.
2023-07-14 15:23:16 +01:00
Richard W.M. Jones
2eb925871d New development branch version 2.3.5 2023-07-14 15:13:46 +01:00
Richard W.M. Jones
6f4ec77358 OCaml 5.0 rebuild for Fedora 39 2023-07-12 14:00:35 +01:00
Jerry James
484ddbffba OCaml 5.0.0 rebuild 2023-07-10 22:52:00 -06:00
Yaakov Selkowitz
20323cd1bc Fix installation on newer RHEL
libguestfs-winsupport is not available in ELN, only RHEL.
platform-python was limited to RHEL 8, but was virtually provided by
python3 in RHEL 9 for compatibility.
2023-06-07 01:36:18 -04:00
Richard W.M. Jones
686b606973 Migrated to SPDX license 2023-06-05 15:10:20 +01:00
Richard W.M. Jones
0aacc5e2aa New development branch version 2.3.4 2023-04-19 12:38:25 +01:00
Richard W.M. Jones
32e3130e0f New development branch version 2.3.3 2023-02-06 14:54:20 +00:00
Richard W.M. Jones
1f21f51f2e Rebuild OCaml packages for F38 2023-01-24 18:32:38 +00:00
Richard W.M. Jones
367ef1d16e New development branch version 2.3.2 2023-01-19 11:09:07 +00:00
Richard W.M. Jones
8d307c79fb New development branch version 2.3.1 2023-01-17 10:47:10 +00:00
Richard W.M. Jones
dcd10a79fd Make %check section compatible with RHEL
On RHEL, windows.img is created zero sized.  Change the test so it
checks the image size is > 0 before running the test.
2023-01-10 15:41:07 +00:00
Richard W.M. Jones
cf3e580f28 New stable branch version 2.2.0 2023-01-10 15:06:27 +00:00
Richard W.M. Jones
060522be72 New upstream development version 2.1.12
Add release notes for future virt-v2v 2.2
2023-01-06 11:08:44 +00:00
Richard W.M. Jones
d5dbc41678 Remove bogus guestfs-tools 1: (Epoch) prefix in dependency
guestfs-tools main package does not have an Epoch.
2022-12-10 14:47:46 +00:00
Richard W.M. Jones
eda3bba64d New upstream development version 2.1.11 2022-12-10 12:50:35 +00:00
Richard W.M. Jones
cceac096a8 New upstream development version 2.1.10
New tool: virt-v2v-inspector
2022-11-26 15:41:35 +00:00
Richard W.M. Jones
2871ca2648 New upstream development version 2.1.9 2022-10-11 16:47:32 +01:00
Richard W.M. Jones
c4fd3776bc Add BR glibc-static
As part of the test we build a small static binary which acts like
'rpm' inside our test VM.  This needs glibc-static.  We only run this
test on x86-64.
2022-08-23 12:56:57 +01:00
Richard W.M. Jones
55ac73a3a6 New upstream development version 2.1.8 2022-08-01 15:23:21 +01:00
Fedora Release Engineering
898c0086da Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:59:43 +00:00
Richard W.M. Jones
a0b231bb84 New upstream development version 2.1.7 2022-07-05 13:58:04 +01:00
Richard W.M. Jones
7fbfa0974e OCaml 4.14.0 rebuild 2022-06-19 12:18:06 +01:00
Richard W.M. Jones
4adf248ad7 New upstream development version 2.1.6 2022-06-17 13:05:43 +01:00
Richard W.M. Jones
5b1f7b0dca New upstream development version 2.1.5
Add Requires python3 / platform-python (RHBZ#2094779)
Remove nbdkit-readahead-filter as it is no longer used
Enable the tests
2022-06-11 10:42:59 +01:00
Richard W.M. Jones
754f31a25a Enable the tests 2022-06-11 10:33:05 +01:00
Richard W.M. Jones
76a47e52e4 Remove nbdkit-readahead-filter as it is no longer used 2022-06-08 14:27:56 +01:00
Richard W.M. Jones
1180dbb912 Add Requires python3 / platform-python (RHBZ#2094779) 2022-06-08 12:49:45 +01:00
Richard W.M. Jones
cb7aba7e97 New upstream development version 2.1.4 2022-05-26 12:43:47 +01:00
Richard W.M. Jones
8eba39402e New upstream development version 2.1.3 2022-05-12 15:35:15 +01:00
Richard W.M. Jones
91effd1448 +BR ocaml-libvirt-devel 2022-04-28 17:42:56 +01:00
Richard W.M. Jones
efe47b57c3 New upstream development version 2.1.2 2022-04-26 10:55:44 +01:00
Richard W.M. Jones
56f912639f New upstream development version 2.1.1 2022-04-12 12:05:45 +01:00
Richard W.M. Jones
3c02e4033d New upstream stable branch version 2.0.2 2022-04-04 13:50:43 +01:00
Richard W.M. Jones
071890f38a New upstream stable branch version 2.0.1
Fixes security issue when running virt-v2v as root (RHBZ#2066773).
2022-03-23 13:57:25 +00:00
Richard W.M. Jones
bc43f9d3fe Fix nbdcopy versioned dependency
error: line 122: Versioned file name not permitted: Requires:      /usr/bin/nbdcopy >= 1.10
2022-03-14 15:42:59 +00:00
Richard W.M. Jones
715f90f312 Update dependencies to match release notes
https://libguestfs.org/virt-v2v-release-notes-2.0.1.html#build-changes
2022-03-14 15:39:30 +00:00
Richard W.M. Jones
b30f630728 Add virt-v2v-in-place binary
Also don't use absolute symlinks because of this error:

RPM build errors:
    absolute symlink: /usr/share/virt-tools/pnp_wait.exe -> /usr/i686-w64-mingw32/sys-root/mingw/bin/pnp_wait.exe
    absolute symlink: /usr/share/virt-tools/rhsrvany.exe -> /usr/i686-w64-mingw32/sys-root/mingw/bin/rhsrvany.exe
2022-03-14 15:00:51 +00:00
Richard W.M. Jones
ba3ddbc065 New upstream stable branch version 2.0.0
New virt-v2v-in-place and release notes man pages.
Remove the RHEL (downstream) patches which are out of date.
2022-03-14 14:19:59 +00:00
Richard W.M. Jones
1dc352f4e4 Add symlink to pnp_wait.exe from the virt tools directory
For background on this change see:
https://bugzilla.redhat.com/show_bug.cgi?id=1788823
2022-03-09 11:50:49 +00:00
Richard W.M. Jones
f7fec29fc3 New upstream development version 1.45.99 (preview of 2.0)
Requires nbdkit-blocksize-filter.
2022-02-15 18:35:09 +00:00
Richard W.M. Jones
71c77c8ee4 New upstream development version 1.45.98 (preview of 2.0) 2022-02-10 19:44:59 +00:00
Richard W.M. Jones
d1a170c6ce OCaml 4.13.1 rebuild to remove package notes 2022-02-04 17:16:36 +00:00
Fedora Release Engineering
1ef832f053 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:04:27 +00:00
Richard W.M. Jones
287af44206 New upstream development version 1.45.97 (preview of 2.0) 2022-01-17 16:58:20 +00:00
Richard W.M. Jones
66047589bf New upstream development version 1.45.96 (preview of 2.0) 2022-01-06 14:30:59 +00:00
Richard W.M. Jones
8d832087f2 New upstream development version 1.45.95 (preview of 2.0) 2021-12-18 11:11:39 +00:00
Richard W.M. Jones
41daf44a4d Add dependency on nbdkit-multi-conn-filter
And update version of nbdkit-cow-filter required.
2021-12-07 11:39:33 +00:00
Richard W.M. Jones
b06ee3b61c New upstream development version 1.45.94 (preview of 2.0)
Requires nbdkit >= 1.28.3 / 1.29.9

Containing this fix:
c6fe9cb5b4
2021-12-07 09:58:29 +00:00
Richard W.M. Jones
3ef8072669 New upstream development version 1.45.93 (preview of 2.0) 2021-12-03 17:17:46 +00:00
Richard W.M. Jones
df4a127b93 Fix previous commit
Apparently versioned filenames are not allowed:

  error: line 121: Versioned file name not permitted: Requires:      /usr/bin/scp >= 8.7p1
2021-12-02 13:21:25 +00:00
Richard W.M. Jones
d58960176f Require openssh-clients scp >= 8.7p1
See:
https://bugzilla.redhat.com/show_bug.cgi?id=2027673
e2af12ba69
2021-12-02 13:05:59 +00:00
Richard W.M. Jones
2821511444 New upstream development version 1.45.92 (preview of 2.0) 2021-12-02 10:46:00 +00:00
Richard W.M. Jones
2e0afa9b91 Bump release and rebuild 2021-11-25 08:33:15 +00:00
Richard W.M. Jones
f8610faa00 Revert "ExcludeArch %{arm} temporarily"
This reverts commit 7ba90de2bf.
2021-11-25 08:33:04 +00:00
Richard W.M. Jones
7ba90de2bf ExcludeArch %{arm} temporarily 2021-11-23 15:28:40 +00:00
Richard W.M. Jones
88e3f5af25 New upstream development version 1.45.91 (preview of 2.0) 2021-11-23 15:12:39 +00:00
Richard W.M. Jones
ea395b60dc OCaml 4.13.1 build 2021-10-05 11:36:31 +01:00
Richard W.M. Jones
4e3368f10c New upstream development version 1.45.90 (preview of 2.0) 2021-09-21 14:58:55 +01:00
Richard W.M. Jones
c8d08693ef New upstream development version 1.45.3.
Rebase RHEL patches.
2021-08-06 13:11:49 +01:00
Fedora Release Engineering
7dc6e87cf5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:33:43 +00:00
Richard W.M. Jones
be8fe16bb5 New upstream development version 1.45.2.
Remove --debug-overlays and --print-estimate options.
Remove -o glance option on RHEL 9 (RHBZ#1977539).
Remove support for RHEV-APT (RHBZ#1945549).
2021-06-30 12:00:38 +01:00
Richard W.M. Jones
3f9c446680 Rebase RHEL 9 patches on top of 1.45.1. 2021-06-16 13:42:06 +01:00
Richard W.M. Jones
29135227ce Go with Recommends instead of Requires virtio-win
See https://bugzilla.redhat.com/show_bug.cgi?id=1972644
2021-06-16 13:20:03 +01:00
Richard W.M. Jones
85358a3226 v2v-test-harness, virt-v2v-copy-to-local have been removed upstream. 2021-06-16 12:58:43 +01:00
Richard W.M. Jones
3a7cb22e41 Require virtio-win on RHEL (RHBZ#1972644). 2021-06-16 12:33:22 +01:00
Richard W.M. Jones
c1c9277cd1 New upstream development version 1.45.1. 2021-06-16 11:44:07 +01:00
Richard W.M. Jones
b004c17388 tests: Try harder to fix libvirt
Tests failed previously with:
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
2021-06-11 18:43:04 +01:00
Richard W.M. Jones
00d876a814 Add gating tests
https://bugzilla.redhat.com/show_bug.cgi?id=1950611

Thanks: Xiaodai Wang
2021-06-11 14:52:39 +01:00
Richard W.M. Jones
41e9bece4c nbdkit-vddk-plugin dep only exists on x86-64 2021-06-10 09:04:59 +01:00
Richard W.M. Jones
7599291a16 Change Recommends -> Requires for libguestfs-xfs.
Just using Recommends is insufficient to get RHEL to pull in
libguestfs-xfs as a dependency.

Thanks: Josh Boyer
2021-05-07 11:57:58 +01:00
Richard W.M. Jones
6e9ced10a5 Recommend libguestfs-xfs
It is the default filesystem on Fedora and RHEL so usually required in
order to convert those guests.
2021-05-06 17:51:19 +01:00
Richard W.M. Jones
7dd7c798f3 New upstream stable branch version 1.44.0. 2021-04-30 15:52:35 +01:00
Richard W.M. Jones
4ba366e0fb Update RHEL patches. 2021-04-27 17:58:39 +01:00
Richard W.M. Jones
989dd6b636 New upstream version 1.43.5. 2021-04-14 12:42:59 +01:00
Richard W.M. Jones
d81b7720bf Change libguestfs-tools-c -> guestfs-tools.
Thanks: Ming Xie
2021-04-01 14:33:55 +01:00
Richard W.M. Jones
3b8b4a2357 Previous patch touches autotools. 2021-04-01 09:52:51 +01:00
Richard W.M. Jones
4c68cfae20 Add upstream patch to depend on xorriso. 2021-04-01 09:37:59 +01:00
Richard W.M. Jones
bed8938b69 Add BR xorriso.
This will be required by virt-v2v >= 1.43.5.  Previously genisoimage
was being implicitly pulled in (via libguestfs) but recent changes to
libguestfs mean that this will no longer happen.
2021-03-31 20:17:41 +01:00
Richard W.M. Jones
6be9aa8e5f Add downstream (RHEL-only) patches (RHBZ#1931724). 2021-03-30 12:07:53 +01:00
Richard W.M. Jones
65fcab520f Make ocaml-ounit dependency conditional on !RHEL.
It's only needed to run some unit tests.
2021-03-18 13:24:45 +00:00
Richard W.M. Jones
0ef32f9020 Bump and rebuild for ocaml-gettext update. 2021-03-08 12:23:42 +00:00
Richard W.M. Jones
104a51bea0 New upstream version 1.43.4. 2021-03-03 12:59:29 +00:00
Richard W.M. Jones
ff416b9134 OCaml 4.12.0 build 2021-03-02 12:43:07 +00:00
Richard W.M. Jones
3b9c0f9f7b Add fix for OCaml 4.12. 2021-03-02 10:49:20 +00:00
Fedora Release Engineering
dbae216c18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:09:06 +00:00
Tom Stellard
4b2c8b6497 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-12 01:37:02 +00:00
Richard W.M. Jones
94934a6a89 New upstream version 1.43.3. 2021-01-05 15:05:05 +00:00
Richard W.M. Jones
493bd4f36e Fix previous commit. 2020-12-03 12:33:07 +00:00
Richard W.M. Jones
289db7e0c0 Drop obsolete virt-v2v-copy-to-local tool for Fedora 34 and RHEL 9. 2020-12-03 12:16:28 +00:00
Richard W.M. Jones
6ec7a0de06 Unify Fedora and RHEL spec files. 2020-12-02 21:11:37 +00:00
Richard W.M. Jones
db25f16e0c New upstream version 1.43.2. 2020-12-01 17:20:15 +00:00
Richard W.M. Jones
2afadc4a83 OCaml 4.11.1 rebuild 2020-09-01 22:20:33 +01:00
Richard W.M. Jones
658df65b8c OCaml 4.11.0 rebuild 2020-08-21 20:05:44 +01:00
Fedora Release Engineering
4ca512e184 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:35:57 +00:00
Fedora Release Engineering
893e8138a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:47:26 +00:00
Richard W.M. Jones
a3e6ed7219 New development branch 1.43. 2020-07-06 16:31:35 +01:00
Richard W.M. Jones
be446a8c85 Need to update Requires lines to match epoch added in previous commit. 2020-05-06 14:44:44 +01:00
Richard W.M. Jones
2692e3d6b8 Re-add Epoch. Forgotten when we split this package from libguestfs. 2020-05-06 13:11:50 +01:00
Richard W.M. Jones
805d78dcca OCaml 4.11.0+dev2-2020-04-22 rebuild 2020-05-05 22:03:30 +01:00
Richard W.M. Jones
4ec7e2eac6 +BR libosinfo-devel 2020-04-16 13:35:56 +01:00
Richard W.M. Jones
d3d1fda8db Remove patches (now upstream) which were accidentally left in last commit. 2020-04-16 13:30:50 +01:00
Richard W.M. Jones
e656ffdd3c New upstream stable version 1.42.0. 2020-04-16 13:27:34 +01:00
Richard W.M. Jones
b5277f69cf Update all OCaml dependencies for RPM 4.16. 2020-04-04 16:28:03 +01:00
Richard W.M. Jones
3e8c43329c OCaml 4.10.0 final. 2020-02-27 09:42:01 +00:00
Fedora Release Engineering
e47ea98a14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:15:26 +00:00
Richard W.M. Jones
153ba641ec Bump release and rebuild. 2020-01-19 23:03:49 +00:00
Richard W.M. Jones
fef847ab60 Bump release and rebuild. 2020-01-19 21:11:17 +00:00
Richard W.M. Jones
5924ae47ea Bump release and rebuild. 2020-01-19 20:04:35 +00:00
Richard W.M. Jones
7926cffa5e Disable all tests.
libvirt blockdev causes too many failures.
2020-01-19 19:56:45 +00:00
Richard W.M. Jones
1bf3000160 Pull in some upstream patches to fix tests/test-v2v-o-rhv-upload.sh 2020-01-19 19:55:48 +00:00
Richard W.M. Jones
17d121add7 Use nbdkit-python-plugin (now all Python 3 in Rawhide). 2020-01-19 18:53:32 +00:00
Richard W.M. Jones
83694a96ed OCaml 4.10.0+beta1 rebuild. 2020-01-19 17:35:41 +00:00
Richard W.M. Jones
4f8d3a8922 Import virt-v2v 1.41.8. 2019-12-03 11:57:45 +00:00
8beed2edaf Revert "Replaced by virt-v2v subpackage of libguestfs."
This reverts commit 969ea56ce1.
Unretirement request: https://pagure.io/releng/issue/9072

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2019-12-03 10:24:57 +01:00
Richard W.M. Jones
969ea56ce1 Replaced by virt-v2v subpackage of libguestfs. 2014-09-06 18:17:22 +01:00
Peter Robinson
3281f2d8ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 07:58:35 +00:00
Petr Písař
aa0901eab3 Fix changelog entry 2014-06-27 17:34:46 +02:00
Petr Písař
e61741b6b1 Fix license metadata 2014-06-27 17:31:50 +02:00
Dennis Gilmore
79f47d1cc3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:49:02 -05:00
Petr Písař
6f7b339f01 Perl 5.18 rebuild 2013-08-08 23:54:01 +02:00
Dennis Gilmore
6c163da4d5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:18:52 -05:00
Richard W.M. Jones
a224796ba7 Miscellaneous fixes for Fedora >= 18.
- Default to using the appliance backend, since in Fedora >= 18 the
  libvirt backend doesn't support the 'iface' parameter which virt-v2v
  requires.
- Add BR perl(Sys::Syslog), required to run the tests.
- Remove some cruft from the spec file.
2013-07-03 14:52:38 +01:00
Dennis Gilmore
bda6837d2d - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 20:50:24 -06:00
Matthew Booth
9fe2cbe459 Add missing dep Digest::SHA1 2012-12-06 16:16:43 +00:00
Matthew Booth
621a89ab7c Add missing dep Archive::Extract 2012-12-06 15:40:09 +00:00
Matthew Booth
3cdbc99c57 New upstream version 0.9.0 2012-12-06 15:17:32 +00:00
Dennis Gilmore
5fd58c0eb4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 21:49:48 -05:00
Petr Písař
935c45107e Perl 5.16 rebuild 2012-07-10 13:15:26 +02:00
Matthew Booth
670b6fe9e0 New upstream release 0.8.8 2012-06-25 13:46:14 +01:00
Dennis Gilmore
d8e2462b5c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 01:58:53 -06:00
Richard W.M. Jones
c2522473e2 - New upstream release 0.8.3.
- Include upstream patch to fix whitespace problems in PO files.
- Remove virt-p2v from build by synchronizing the spec file so it
  almost matches the one in RHEL 6.2.  Note that virt-p2v is built in
  a separate SRPM called rubygem-virt-p2v.
2011-08-22 14:47:38 +01:00
9 changed files with 879 additions and 274 deletions

7
.gitignore vendored
View file

@ -1,11 +1,14 @@
*~
# RPM target directories
/noarch
/x86_64
# Version-dependent build artifacts
/.build-*.log
/virt-v2v-v*/
/virt-v2v-*.src.rpm
/results_virt-v2v/
# Source
/virt-v2v-v*.tar.gz
/virt-v2v-*.tar.gz
/virt-v2v-*.tar.gz.sig

55
copy-patches.sh Executable file
View file

@ -0,0 +1,55 @@
#!/bin/bash -
set -e
# Maintainer script to copy patches from the git repo to the current
# directory. Use it like this:
# ./copy-patches.sh
rhel_version=av-8.3.0
# Check we're in the right directory.
if [ ! -f virt-v2v.spec ]; then
echo "$0: run this from the directory containing 'virt-v2v.spec'"
exit 1
fi
git_checkout=$HOME/d/virt-v2v-rhel-$rhel_version
if [ ! -d $git_checkout ]; then
echo "$0: $git_checkout does not exist"
echo "This script is only for use by the maintainer when preparing a"
echo "virt-v2v release on RHEL."
exit 1
fi
# Get the base version of virt-v2v.
version=`grep '^Version:' virt-v2v.spec | awk '{print $2}'`
tag="v$version"
# Remove any existing patches.
git rm -f [0-9]*.patch ||:
rm -f [0-9]*.patch
# Get the patches.
(cd $git_checkout; rm -f [0-9]*.patch; git format-patch -N --submodule=diff $tag)
mv $git_checkout/[0-9]*.patch .
# Remove any not to be applied.
rm -f *NOT-FOR-RPM*.patch
# Add the patches.
git add [0-9]*.patch
# Print out the patch lines.
echo
echo "--- Copy the following text into virt-v2v.spec file"
echo
echo "# Patches."
for f in [0-9]*.patch; do
n=`echo $f | awk -F- '{print $1}'`
echo "Patch$n: $f"
done
echo
echo "--- End of text"

7
gating.yaml Executable file
View file

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: libvirt-ci.v2v.brew-build.gating.x86_64.tier1.functional}

BIN
libguestfs.keyring Normal file

Binary file not shown.

View file

@ -1 +1,2 @@
2caf55a34ae086d34cbe82375c1b12c5 virt-v2v-v0.8.5.tar.gz
SHA512 (virt-v2v-2.10.0.tar.gz) = 035f2181c1cc5f482e96d3e21b513b95939ca224d71ac6ad938842d5af5d60ef07db1600d2ccb609dc2042b1c74088f6f39ffbe595cb51e80278ecb50c314515
SHA512 (virt-v2v-2.10.0.tar.gz.sig) = cb6301224ef00577a9cd0fc8fa504e583eb447341bd3849e6854f2d78ae72ca39bca68b70f30efd3d1d64480acf161c5e4bc9ba943595ef4dd2a654c3268aa66

13
tests/basic-test.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash -
set -e
set -x
# This only makes sure that virt-v2v isn't totally broken.
# virt-v2v is extensively tested on real guests by the QE
# team using a mix of automated and manual testing.
# Fix libvirt.
systemctl restart virtqemud virtsecretd virtstoraged virtnetworkd
virt-builder fedora-30
virt-v2v -i disk fedora-30.img -o null

13
tests/tests.yml Normal file
View file

@ -0,0 +1,13 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- virt-v2v
- guestfs-tools
- libvirt-daemon-kvm
tests:
- simple:
dir: .
run: ./basic-test.sh

View file

@ -1,101 +0,0 @@
commit 786a74f0f1c14cfb54a65ea8c5fc097f612b03a5
Author: Matthew Booth <mbooth@redhat.com>
Date: Tue Dec 13 14:18:10 2011 +0000
Fix crash during format conversions
Fix a regression introduced by commit 6dec2753fd9e7d726e140bb246ccf32df8af9fb5.
We didn't update the format conversion code when updating the GuestfsHandle API.
This change updates the API again, removing an unnecessary dependency between
GuestfsHandle and Volume.
diff --git a/lib/Sys/VirtConvert/GuestfsHandle.pm b/lib/Sys/VirtConvert/GuestfsHandle.pm
index f6fa63f..fe34d14 100644
--- a/lib/Sys/VirtConvert/GuestfsHandle.pm
+++ b/lib/Sys/VirtConvert/GuestfsHandle.pm
@@ -57,9 +57,9 @@ close() method, and the ability to register pre-close callbacks.
=item new(disks, transferiso, isrhev)
Create a new object. Open a new Sys::Guestfs handle to proxy, using the disks
-defined in I<disks>, which is taken from the guest metadata. Add I<transferiso>
-as a read-only drive if it is given. If I<isrhev> is true, the handle will use
-user and group 36:36.
+defined in I<disks>, which is list of disk metadata defined as: [ [ name, path,
+format ], ... ]. Add I<transferiso> as a read-only drive if it is given. If
+I<isrhev> is true, the handle will use user and group 36:36.
=cut
@@ -77,12 +77,12 @@ sub new
$g = Sys::Guestfs->new();
foreach my $disk (@{$disks}) {
- my $vol = $disk->{dst};
+ my ($name, $path, $format) = @$disk;
- $g->add_drive_opts($vol->get_path(),
- format => $vol->get_format(),
+ $g->add_drive_opts($path,
+ format => $format,
iface => $interface,
- name => $disk->{device});
+ name => $name);
}
# Add the transfer iso if there is one
diff --git a/lib/Sys/VirtConvert/Transfer/Local.pm b/lib/Sys/VirtConvert/Transfer/Local.pm
index 667b282..5053ccb 100644
--- a/lib/Sys/VirtConvert/Transfer/Local.pm
+++ b/lib/Sys/VirtConvert/Transfer/Local.pm
@@ -179,12 +179,13 @@ package Sys::VirtConvert::Transfer::GuestfsStream;
sub new
{
my $class = shift;
- my ($path) = @_;
+ my ($path, $format) = @_;
my $self = {};
bless($self, $class);
- $self->{g} = new Sys::VirtConvert::GuestfsHandle([$path], undef, 0);
+ $self->{g} = new Sys::VirtConvert::GuestfsHandle([['sda', $path, $format]],
+ undef, 0);
return $self;
}
diff --git a/p2v/server/virt-p2v-server.pl b/p2v/server/virt-p2v-server.pl
index 8c52b08..7427055 100755
--- a/p2v/server/virt-p2v-server.pl
+++ b/p2v/server/virt-p2v-server.pl
@@ -343,8 +343,12 @@ sub convert
eval {
my $transferiso = $config->get_transfer_iso();
+ my @disks = map { [ $_->{device},
+ $_->{dst}->get_path(),
+ $_->{dst}->get_format() ] } @{$meta->{disks}};
+
$g = new Sys::VirtConvert::GuestfsHandle(
- $meta->{disks},
+ \@disks,
$transferiso,
$target->isa('Sys::VirtConvert::Connection::RHEVTarget')
);
diff --git a/v2v/virt-v2v.pl b/v2v/virt-v2v.pl
index dead384..b438766 100755
--- a/v2v/virt-v2v.pl
+++ b/v2v/virt-v2v.pl
@@ -518,8 +518,12 @@ v2vdie __('Guest doesn\'t define any storage devices')
$source->copy_storage($target, $output_format, $output_sparse);
# Open a libguestfs handle on the guest's storage devices
+my @disks = map { [ $_->{device},
+ $_->{dst}->get_path(),
+ $_->{dst}->get_format() ] } @{$meta->{disks}};
+
my $g = new Sys::VirtConvert::GuestfsHandle(
- $meta->{disks},
+ \@disks,
$transferiso,
$output_method eq 'rhev'
);

File diff suppressed because it is too large Load diff