diff --git a/samba.spec b/samba.spec index 6f0c92a..08fa166 100644 --- a/samba.spec +++ b/samba.spec @@ -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.