From 4eb296a03220e4a35eaafc7c9387244cb252a2d3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 11 Dec 2012 18:39:41 +0100 Subject: [PATCH] Add ldb-tools if we run the testsuite. --- samba.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samba.spec b/samba.spec index 1d280a4..428deb7 100644 --- a/samba.spec +++ b/samba.spec @@ -142,6 +142,10 @@ BuildRequires: libtdb-devel >= %{libtdb_version} BuildRequires: python-tdb >= %{libtdb_version} %endif +%if %{with testsuite} +BuildRequires: ldb-tools +%endif + # UGLY HACK: Fix 'Provides' for libsmbclient and libwbclient %if ! %with_libsmbclient && ! %with_libwbclient %{?filter_setup: