%bcond_without ldap # without LDAP support
%if "%{pld_release}" != "ac"
%bcond_without ares # with c-ares (asynchronous DNS operations) library
-%bcond_without gnutls # use GnuTLS instead of OpenSSL
+%bcond_with gnutls # use GnuTLS instead of OpenSSL
%bcond_without rtmp # without Real Time Media Protocol
%else
%bcond_with ares # with c-ares (asynchronous DNS operations) library
Summary(ru.UTF-8): Утилита для получения файлов с серверов FTP, HTTP и других
Summary(uk.UTF-8): Утиліта для отримання файлів з серверів FTP, HTTP та інших
Name: curl
-Version: 7.28.1
-Release: 2
+Version: 7.31.0
+Release: 1
License: MIT-like
Group: Applications/Networking
Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
-# Source0-md5: b716ab1103fd4bef99b98f5ff2c7b638
-Patch1: %{name}-ac.patch
-Patch2: %{name}-pc.patch
-Patch3: %{name}-krb5flags.patch
+# Source0-md5: 996c1a5004d96cb4baa3f4e1985058b8
+Patch0: %{name}-ac.patch
+Patch1: %{name}-krb5flags.patch
URL: http://curl.haxx.se/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
%prep
%setup -q
+%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%{__rm} -v m4/lt*.m4 m4/libtool.m4