Fix samba-tool on builds with samba-dc

resolves: rhbz#2036443
This commit is contained in:
Andreas Schneider 2022-02-23 11:49:53 +01:00
parent 073076ff12
commit c42829d1ad
1 changed files with 6 additions and 1 deletions

View File

@ -134,7 +134,7 @@
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%global baserelease 2
%global baserelease 3
%global samba_version 4.16.0
%global talloc_version 2.3.3
@ -490,6 +490,8 @@ Requires: python3-%{name} = %{samba_depver}
# samba-tool needs tdbbackup
Requires: tdb-tools
%if %{with dc}
# samba-tool needs python3-samba-dc on a full build
Requires: python3-%{name}-dc = %{samba_depver}
# samba-tool needs mdb_copy for domain backup or upgrade provision
Requires: lmdb
%endif
@ -4131,6 +4133,9 @@ fi
%endif
%changelog
* Wed Feb 23 2022 Andreas Schneider <asn@redhat.com> - 4.16.0-0.3.rc3
- resolves: rhbz#2036443 - Fix samba-tool on builds with samba-dc
* Tue Feb 15 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.16.0rc3
- Update to Samba 4.16.0rc3
- resolves: #2042518