From eae8b0478426d67af7df0400d10a2199e15c6881 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 3 Sep 2021 09:07:37 +0200 Subject: [PATCH] The testsuite requires lmdb-devel --- samba.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index 678fc7f..fc4720c 100644 --- a/samba.spec +++ b/samba.spec @@ -346,7 +346,9 @@ BuildRequires: python3-tdb >= %{tdb_version} BuildRequires: libldb-devel >= %{ldb_version} BuildRequires: python3-ldb >= %{ldb_version} BuildRequires: python3-ldb-devel >= %{ldb_version} -%else +%endif + +%if %{with includelibs} || %{with testsuite} # lmdb-devel is required for the mdb ldb module, if samba is configured # to build includelibs we need lmdb-devel for building that module on our own BuildRequires: lmdb-devel