If we build Samba without AD DC obsolete DC packages

This commit is contained in:
Andreas Schneider 2019-05-10 11:30:21 +02:00
parent 6d8230cbfd
commit 0886ab0c3b
1 changed files with 6 additions and 0 deletions

View File

@ -309,6 +309,12 @@ Requires(post): systemd
Provides: samba4-common = %{samba_depver}
Obsoletes: samba4-common < %{samba_depver}
%if ! %{with_dc}
Obsoletes: samba-dc < %{samba_depver}
Obsoletes: samba-dc-libs < %{samba_depver}
Obsoletes: samba-dc-bind-dlz < %{samba_depver}
%endif
%description common
samba-common provides files necessary for both the server and client
packages of Samba.