Add missing Requires in samba-common-tools for samba-tool

This commit is contained in:
Andreas Schneider 2021-08-12 14:41:44 +02:00
parent 68140d413f
commit 713db3d972
1 changed files with 11 additions and 5 deletions

View File

@ -119,7 +119,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 3
%global baserelease 4
%global samba_version 4.15.0
%global talloc_version 2.3.3
@ -461,6 +461,13 @@ Requires: samba-libs = %{samba_depver}
Requires: libwbclient = %{samba_depver}
%endif
# samba-tool needs python3-samba
Requires: python3-%{samba} = %{samba_depver}
# samba-tool needs tdbbackup
Requires: tdb-tools
# samba-tool needs mdb_copy
Requires: lmdb
Provides: bundled(libreplace)
%description common-tools
@ -482,10 +489,6 @@ Requires(post): libwbclient = %{samba_depver}
Requires: libwbclient = %{samba_depver}
%endif
# samba-tool needs tdbbackup
Requires: tdb-tools
# samba-tool needs mdb_copy
Requires: lmdb
Requires: ldb-tools
Requires: python3-setproctitle
# Force using libldb version to be the same as build version
@ -4006,6 +4009,9 @@ fi
%endif
%changelog
* Thu Aug 12 2021 Andreas Schneider <asn@redhat.com> - 4.15.0rc2-4
- Package samba-tool correctly
* Mon Aug 09 2021 Guenther Deschner <gdeschner@redhat.com> - 4.15.0rc2-3
- Update to Samba 4.15.0rc2
- resolves: #1991634