summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-08-01 13:34:11 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-08-01 15:00:22 +0200
commit4a957962518e5f79292d7a6d826b1b5543dc8b4c (patch)
tree13d2d16d8beb3dda3da0812fcf5d0ffc8d687c81
parent17b460c55f92a6499708d7b205bf533ef83e6b10 (diff)
downloadceph-4a957962518e5f79292d7a6d826b1b5543dc8b4c.tar.gz
ceph.spec.in: use snappy-devel only on RHEL derivatives
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r--ceph.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 9cff9f1e51a..870cc04ba01 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -42,7 +42,9 @@ BuildRequires: libcurl-devel
BuildRequires: libxml2-devel
BuildRequires: libuuid-devel
BuildRequires: leveldb-devel > 1.2
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
BuildRequires: snappy-devel
+%endif
BuildRequires: junit
#################################################################################