summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--librabbitmq.spec4
1 files changed, 4 insertions, 0 deletions
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