From 25d5425804476c20831cf0274161c57dd4c54803 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 5679aab..3b87271 100644 --- a/samba.spec +++ b/samba.spec @@ -486,8 +486,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)