diff --git a/ansible.spec b/ansible.spec index 465c746..19a77da 100644 --- a/ansible.spec +++ b/ansible.spec @@ -135,7 +135,9 @@ Requires: %{python}-paramiko Requires: %{python}-passlib Requires: %{python}-pycrypto >= 2.6 Requires: %{python}-setuptools > 0.6 +%if ! %{with python3} Requires: %{python}-xml +%endif Recommends: %{python}-boto3 Recommends: %{python}-botocore Recommends: %{python}-dnspython