From 895625d3bd5f63eca18c62b5c498a175c7e63964 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 3 Apr 2015 02:00:02 +0200 Subject: [PATCH] fabfile: rhel 6 needs python-sphinx10 It is used to build the man pages. Signed-off-by: Loic Dachary --- fabfile.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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', -- 2.39.5