summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2019-11-12 11:39:27 -0800
committerMatt Davis <nitzmahone@users.noreply.github.com>2019-11-12 11:39:27 -0800
commit4aae6f5341430594889c425b8b27ab05ef230f2e (patch)
tree64bcb41593fb9c28227785834126536652730a8c /packaging
parent49f1760fea49f351ea48926ca98eea44a0decde3 (diff)
downloadansible-4aae6f5341430594889c425b8b27ab05ef230f2e.tar.gz
[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 <a.badger@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/ansible.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec
index 3c6b9faf18..d5af411208 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