Fix wrong conditional build check for AD DC

resolves: #1954263
This commit is contained in:
Anoop C S 2021-04-28 10:30:49 +05:30
parent b88dfc7eaa
commit 1520f9620f

View File

@ -108,7 +108,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 main_release 1
%global main_release 2
%global samba_version 4.14.3
%global talloc_version 2.3.2
@ -389,7 +389,7 @@ Recommends: logrotate
Provides: samba4-common = %{samba_depver}
Obsoletes: samba4-common < %{samba_depver}
%if %{with dc} || %{with testsuite}
%if %{without dc} && %{without testsuite}
Obsoletes: samba-dc < %{samba_depver}
Obsoletes: samba-dc-libs < %{samba_depver}
Obsoletes: samba-dc-bind-dlz < %{samba_depver}
@ -3878,6 +3878,9 @@ fi
%endif
%changelog
* Wed Apr 28 2021 Anoop C S <anoopcs@samba.org> - 4.14.3-2
- resolves: #1954263 - wrong conditional build check of AD DC
* Tue Apr 20 2021 Andreas Schneider <asn@redhat.com> - 4.14.3-1
- resolves: #1942378 - Drop NIS support