summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2019-09-20 15:27:39 -0700
committerToshio Kuratomi <a.badger@gmail.com>2019-09-30 22:52:03 -0700
commit32c8de57974fe10f72748cbe597e42889acbbf7f (patch)
tree2af8ce1a1f49626a75a83940d8fbbec2a5c9f72e /packaging
parent4dda11a770e52a4ac8fd64e9f13c222a9b82f9d8 (diff)
downloadansible-32c8de57974fe10f72748cbe597e42889acbbf7f.tar.gz
[stable-2.9] Fixes to the rpm dependencies
* Remove duplicate bundled provides line in the rpm spec file * Remove jmespath and passlib on RHEL7 as these are optional dependencies which aren't shipped with RHEL7 (cherry picked from commit 593d639) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/ansible.spec15
1 files changed, 5 insertions, 10 deletions
diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec
index cb0b155aa3..fb26a3dae2 100644
--- a/packaging/rpm/ansible.spec
+++ b/packaging/rpm/ansible.spec
@@ -13,6 +13,7 @@
%define py2_shbang_opts %{nil}
%define py3_shbang_opts %{nil}
+
%if 0%{?fedora} || 0%{?rhel} >= 8
%global with_python2 0
%global with_python3 1
@@ -46,13 +47,6 @@ Provides: bundled(python-six) = 1.12.0
%if 0%{?rhel} >= 8
-# Bundled provides
-Provides: bundled(python-backports-ssl_match_hostname) = 3.7.0.1
-Provides: bundled(python-distro) = 1.4.0
-Provides: bundled(python-ipaddress) = 1.0.22
-Provides: bundled(python-selectors2) = 1.1.1
-Provides: bundled(python-six) = 1.12.0
-
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@@ -85,11 +79,11 @@ Requires: python3-six
Requires: sshpass
%else
-
%if 0%{?rhel} >= 7
# RHEL 7
BuildRequires: python2-devel
BuildRequires: python-setuptools
+
# For building docs
BuildRequires: python-sphinx
@@ -121,9 +115,9 @@ Requires: python2-cryptography
Requires: python-six
Requires: sshpass
-Requires: python-passlib
+# As of Ansible-2.9.0, we no longer depend on the optional dependencies jmespath or passlib
+# Users have to install those on their own
Requires: python-paramiko
-Requires: python2-jmespath
# The ansible-doc package is no longer provided as of Ansible Engine 2.6.0
Obsoletes: ansible-doc < 2.6.0
@@ -191,6 +185,7 @@ multi-node deployment, and remote task execution system. Ansible works
over SSH and does not require any software or daemons to be installed
on remote nodes. Extension modules can be written in any language and
are transferred to managed machines automatically.
+
This package installs the ansible-test command for testing modules and plugins
developed for ansible.