]> git.pld-linux.org Git - packages/curl.git/commitdiff
- added config patch (fixes curl-config --version) auto/th/curl-7_21_5-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 21 Apr 2011 18:04:27 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    curl-config.patch -> 1.1
    curl.spec -> 1.189

curl-config.patch [new file with mode: 0644]
curl.spec

diff --git a/curl-config.patch b/curl-config.patch
new file mode 100644 (file)
index 0000000..234b42e
--- /dev/null
@@ -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
+       ;;
index c6c60b866cd45d78ed842999ab94fa7df47bf2ad..902b5a7bf613679dbbbe3705d3d2d094e4de0aef 100644 (file)
--- 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}
This page took 0.116488 seconds and 4 git commands to generate.