[packages/ansible/DEVEL] on managed nodes, you need python-simplejson if on py 2.4
glen
glen at pld-linux.org
Sun May 19 17:17:18 CEST 2013
commit a7e423c106c0ac6334e677072c83d698c9bf2b12
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 19 18:16:42 2013 +0300
on managed nodes, you need python-simplejson if on py 2.4
http://ansible.cc/docs/gettingstarted.html#requirements
ansible.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/ansible.spec b/ansible.spec
index 561abfe..78a701c 100644
--- a/ansible.spec
+++ b/ansible.spec
@@ -17,6 +17,9 @@ BuildRequires: rpmbuild(macros) >= 1.219
Requires: python-PyYAML
Requires: python-jinja2
Requires: python-paramiko
+%if "%{py_ver}" < "2.6"
+Requires: python-simplejson
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ansible.git/commitdiff/a7e423c106c0ac6334e677072c83d698c9bf2b12
More information about the pld-cvs-commit
mailing list