Disable nbdkit tests on Fedora <= 30.

The nbdkit package on older Fedora does not export the virtual
provides "nbdkit-memory-plugin" etc.
This commit is contained in:
Richard W.M. Jones 2019-08-28 19:26:25 +01:00
parent c89a0452df
commit 57d26cf1af

View File

@ -48,11 +48,13 @@ BuildRequires: glib2-devel
# Only for running the test suite.
BuildRequires: gnutls-utils
%if 0%{?fedora} >= 31
BuildRequires: nbdkit
BuildRequires: nbdkit-memory-plugin
BuildRequires: nbdkit-null-plugin
BuildRequires: nbdkit-pattern-plugin
BuildRequires: nbdkit-sh-plugin
%endif
BuildRequires: nbd
BuildRequires: qemu-img
BuildRequires: gcc-c++