summaryrefslogtreecommitdiffstats
path: root/librabbitmq.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-03-10 09:49:53 +0100
committerRemi Collet <fedora@famillecollet.com>2012-03-10 09:49:53 +0100
commitf25b43e5f8747a8c05a1dd679527b9948882dfc5 (patch)
treed996090bcd526851341151f57ae33e3fbc0a105e /librabbitmq.spec
parent924137323488a9d73058fa272a94d915512fc66f (diff)
librabbitmq: fix EL-5 build
Diffstat (limited to 'librabbitmq.spec')
-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