From 0886ab0c3b690995ec337b108b121dac99f5211f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 10 May 2019 11:30:21 +0200 Subject: [PATCH] If we build Samba without AD DC obsolete DC packages --- samba.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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.