diff --git a/.gitignore b/.gitignore index fd8d907..e7b8aff 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /requests-0.6.1.tar.gz /requests-0.6.6.tar.gz /requests-0.10.8.tar.gz +/requests-0.13.1.tar.gz diff --git a/python-requests.spec b/python-requests.spec index 1b36e3b..aa9afd4 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -5,8 +5,8 @@ %endif Name: python-requests -Version: 0.10.8 -Release: 2%{?dist} +Version: 0.13.1 +Release: 1%{?dist} Summary: HTTP library, written in Python, for human beings License: ISC and MIT @@ -16,10 +16,7 @@ Source0: http://pypi.python.org/packages/source/r/requests/requests-%{ver BuildArch: noarch BuildRequires: python-devel -Requires: python-certifi -%if 0%{?fedora} -Requires: python-gevent -%endif +Requires: ca-certificates %description Most existing Python modules for sending HTTP requests are extremely verbose and @@ -31,11 +28,14 @@ designed to make HTTP requests easy for developers. %package -n python3-requests Summary: HTTP library, written in Python, for human beings BuildRequires: python3-devel +Requires: python3-chardet %description -n python3-requests Most existing Python modules for sending HTTP requests are extremely verbose and cumbersome. Python’s built-in urllib2 module provides most of the HTTP capabilities you should need, but the API is thoroughly broken. This library is designed to make HTTP requests easy for developers. +%else +Requires: python-chardet %endif @@ -72,11 +72,14 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Sun Apr 08 2012 Arun S A G 0.10.8-2 -- Requests requires python-certifi to work with https - -* Sun Apr 01 2012 Arun S A G 0.10.8-1 -- Updated to bugfix release 0.10.8 +* Sun Jun 10 2012 Arun S A G 0.13.1-1 +- Updated to latest upstream release 0.13.1 +- Use system provided ca-certificates +- No more async requests use grrequests https://github.com/kennethreitz/grequests +- Remove gevent as it is no longer required by requests + +* Sun Apr 01 2012 Arun S A G 0.11.1-1 +- Updated to upstream release 0.11.1 * Thu Mar 29 2012 Arun S A G 0.10.6-3 - Support building package for EL6 diff --git a/sources b/sources index 6d08662..6704a5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0fc89a30eef76b2393cbc7ebace91750 requests-0.10.8.tar.gz +31a08091feeefe60817e45122d933219 requests-0.13.1.tar.gz