diff --git a/libnbd.spec b/libnbd.spec index d3a686d..a127cbc 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -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++