Add without option to use nbdkit
This commit is contained in:
parent
c05826a118
commit
9e7922aee6
@ -1,4 +1,5 @@
|
|||||||
# If we should verify tarball signature with GPGv2.
|
# If we should verify tarball signature with GPGv2.
|
||||||
|
%bcond_without nbdkit
|
||||||
%global verify_tarball_signature 1
|
%global verify_tarball_signature 1
|
||||||
|
|
||||||
# If there are patches which touch autotools files, set this to 1.
|
# If there are patches which touch autotools files, set this to 1.
|
||||||
@ -74,6 +75,7 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: gnutls-utils
|
BuildRequires: gnutls-utils
|
||||||
#BuildRequires: jq
|
#BuildRequires: jq
|
||||||
%ifnarch %{ix86}
|
%ifnarch %{ix86}
|
||||||
|
%if %{nbdkit}
|
||||||
BuildRequires: nbdkit
|
BuildRequires: nbdkit
|
||||||
BuildRequires: nbdkit-data-plugin
|
BuildRequires: nbdkit-data-plugin
|
||||||
#BuildRequires: nbdkit-eval-plugin
|
#BuildRequires: nbdkit-eval-plugin
|
||||||
@ -83,6 +85,7 @@ BuildRequires: nbdkit-pattern-plugin
|
|||||||
BuildRequires: nbdkit-sh-plugin
|
BuildRequires: nbdkit-sh-plugin
|
||||||
#BuildRequires: nbdkit-sparse-random-plugin
|
#BuildRequires: nbdkit-sparse-random-plugin
|
||||||
#BuildRequires: nbd
|
#BuildRequires: nbd
|
||||||
|
%endif
|
||||||
BuildRequires: qemu-img
|
BuildRequires: qemu-img
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
|
Loading…
Reference in New Issue
Block a user