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. Resolves: https://issues.redhat.com/browse/RHEL-140894 Reported-by: Ming Xie (cherry picked from commit daaa263ad1b2d452da262945e0033122daeb247d)
This commit is contained in:
parent
7756d73ea8
commit
7720f80b31
@ -45,7 +45,7 @@ ExclusiveArch: x86_64
|
||||
Name: virt-v2v
|
||||
Epoch: 1
|
||||
Version: 2.10.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Convert a virtual machine to run on KVM
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
@ -93,7 +93,7 @@ BuildRequires: bash-completion-devel
|
||||
BuildRequires: file
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: json-c-devel
|
||||
BuildRequires: libnbd-devel >= 1.22
|
||||
BuildRequires: libnbd-devel >= 1.24
|
||||
BuildRequires: libosinfo-devel
|
||||
BuildRequires: libvirt-daemon-kvm
|
||||
BuildRequires: libvirt-devel
|
||||
@ -160,7 +160,7 @@ Requires: edk2-aarch64
|
||||
%if !%{with_ovirt}
|
||||
Requires: /usr/bin/python3
|
||||
%endif
|
||||
Requires: libnbd >= 1.22
|
||||
Requires: libnbd >= 1.24
|
||||
Requires: %{_bindir}/qemu-nbd
|
||||
Requires: %{_bindir}/nbdcopy
|
||||
Requires: %{_bindir}/nbdinfo
|
||||
@ -378,7 +378,7 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 06 2026 Richard W.M. Jones <rjones@redhat.com> - 1:2.10.0-1
|
||||
* Tue Jan 13 2026 Richard W.M. Jones <rjones@redhat.com> - 1:2.10.0-2
|
||||
- Rebase to virt-v2v 2.10.0
|
||||
resolves: RHEL-111241
|
||||
- Synchronize spec file with Fedora.
|
||||
@ -406,6 +406,8 @@ done
|
||||
resolves: RHEL-125956
|
||||
- Remove cache=none
|
||||
resolves: RHEL-135617
|
||||
- Hard depend on libnbd 1.24
|
||||
resolves: RHEL-140894
|
||||
|
||||
* Thu Aug 21 2025 Richard W.M. Jones <rjones@redhat.com> - 1:2.8.1-9
|
||||
- Rebase to virt-v2v 2.8.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user