From: Loic Dachary Date: Fri, 3 Apr 2015 00:00:02 +0000 (+0200) Subject: fabfile: rhel 6 needs python-sphinx10 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=895625d3bd5f63eca18c62b5c498a175c7e63964;p=autobuild-ceph.git fabfile: rhel 6 needs python-sphinx10 It is used to build the man pages. Signed-off-by: Loic Dachary --- diff --git a/fabfile.py b/fabfile.py index b6f927c..dbfa4c4 100644 --- a/fabfile.py +++ b/fabfile.py @@ -733,6 +733,10 @@ def gitbuilder_ceph_rpm(): _sync_to_gitbuilder('ceph', 'rpm', flavor) def _gitbuilder_ceph_rpm(url, flavor): + if '6-' in run('hostname -s'): + sphinx = 'python-sphinx10' + else: + sphinx = 'python-sphinx' _rh_gitbuilder( flavor=flavor, git_repo=url, @@ -794,7 +798,7 @@ def _gitbuilder_ceph_rpm(url, flavor): 'python-requests', 'python-virtualenv', 'python-argparse', - 'python-sphinx', + sphinx, 'lttng-ust-devel', 'libbabeltrace-devel', 'cryptsetup',