From 3cac6fb618227440b4a25b2c0e91fc2d5da1e7ab Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 24 Aug 2017 12:46:53 -0700 Subject: [PATCH] Fix up that last commit (it dropped the rdma dep on Fedora) Previous committer didn't notice this block is split between SUSE and Fedora, and the effect of his change was to completely remove Fedora's build dependency on rdma. --- ceph.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ceph.spec b/ceph.spec index 5622e77..d4d0829 100644 --- a/ceph.spec +++ b/ceph.spec @@ -198,17 +198,18 @@ BuildRequires: openldap2-devel BuildRequires: python-Cython BuildRequires: python-PrettyTable BuildRequires: python-Sphinx -# RDMA is no longer built on 32-bit ARM: see #1484155 -%ifnarch %{arm} BuildRequires: rdma-core-devel %endif -%endif %if 0%{?fedora} || 0%{?rhel} Requires: systemd BuildRequires: boost-random BuildRequires: btrfs-progs BuildRequires: nss-devel BuildRequires: keyutils-libs-devel +# RDMA is no longer built on 32-bit ARM: see #1484155 +%ifnarch %{arm} +BuildRequires: rdma-core-devel +%endif BuildRequires: openldap-devel BuildRequires: openssl-devel BuildRequires: redhat-lsb-core