Backport of better cookie handling.

This commit is contained in:
Ralph Bean 2013-01-31 21:47:13 -05:00
commit 197fed065d
3 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@
/requests-0.11.1.tar.gz
/requests-0.13.1.tar.gz
/requests-0.14.1.tar.gz
/python-requests-cookie-handling.patch

View file

@ -7,12 +7,15 @@
#%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
Name: python-requests
Version: 0.14.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: HTTP library, written in Python, for human beings
License: ISC and MIT
URL: http://pypi.python.org/pypi/requests
Source0: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
# The following patch is a backport and is discussed here:
# https://github.com/fedora-infra/python-fedora/pull/6
Patch0: %{name}-cookie-handling.patch
BuildArch: noarch
BuildRequires: python2-devel
@ -43,6 +46,7 @@ designed to make HTTP requests easy for developers.
%prep
%setup -q -n requests-%{version}
%patch0 -p1 -b .cookies
%build
%if 0%{?_with_python3}
@ -81,6 +85,9 @@ PYTHONDONTWRITEBYTECODE=1 %{__python} setup.py install -O1 --skip-build --root $
%changelog
* Thu Jan 31 2013 Ralph Bean <rbean@redhat.com> 0.14.1-3
- Introduced backport patch to support better cookie handling.
* Mon Jan 28 2013 Ralph Bean <rbean@redhat.com> 0.14.1-2
- Merged latest rawhide into el6.

View file

@ -1 +1 @@
3de30600072cbc7214ae342d1d08aa46 requests-0.14.1.tar.gz
d1e890038183c27e3d804822cef5b602 python-requests-cookie-handling.patch