diff --git a/.gitignore b/.gitignore index 2d3a72e..0117ccb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /requests-0.7.6.tar.gz /requests-0.8.2.tar.gz /requests-0.9.3.tar.gz +/requests-0.10.6.tar.gz diff --git a/python-requests.spec b/python-requests.spec index 51d4743..f1f6075 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -1,9 +1,9 @@ Name: python-requests -Version: 0.9.3 +Version: 0.10.6 Release: 1%{?dist} Summary: HTTP library, written in Python, for human beings -License: ISC +License: ISC and MIT URL: http://pypi.python.org/pypi/requests Source0: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz @@ -20,9 +20,6 @@ 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 @@ -35,23 +32,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc LICENSE README.rst HISTORY.rst +%doc NOTICE 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* +%{python_sitelib}/requests/* %changelog +* Sat Mar 3 2012 Arun SAG - 0.10.6-1 +- Updated to new upstream version + * 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 diff --git a/sources b/sources index 819ae69..a4a823c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b13b6fbfa8fc3fc3c25bae300748053f requests-0.9.3.tar.gz +c889401445de3cbbac98509208a73b83 requests-0.10.6.tar.gz