diff --git a/.gitignore b/.gitignore index 8b1c43b..2d3a72e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /requests-0.6.6.tar.gz /requests-0.7.6.tar.gz /requests-0.8.2.tar.gz +/requests-0.9.3.tar.gz diff --git a/python-requests.spec b/python-requests.spec index 0477f5d..51d4743 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -1,6 +1,6 @@ Name: python-requests -Version: 0.8.2 -Release: 2%{?dist} +Version: 0.9.3 +Release: 1%{?dist} Summary: HTTP library, written in Python, for human beings License: ISC @@ -9,6 +9,7 @@ Source0: http://pypi.python.org/packages/source/r/requests/requests-%{ver BuildArch: noarch BuildRequires: python-devel +Requires: python-gevent %description Most existing Python modules for sending HTTP requests are extremely verbose and @@ -19,7 +20,9 @@ designed to make HTTP requests easy for developers. %prep %setup -q -n requests-%{version} - +sed -i 's|#!/usr/bin/env python||' requests/setup.py +sed -i 's|#!/usr/bin/env python||' requests/test_requests.py +sed -i 's|#!/usr/bin/env python||' requests/test_requests_ext.py %build %{__python} setup.py build @@ -31,20 +34,29 @@ rm -rf $RPM_BUILD_ROOT %files +%defattr(-,root,root,-) %doc LICENSE README.rst HISTORY.rst %{python_sitelib}/*.egg-info %dir %{python_sitelib}/requests %dir %{python_sitelib}/requests/packages %dir %{python_sitelib}/requests/packages/oreos %dir %{python_sitelib}/requests/packages/urllib3 +%dir %{python_sitelib}/requests/packages/urllib3/packages +%dir %{python_sitelib}/requests/packages/urllib3/packages/ssl_match_hostname %{python_sitelib}/requests/packages/*.py* %{python_sitelib}/requests/packages/oreos/*.py* %{python_sitelib}/requests/packages/urllib3/*.py* +%{python_sitelib}/requests/packages/urllib3/packages/*.py* +%{python_sitelib}/requests/packages/urllib3/packages/ssl_match_hostname/*.py* %{python_sitelib}/requests/*.py* - %changelog +* Sat Jan 21 2012 Arun SAG - 0.9.3-1 +- Updated to new upstream version 0.9.3 +- Include python-gevent as a dependency for requests.async +- Clean up shebangs in requests/setup.py,test_requests.py and test_requests_ext.py + * Sat Jan 14 2012 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 3ab0047..819ae69 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bdbbd7f45688e23e87eec52835959943 requests-0.8.2.tar.gz +b13b6fbfa8fc3fc3c25bae300748053f requests-0.9.3.tar.gz