add conditional to build with ndb
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
485d8d8288
commit
7defdb873e
3
rpm.spec
3
rpm.spec
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user