]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
fabfile: rhel 6 needs python-sphinx10 wip-sphinx 38/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 3 Apr 2015 00:00:02 +0000 (02:00 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 3 Apr 2015 00:49:54 +0000 (02:49 +0200)
It is used to build the man pages.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
fabfile.py

index b6f927cd177a15989850b3d1d9b5d8ca1e493fa6..dbfa4c4e0711d75e645917be762bdf0bc78b19e7 100644 (file)
@@ -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',