]> git.pld-linux.org Git - packages/ansible.git/commitdiff
on managed nodes, you need python-simplejson if on py 2.4
authorElan Ruusamäe <glen@delfi.ee>
Sun, 19 May 2013 15:16:42 +0000 (18:16 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 19 May 2013 15:16:42 +0000 (18:16 +0300)
http://ansible.cc/docs/gettingstarted.html#requirements

ansible.spec

index 561abfeca949cd4f0bbfd96a558d6fc55fcd7a65..78a701cbcb83e3c4eeafedff05d06a23aa52ce8f 100644 (file)
@@ -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)
 
This page took 0.047623 seconds and 4 git commands to generate.