From f25b43e5f8747a8c05a1dd679527b9948882dfc5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 10 Mar 2012 09:49:53 +0100 Subject: librabbitmq: fix EL-5 build --- librabbitmq.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/librabbitmq.spec b/librabbitmq.spec index 8f4abc1..0fb24e5 100644 --- a/librabbitmq.spec +++ b/librabbitmq.spec @@ -17,7 +17,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool BuildRequires: python-simplejson # For tools +%if 0%{?rhel} == 5 +BuildRequires: popt +%else BuildRequires: popt-devel +%endif # For man page BuildRequires: xmlto -- cgit