From 8bf1e7fb1fbf67c6d758cd2496e1ec848b446ee3 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 15 Aug 2022 10:45:52 +0300 Subject: [PATCH] Fix if --- SPECS/libnbd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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