summaryrefslogtreecommitdiffstats
path: root/curl.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-09-14 18:34:59 +0200
committerRemi Collet <fedora@famillecollet.com>2011-09-14 18:34:59 +0200
commitd4cc7fc64844d8659f052e4e6f4eb0f107042b54 (patch)
treee43b1c25c444ffb16dbc3745c362c8b9111e0163 /curl.spec
parentf70721fcd47f8af09452d671437327cbe9b09d4e (diff)
curl: raise openldap dependency
Diffstat (limited to 'curl.spec')
-rw-r--r--curl.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/curl.spec b/curl.spec
index b039458..19c2741 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.21.7
-Release: 4%{?dist}
+Release: 4%{?dist}.1
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -47,7 +47,7 @@ BuildRequires: krb5-devel
BuildRequires: libidn-devel
BuildRequires: libssh2-devel
BuildRequires: nss-devel
-BuildRequires: openldap-devel
+BuildRequires: openldap-devel >= %{openldap_version}
BuildRequires: openssh-clients
BuildRequires: openssh-server
BuildRequires: pkgconfig
@@ -65,6 +65,9 @@ Requires: libcurl%{?_isa} = %{version}-%{release}
# to ensure that we have the necessary symbols available (#525002, #642796)
%global libssh2_version %(pkg-config --modversion libssh2 2>/dev/null || echo 0)
+# older version doesn't provides "ldap_init_fd"
+%global openldap_version 2.3.43-12.el5_6.5
+
%description
curl is a command line tool for transferring data with URL syntax, supporting
FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP,
@@ -77,6 +80,7 @@ resume, proxy tunneling and a busload of other useful tricks.
Summary: A library for getting files from web servers
Group: Development/Libraries
Requires: libssh2%{?_isa} >= %{libssh2_version}
+Requires: openldap%{?_isa} >= %{openldap_version}
%description -n libcurl
libcurl is a free and easy-to-use client-side URL transfer library, supporting
@@ -250,6 +254,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Tue Sep 13 2011 Remi Collet <RPMS@FamilleCollet.com> - 7.21.7-4.1
+- raise openldap dependency
+
* Thu Aug 25 2011 Remi Collet <RPMS@FamilleCollet.com> - 7.21.7-4
- sync with rawhide