Disable BR qemu-img on i686.

This commit is contained in:
Richard W.M. Jones 2021-01-29 17:31:34 +00:00
parent 77f5ff090f
commit e4160545b0

View File

@ -9,7 +9,7 @@
Name: libnbd
Version: 1.7.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: NBD client library in userspace
License: LGPLv2+
@ -63,14 +63,14 @@ BuildRequires: gcc-c++
BuildRequires: gnutls-utils
BuildRequires: jq
BuildRequires: nbd
BuildRequires: qemu-img
BuildRequires: util-linux
# On RHEL, maybe even in Fedora in future, we do not build nbdkit for
# i686. nbdkit is only needed for the test suite so make it optional.
# This reduces our test exposure on 32 bit platforms, although there
# is still Fedora/armv7 and some upstream testing.
# On RHEL, maybe even in Fedora in future, we do not build qemu-img or
# nbdkit for i686. These are only needed for the test suite so make
# them optional. This reduces our test exposure on 32 bit platforms,
# although there is still Fedora/armv7 and some upstream testing.
%ifnarch %{ix86}
BuildRequires: qemu-img
BuildRequires: nbdkit
BuildRequires: nbdkit-data-plugin
BuildRequires: nbdkit-eval-plugin
@ -299,6 +299,9 @@ make %{?_smp_mflags} check || {
%changelog
* Fri Jan 29 2021 Richard W.M. Jones <rjones@redhat.com> - 1.7.1-5
- Disable BR qemu-img on i686.
* Thu Jan 28 2021 Richard W.M. Jones <rjones@redhat.com> - 1.7.1-3
- Disable BR nbdkit on i686 because it breaks ELN/RHEL 9.