From 4aae6f5341430594889c425b8b27ab05ef230f2e Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 12 Nov 2019 11:39:27 -0800 Subject: [PATCH] [stable-2.9] CentOS8/RHEL8 base don't have all the deps we were specifying (#63151) We used a few packages for tests which don't exist in RHEL8 base. Don't dep on those so those tests will simply skip (cherry picked from commit 2b6ee57) Co-authored-by: Toshio Kuratomi --- packaging/rpm/ansible.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec index 3c6b9faf18b..d5af411208d 100644 --- a/packaging/rpm/ansible.spec +++ b/packaging/rpm/ansible.spec @@ -63,10 +63,11 @@ BuildRequires: python3-pytest BuildRequires: python3-pytest-xdist BuildRequires: python3-pytest-mock BuildRequires: python3-requests -BuildRequires: python3-coverage +BUildRequires: %{py3_dist coverage} BuildRequires: python3-mock -BuildRequires: python3-boto3 -BuildRequires: python3-botocore +# Not available in RHEL8, we'll just skip the tests where they apply +#BuildRequires: python3-boto3 +#BuildRequires: python3-botocore BuildRequires: python3-systemd BuildRequires: git-core