From a4093f41f0cc344f1ba9da3876ab0b54359c88ec Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 3 Dec 2021 13:53:38 +0100 Subject: [PATCH] Remove unneeded lmdb dependency for samba-tool if we don't have a DC --- samba.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index 01a887b..a1b91fe 100644 --- a/samba.spec +++ b/samba.spec @@ -493,8 +493,10 @@ Requires: libwbclient = %{samba_depver} Requires: python3-%{name} = %{samba_depver} # samba-tool needs tdbbackup Requires: tdb-tools -# samba-tool needs mdb_copy +%if %{with dc} +# samba-tool needs mdb_copy for domain backup or upgrade provision Requires: lmdb +%endif Provides: bundled(libreplace)