summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2019-10-04 15:15:08 -0700
committerToshio Kuratomi <a.badger@gmail.com>2019-10-04 20:52:22 -0700
commit2b6ee572eed1c622c82cafc2d28129448ef18d1c (patch)
treed4aa991522e5a7bd7125e8c4cac5be55b5bb58d5
parent239d639feedb1a6881ebd1bb43e00d147442b833 (diff)
downloadansible-2b6ee572eed1c622c82cafc2d28129448ef18d1c.tar.gz
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
-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 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