From: Jakub Bogusz Date: Thu, 21 Apr 2011 18:04:27 +0000 (+0000) Subject: - added config patch (fixes curl-config --version) X-Git-Tag: auto/th/curl-7_21_5-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcurl.git;a=commitdiff_plain;h=cb861ca0854c3a67eaa290ef6ef043fdf28d5f4c - added config patch (fixes curl-config --version) - release 2 Changed files: curl-config.patch -> 1.1 curl.spec -> 1.189 --- diff --git a/curl-config.patch b/curl-config.patch new file mode 100644 index 0000000..234b42e --- /dev/null +++ b/curl-config.patch @@ -0,0 +1,20 @@ +--- curl-7.21.5/curl-config.in.orig 2011-03-19 16:17:12.000000000 +0100 ++++ curl-7.21.5/curl-config.in 2011-04-21 19:52:38.816107851 +0200 +@@ -94,7 +94,7 @@ + ;; + + --version) +- echo libcurl @VERSION@ ++ echo libcurl @CURLVERSION@ + exit 0 + ;; + +@@ -113,7 +113,7 @@ + # silent success + exit 0 + else +- echo "requested version $checkfor is newer than existing @VERSION@" ++ echo "requested version $checkfor is newer than existing @CURLVERSION@" + exit 1 + fi + ;; diff --git a/curl.spec b/curl.spec index c6c60b8..902b5a7 100644 --- a/curl.spec +++ b/curl.spec @@ -16,7 +16,7 @@ Summary(ru.UTF-8): Утилита для получения файлов с се Summary(uk.UTF-8): Утиліта для отримання файлів з серверів FTP, HTTP та інших Name: curl Version: 7.21.5 -Release: 1 +Release: 2 License: MIT-like Group: Applications/Networking Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma @@ -26,6 +26,7 @@ Patch1: %{name}-ac.patch Patch2: %{name}-pc.patch Patch3: %{name}-krb5flags.patch Patch4: libcurl.fb-changes.diff +Patch5: %{name}-config.patch URL: http://curl.haxx.se/ BuildRequires: autoconf >= 2.57 BuildRequires: automake @@ -190,6 +191,7 @@ Bibliotecas estáticas para desenvolvimento com o curl. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build %{__libtoolize}