From 0688f57d1c35692cdddf219d9ac3571d03dbb8e0 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 9 May 2017 11:42:58 +0200 Subject: [PATCH] build/ops: rpm: fix python-Sphinx package name for SUSE This commit moves "BuildRequires: python-sphinx" down to the RH/CentOS/Fedora distro conditional and adds a "BuildRequires: python-Sphinx" to the SUSE conditional. Signed-off-by: Jan Matejek Signed-off-by: Nathan Cutler --- ceph.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index ea02b6a66d17..347cd271994e 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -123,7 +123,6 @@ BuildRequires: python-devel BuildRequires: python-nose BuildRequires: python-prettytable BuildRequires: python-requests -BuildRequires: python-sphinx BuildRequires: python-virtualenv BuildRequires: snappy-devel BuildRequires: udev @@ -153,6 +152,7 @@ BuildRequires: libopenssl-devel BuildRequires: lsb-release BuildRequires: openldap2-devel BuildRequires: python-Cython +BuildRequires: python-Sphinx %endif %if 0%{?fedora} || 0%{?rhel} Requires: systemd @@ -164,6 +164,7 @@ BuildRequires: openldap-devel BuildRequires: openssl-devel BuildRequires: redhat-lsb-core BuildRequires: Cython +BuildRequires: python-sphinx %endif # python34-... for RHEL, python3-... for all other supported distros %if 0%{?rhel} -- 2.47.3