update to 7.19.3

This commit is contained in:
Kamil Dudka 2014-01-10 14:46:47 +01:00
parent f2b887d4b6
commit e867829869
4 changed files with 8 additions and 40 deletions

1
.gitignore vendored
View File

@ -2,3 +2,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
/pycurl-7.19.3.tar.gz

View File

@ -1,28 +0,0 @@
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.3
Version: 7.19.3
Release: 1%{?dist}
Summary: A Python interface to libcurl
@ -9,7 +9,6 @@ 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
@ -40,16 +39,9 @@ of features.
%prep
%setup0 -q -n pycurl-%{version}
%patch1 -p1
# remove a test specific to OpenSSL-powered libcurl
rm -f tests/certinfo_test.py
# temporarily disable intermittently failing test-case
rm -f tests/multi_socket_select_test.py
%build
CFLAGS="$RPM_OPT_FLAGS -DHAVE_CURL_NSS" %{__python} setup.py build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build --with-nss
%check
export PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch}
@ -60,10 +52,13 @@ make test PYTHON=%{__python}
rm -rf %{buildroot}%{_datadir}/doc/pycurl
%files
%doc COPYING COPYING2 ChangeLog README.rst TODO examples doc tests
%doc COPYING-LGPL COPYING-MIT ChangeLog README.rst examples doc tests
%{python_sitearch}/*
%changelog
* Fri Jan 10 2014 Kamil Dudka <kdudka@redhat.com> - 7.19.3-1
- update to 7.19.3
* Thu Jan 02 2014 Kamil Dudka <kdudka@redhat.com> - 7.19.0.3-1
- update to 7.19.0.3

View File

@ -1 +1 @@
3c3e6033185a49438820af215a936120 pycurl-7.19.0.3.tar.gz
b9091b7438d3de1552e28862d2971cd1 pycurl-7.19.3.tar.gz