summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fio.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/fio.spec b/fio.spec
index efa09c7..902ab2d 100644
--- a/fio.spec
+++ b/fio.spec
@@ -1,6 +1,6 @@
Name: fio
Version: 2.2.6
-Release: 1%{?dist}
+Release: 1%{?dist}.ceph
Summary: Multithreaded IO generation tool
Group: Applications/System
@@ -11,6 +11,11 @@ Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libaio-devel
+%if 0%{el6}
+BuildRequires: ceph-devel
+%else
+BuildRequires: librbd1-devel
+%endif
%description
fio is an I/O tool that will spawn a number of threads or processes doing
@@ -42,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}/*
%changelog
+* Mon Apr 13 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 2.2.6-1.ceph
+- BR: librbd1-devel for Ceph support
+
* Fri Apr 10 2015 Eric Sandeen <sandeen@redhat.com> 2.2.6-1
- New upstream version