summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2014-02-14 12:08:50 +0100
committerAndreas Baumann <abaumann@yahoo.com>2014-02-14 12:08:50 +0100
commit5250af691fda2e6eed7f4caa50183de7985e0062 (patch)
treec2ef37f8961d50b58c64d322e85f7641615347f0
parentb96e9293f730b0c64c4d101020420da29ae80f25 (diff)
downloadnagios-plugin-curl-5250af691fda2e6eed7f4caa50183de7985e0062.tar.gz
nagios-plugin-curl-5250af691fda2e6eed7f4caa50183de7985e0062.tar.bz2
fixed fedora 20 libcurl and libcurl-devel dependency
-rw-r--r--redhat/nagios-plugin-curl.spec12
1 files changed, 11 insertions, 1 deletions
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}