Changed files:
sword-curl.patch -> 1.1
sword.spec -> 1.3
--- /dev/null
+--- src/mgr/curlftpt.cpp.orig 2009-12-04 10:54:06.000000000 +0200
++++ src/mgr/curlftpt.cpp 2010-05-21 14:35:10.525898704 +0300
+@@ -174,6 +174,9 @@
+ SWLog::getSystemLog()->logDebug("***** About to perform curl easy action. \n");
+ SWLog::getSystemLog()->logDebug("***** destPath: %s \n", destPath);
+ SWLog::getSystemLog()->logDebug("***** sourceURL: %s \n", sourceURL);
++
++ curl_easy_setopt(session, CURLOPT_PROGRESSDATA, (void*)NULL);
++
+ res = curl_easy_perform(session);
+ SWLog::getSystemLog()->logDebug("***** Finished performing curl easy action. \n");
+
Summary: The SWORD Project framework for manipulating Bible texts
Name: sword
Version: 1.6.1
-Release: 2
+Release: 3
License: GPL
Group: Libraries
Source0: http://www.crosswire.org/ftpmirror/pub/sword/source/v1.6/%{name}-%{version}.tar.gz
# Source0-md5: 347e72f73313ff3ba700368db76a5d50
+Patch0: %{name}-curl.patch
URL: http://www.crosswire.org/sword
%{?with_clucene:BuildRequires: clucene-core-devel}
%{?with_clucene:Requires: clucene-core}
%prep
%setup -q
+%if %{with_curl}
+%patch0 -p0
+%endif
%build
%{configure} \