From 2b6ee572eed1c622c82cafc2d28129448ef18d1c Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 4 Oct 2019 15:15:08 -0700 Subject: [PATCH] CentOS8/RHEL8 base don't have all the deps we were specifying 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 --- 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 fb26a3dae2..36e5363b59 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