summaryrefslogtreecommitdiffstats
path: root/cpgx/cpgx.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cpgx/cpgx.spec')
-rw-r--r--cpgx/cpgx.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpgx/cpgx.spec b/cpgx/cpgx.spec
index c5db74d..49be05f 100644
--- a/cpgx/cpgx.spec
+++ b/cpgx/cpgx.spec
@@ -7,8 +7,12 @@ Group: QA
License: GPL
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source0: cpgx-%{version}.tar.gz
-BuildRequires: corosync-devel
+%if 0%{?rhel} == 5
+BuildRequires: openais-devel
+%else
+BuildRequires: corosync-devel
+%endif
%description
This program tests the virtual synchrony guarantees of corosync and cpg.