Updated to 0.10.6

This commit is contained in:
Arun SAG 2012-03-03 17:22:22 +05:30
parent 804f3bb499
commit afda359a2d
3 changed files with 9 additions and 18 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/requests-0.7.6.tar.gz /requests-0.7.6.tar.gz
/requests-0.8.2.tar.gz /requests-0.8.2.tar.gz
/requests-0.9.3.tar.gz /requests-0.9.3.tar.gz
/requests-0.10.6.tar.gz

View File

@ -1,9 +1,9 @@
Name: python-requests Name: python-requests
Version: 0.9.3 Version: 0.10.6
Release: 1%{?dist} Release: 1%{?dist}
Summary: HTTP library, written in Python, for human beings Summary: HTTP library, written in Python, for human beings
License: ISC License: ISC and MIT
URL: http://pypi.python.org/pypi/requests URL: http://pypi.python.org/pypi/requests
Source0: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz 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 %prep
%setup -q -n requests-%{version} %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 %build
%{__python} setup.py build %{__python} setup.py build
@ -35,23 +32,16 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README.rst HISTORY.rst %doc NOTICE LICENSE README.rst HISTORY.rst
%{python_sitelib}/*.egg-info %{python_sitelib}/*.egg-info
%dir %{python_sitelib}/requests %dir %{python_sitelib}/requests
%dir %{python_sitelib}/requests/packages %{python_sitelib}/requests/*
%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 %changelog
* Sat Mar 3 2012 Arun SAG <sagarun@gmail.com> - 0.10.6-1
- Updated to new upstream version
* Sat Jan 21 2012 Arun SAG <sagarun@gmail.com> - 0.9.3-1 * Sat Jan 21 2012 Arun SAG <sagarun@gmail.com> - 0.9.3-1
- Updated to new upstream version 0.9.3 - Updated to new upstream version 0.9.3
- Include python-gevent as a dependency for requests.async - Include python-gevent as a dependency for requests.async

View File

@ -1 +1 @@
b13b6fbfa8fc3fc3c25bae300748053f requests-0.9.3.tar.gz c889401445de3cbbac98509208a73b83 requests-0.10.6.tar.gz