update to 7.19.0.3

This commit is contained in:
Kamil Dudka 2014-01-02 11:50:28 +01:00
parent 035091196d
commit f2b887d4b6
4 changed files with 37 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
pycurl-7.19.0.tar.gz
/pycurl-7.19.0.1.tar.gz
/pycurl-7.19.0.2.tar.gz
/pycurl-7.19.0.3.tar.gz

View File

@ -0,0 +1,28 @@
From 40c093731b620539783176bfe25a8a68089d2d7b Mon Sep 17 00:00:00 2001
From: Oleg Pudeyev <oleg@bsdpower.com>
Date: Sun, 22 Dec 2013 08:52:34 -0500
Subject: [PATCH] Chase debug output change in pycurl 7.34.0
[upstream commit 0c7f8cdb8e26441a1c8af7ce77a3a4fb4061f37d]
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
---
tests/debug_test.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/debug_test.py b/tests/debug_test.py
index 9a5b7e7..4b9e571 100644
--- a/tests/debug_test.py
+++ b/tests/debug_test.py
@@ -30,7 +30,7 @@ class DebugTest(unittest.TestCase):
self.curl.perform()
# Some checks with no particular intent
- self.check(0, 'About to connect')
+ self.check(0, 'Trying')
if util.pycurl_version_less_than(7, 24):
self.check(0, 'connected')
else:
--
1.7.1

View File

@ -1,7 +1,7 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-pycurl
Version: 7.19.0.2
Version: 7.19.0.3
Release: 1%{?dist}
Summary: A Python interface to libcurl
@ -9,6 +9,7 @@ Group: Development/Languages
License: LGPLv2+ or MIT
URL: http://pycurl.sourceforge.net/
Source0: http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
Patch1: 0001-pycurl-7.19.0.3-verbose-output.patch
Requires: keyutils-libs
BuildRequires: python-devel
@ -39,6 +40,7 @@ of features.
%prep
%setup0 -q -n pycurl-%{version}
%patch1 -p1
# remove a test specific to OpenSSL-powered libcurl
rm -f tests/certinfo_test.py
@ -47,7 +49,7 @@ rm -f tests/certinfo_test.py
rm -f tests/multi_socket_select_test.py
%build
CFLAGS="$RPM_OPT_FLAGS -DHAVE_CURL_OPENSSL" %{__python} setup.py build
CFLAGS="$RPM_OPT_FLAGS -DHAVE_CURL_NSS" %{__python} setup.py build
%check
export PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch}
@ -62,6 +64,9 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl
%{python_sitearch}/*
%changelog
* Thu Jan 02 2014 Kamil Dudka <kdudka@redhat.com> - 7.19.0.3-1
- update to 7.19.0.3
* Tue Oct 08 2013 Kamil Dudka <kdudka@redhat.com> - 7.19.0.2-1
- update to 7.19.0.2

View File

@ -1 +1 @@
518be33976dbc6838e42495ada64b43f pycurl-7.19.0.2.tar.gz
3c3e6033185a49438820af215a936120 pycurl-7.19.0.3.tar.gz