From 817aac82cf9c49dc79da1ffc79f815631c9ce46b Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 23 Apr 2015 10:04:50 -0400 Subject: [PATCH 1/3] 1.10.3 --- python-urllib3.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-urllib3.spec b/python-urllib3.spec index c11a9e1..1800146 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -167,6 +167,9 @@ rm -rf %{buildroot}/%{python3_sitelib}/__pycache__* %endif # with_python3 %changelog +* Thu Apr 23 2015 Ralph Bean - 1.10.3-1 +- new version + * Wed Apr 22 2015 Ralph Bean - 1.10.3-1 - new version From 98fa605bbbbf0e8105c24f8e9f9124c2fdf6fab6 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 29 Apr 2015 09:57:30 -0400 Subject: [PATCH 2/3] Latest git snapshot to get chunked stuff working again. --- python-urllib3.spec | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/python-urllib3.spec b/python-urllib3.spec index 1800146..4ed7ee2 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -4,6 +4,13 @@ %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif +%global commit 585983ab3f7fb7a0e0b223ebdab1b45471dbefe4 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global checkout 20150429git%{shortcommit} + +%global gh_owner shazow +%global gh_project urllib3 + %if 0%{?fedora} %global with_python3 1 %endif @@ -12,12 +19,12 @@ Name: python-%{srcname} Version: 1.10.3 -Release: 1%{?dist} +Release: 2.%{checkout}%{?dist} Summary: Python HTTP library with thread-safe connection pooling and file post License: MIT URL: http://urllib3.readthedocs.org/ -Source0: http://pypi.python.org/packages/source/u/%{srcname}/%{srcname}-%{version}.tar.gz +Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{commit}/%{gh_project}-%{commit}.tar.gz Source1: ssl_match_hostname_py3.py # Remove logging-clear-handlers from setup.cfg because it's not available in RHEL6's nose @@ -68,7 +75,8 @@ Python3 HTTP module with connection pooling and file POST abilities. %prep -%setup -q -n %{srcname}-%{version} +#%%setup -q -n %{srcname}-%{version} +%setup -q -n %{gh_project}-%{commit} # Drop the dummyserver tests in koji. They fail there in real builds, but not # in scratch builds (weird). @@ -167,8 +175,8 @@ rm -rf %{buildroot}/%{python3_sitelib}/__pycache__* %endif # with_python3 %changelog -* Thu Apr 23 2015 Ralph Bean - 1.10.3-1 -- new version +* Wed Apr 29 2015 Ralph Bean - 1.10.3-2.20150429git585983a +- Grab a git snapshot to get around this chunked encoding failure. * Wed Apr 22 2015 Ralph Bean - 1.10.3-1 - new version From 80bbab4e1bc3f456a4eed299b951d152df8f7a41 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 29 Apr 2015 10:04:13 -0400 Subject: [PATCH 3/3] Add forgotten sources. --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0b3b605..68e0f7f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /urllib3-1.10.1.tar.gz /urllib3-1.10.2.tar.gz /urllib3-1.10.3.tar.gz +/urllib3-585983ab3f7fb7a0e0b223ebdab1b45471dbefe4.tar.gz diff --git a/sources b/sources index 397d408..50863ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -82fd4811f6164fcac0f8e959843c4a63 urllib3-1.10.3.tar.gz +849ca91041e41ae0dd583b04b22cc242 urllib3-585983ab3f7fb7a0e0b223ebdab1b45471dbefe4.tar.gz