From f2b887d4b61e8e951ea012429f0f4315a0e2b39a Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Jan 03 2014 12:53:34 +0000 Subject: update to 7.19.0.3 --- diff --git a/.gitignore b/.gitignore index cbc1c36..855e3e1 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/0001-pycurl-7.19.0.3-verbose-output.patch b/0001-pycurl-7.19.0.3-verbose-output.patch new file mode 100644 index 0000000..2cb1852 --- /dev/null +++ b/0001-pycurl-7.19.0.3-verbose-output.patch @@ -0,0 +1,28 @@ +From 40c093731b620539783176bfe25a8a68089d2d7b Mon Sep 17 00:00:00 2001 +From: Oleg Pudeyev +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 +--- + 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 + diff --git a/python-pycurl.spec b/python-pycurl.spec index cb96592..e1a95cf 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -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 - 7.19.0.3-1 +- update to 7.19.0.3 + * Tue Oct 08 2013 Kamil Dudka - 7.19.0.2-1 - update to 7.19.0.2 diff --git a/sources b/sources index 78410ad..d4d1cee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -518be33976dbc6838e42495ada64b43f pycurl-7.19.0.2.tar.gz +3c3e6033185a49438820af215a936120 pycurl-7.19.0.3.tar.gz