From 7defdb873e778f800a5a52f4ce8ae2d23f9acad6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Aug 13 2016 08:35:20 +0000 Subject: add conditional to build with ndb Signed-off-by: Igor Gnatenko --- diff --git a/rpm.spec b/rpm.spec index 0da319a..6d2ff2b 100644 --- a/rpm.spec +++ b/rpm.spec @@ -12,6 +12,8 @@ %bcond_without libarchive # build with libimaevm.so %bcond_without libimaevm +# build with new db format +%bcond_with ndb %define rpmhome /usr/lib/rpm @@ -381,6 +383,7 @@ done; --with-selinux \ --with-cap \ --with-acl \ + %{?with_ndb: --with-ndb} \ --enable-python make %{?_smp_mflags}