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)