From a90551f0c79969a2b1f76b08d7facaa4b25a62cd Mon Sep 17 00:00:00 2001 From: epienbro Date: Sun, 4 Jul 2010 15:18:35 +0000 Subject: [PATCH] EL5 compile fix --- libmicrohttpd.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libmicrohttpd.spec b/libmicrohttpd.spec index fc520e0..5aa8f7a 100644 --- a/libmicrohttpd.spec +++ b/libmicrohttpd.spec @@ -8,7 +8,12 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) URL: http://www.gnu.org/software/libmicrohttpd/ Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz +%if 0%{?rhel} == 5 +BuildRequires: curl-devel +%endif +%if 0%{?fedora} BuildRequires: libcurl-devel +%endif BuildRequires: graphviz BuildRequires: doxygen