From b8340b93700a58fb964f79cb75153978124fd4bc Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Nov 10 2017 16:28:13 +0000 Subject: Make sure python-pytest-xdist is pulled for > RHEL7 Needed for tests to pass. Signed-off-by: Miroslav Vadkerti --- diff --git a/ansible.spec b/ansible.spec index 10264cf..de959c1 100644 --- a/ansible.spec +++ b/ansible.spec @@ -70,7 +70,7 @@ BuildRequires: python-boto3 BuildRequires: python-botocore BuildRequires: python-passlib # rhel7 does not have python-pytest but has pytest -%if 0%{?rhel} > 6 +%if 0%{?rhel} == 7 BuildRequires: pytest #BuildRequires: python-pytest-xdist #BuildRequires: python-pytest-mock