add conditional to build with ndb

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-05-12 10:56:10 +02:00
parent 485d8d8288
commit 7defdb873e

View File

@ -12,6 +12,8 @@
%bcond_without libarchive %bcond_without libarchive
# build with libimaevm.so # build with libimaevm.so
%bcond_without libimaevm %bcond_without libimaevm
# build with new db format
%bcond_with ndb
%define rpmhome /usr/lib/rpm %define rpmhome /usr/lib/rpm
@ -381,6 +383,7 @@ done;
--with-selinux \ --with-selinux \
--with-cap \ --with-cap \
--with-acl \ --with-acl \
%{?with_ndb: --with-ndb} \
--enable-python --enable-python
make %{?_smp_mflags} make %{?_smp_mflags}