Remove unneeded lmdb dependency for samba-tool if we don't have a DC

This commit is contained in:
Andreas Schneider 2021-12-03 13:53:38 +01:00 committed by Pavel Filipenský
parent c818aff06a
commit 25d5425804
1 changed files with 3 additions and 1 deletions

View File

@ -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)