Add without option to use nbdkit

This commit is contained in:
eabdullin 2022-08-12 18:27:46 +03:00
parent c05826a118
commit 9e7922aee6
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# If we should verify tarball signature with GPGv2.
%bcond_without nbdkit
%global verify_tarball_signature 1
# If there are patches which touch autotools files, set this to 1.
@ -74,6 +75,7 @@ BuildRequires: gcc-c++
BuildRequires: gnutls-utils
#BuildRequires: jq
%ifnarch %{ix86}
%if %{nbdkit}
BuildRequires: nbdkit
BuildRequires: nbdkit-data-plugin
#BuildRequires: nbdkit-eval-plugin
@ -83,6 +85,7 @@ BuildRequires: nbdkit-pattern-plugin
BuildRequires: nbdkit-sh-plugin
#BuildRequires: nbdkit-sparse-random-plugin
#BuildRequires: nbd
%endif
BuildRequires: qemu-img
%endif
BuildRequires: util-linux