From 4e24b2c614765701b9c609706d47a9cf9d91d613 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 21 2021 14:11:09 +0000 Subject: Require ansible or ansible-core CentOS 9 includes ansible-core 2.11. --- diff --git a/SPECS/python-ansible-runner.spec b/SPECS/python-ansible-runner.spec index 83ca456..20fcb26 100644 --- a/SPECS/python-ansible-runner.spec +++ b/SPECS/python-ansible-runner.spec @@ -22,7 +22,7 @@ Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{ # Source0: https://github.com/ansible/%%{pypi_name}/archive/%%{version}/%%{pypi_name}-%%{version}.tar.gz BuildArch: noarch -BuildRequires: ansible >= 2.6 +BuildRequires: (ansible >= 2.6 or ansible-core >= 2.11) %if %{with python2} BuildRequires: python-daemon %if 0%{?el7} @@ -96,7 +96,7 @@ standalone tool, or imported into a python project. Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} -Requires: ansible >= 2.6 +Requires: (ansible >= 2.6 or ansible-core >= 2.11) Requires: python3-daemon Requires: python3dist(pexpect) >= 4.6 Requires: python3dist(psutil)