diff --git a/SPECS/libnbd.spec b/SPECS/libnbd.spec index fdeef5c..a3024f3 100644 --- a/SPECS/libnbd.spec +++ b/SPECS/libnbd.spec @@ -1,5 +1,5 @@ # If we should verify tarball signature with GPGv2. -%bcond_without nbdkit +%define with_nbdkit 1 %global verify_tarball_signature 1 # If there are patches which touch autotools files, set this to 1. @@ -75,7 +75,7 @@ BuildRequires: gcc-c++ BuildRequires: gnutls-utils #BuildRequires: jq %ifnarch %{ix86} -%if %{nbdkit} +%if 0%{?with_nbdkit} BuildRequires: nbdkit BuildRequires: nbdkit-data-plugin #BuildRequires: nbdkit-eval-plugin