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