diff options
-rw-r--r-- | curl.spec | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |