From: Danny Al-Gaaf Date: Thu, 1 Aug 2013 11:34:11 +0000 (+0200) Subject: ceph.spec.in: use snappy-devel only on RHEL derivatives X-Git-Tag: v0.67~35^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4a957962518e5f79292d7a6d826b1b5543dc8b4c;p=ceph.git ceph.spec.in: use snappy-devel only on RHEL derivatives Signed-off-by: Danny Al-Gaaf --- diff --git a/ceph.spec.in b/ceph.spec.in index 9cff9f1e51a0..870cc04ba010 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 #################################################################################