From 5250af691fda2e6eed7f4caa50183de7985e0062 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 Feb 2014 12:08:50 +0100 Subject: fixed fedora 20 libcurl and libcurl-devel dependency --- redhat/nagios-plugin-curl.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/redhat/nagios-plugin-curl.spec b/redhat/nagios-plugin-curl.spec index 76ad04e..a264b67 100644 --- a/redhat/nagios-plugin-curl.spec +++ b/redhat/nagios-plugin-curl.spec @@ -111,9 +111,19 @@ BuildRequires: pkgconfig BuildRequires: pkg-config %endif -%if %{rhel} || %{centos} || %{fedora} +%if %{rhel} || %{centos} +BuildRequires: curl-devel +Requires: curl +%endif + +%if %{fedora} +%if %{fc18} || %{fc19} BuildRequires: curl-devel Requires: curl +%else +BuildRequires: libcurl-devel +Requires: libcurl +%endif %endif %if %{suse} || %{sles} -- cgit v1.2.3-54-g00ecf