Fix python-crypto requirements

This commit is contained in:
Andreas Schneider 2016-08-17 08:28:42 +02:00
parent 41dfb2a33c
commit 22a49d7cdc

View File

@ -182,6 +182,8 @@ BuildRequires: libcephfs1-devel
%endif
%if %{with_dc}
BuildRequires: gnutls-devel >= 3.4.7
# Required by samba-tool to run tests
BuildRequires: python-crypto
%endif
# pidl requirements
@ -319,8 +321,10 @@ Requires: %{name}-libs = %{samba_depver}
Requires: %{name}-dc-libs = %{samba_depver}
Requires: %{name}-python = %{samba_depver}
Requires: %{name}-winbind = %{samba_depver}
%if %{with_dc}
# samba-tool requirements
Requires: python-crypto
%endif
Provides: samba4-dc = %{samba_depver}
Obsoletes: samba4-dc < %{samba_depver}