]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_spec buildep python sphinx for fedora 4974/head
authorOwen Synge <osynge@suse.com>
Tue, 16 Jun 2015 22:03:28 +0000 (00:03 +0200)
committerOwen Synge <osynge@suse.com>
Wed, 17 Jun 2015 13:40:17 +0000 (15:40 +0200)
Fedora, suse as well as centos >= 7 and rhel >= 7
use the same name for python-sphinx so add these
conditionals.

Note: Until OBS supports EPEL I cant test builds on
centos and rhel so this extention of build deps is
untested by Owen Synge.

Signed-off-by: Owen Synge <osynge@suse.com>
ceph.spec.in

index 312cf97bd47ddc0d1b43b2152af6c192675ca39e..30f8a51ebc06cca59077965c2869239535701b85 100644 (file)
@@ -79,6 +79,10 @@ BuildRequires:       python-requests
 %if ( 0%{?rhel} > 0 && 0%{?rhel} < 7 ) || ( 0%{?centos} > 0 && 0%{?centos} < 7 )
 BuildRequires: python-sphinx10
 %endif
+%if 0%{?fedora} || 0%{defined suse_version} || 0%{?rhel} >= 7 || 0%{?centos} >= 7
+BuildRequires: python-sphinx
+%endif
+
 BuildRequires: python-virtualenv
 BuildRequires: util-linux
 BuildRequires: xfsprogs
@@ -97,7 +101,6 @@ BuildRequires:       sharutils
 %endif
 
 %if 0%{defined suse_version}
-BuildRequires: python-sphinx
 BuildRequires: net-tools
 BuildRequires: libbz2-devel
 BuildRequires: sharutils