Fix samba-tool dependencies

This commit is contained in:
Andreas Schneider 2023-02-16 09:11:52 +01:00
parent 98c6fdaeee
commit 2d446a3116

View File

@ -531,13 +531,12 @@ The samba-common-tools package contains tools for SMB/CIFS clients.
Summary: Tools for Samba servers Summary: Tools for Samba servers
# samba-tool needs python3-samba # samba-tool needs python3-samba
Requires: python3-%{name} = %{samba_depver} Requires: python3-%{name} = %{samba_depver}
# samba-tool needs tdbbackup
Requires: tdb-tools
# samba-tool needs python3-samba-dc also on non-dc build # samba-tool needs python3-samba-dc also on non-dc build
Requires: python3-%{name}-dc = %{samba_depver} Requires: python3-%{name}-dc = %{samba_depver}
%if %{with dc} %if %{with dc}
# samba-tool needs mdb_copy for domain backup or upgrade provision # samba-tool needs mdb_copy and tdbackup for domain backup or upgrade provision
Requires: lmdb Requires: lmdb
Requires: tdb-tools
%endif %endif
%description tools %description tools