forked from pool/python-requests
Accepting request 139141 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/139141 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
431215126c
commit
b3585815f4
@@ -17,25 +17,18 @@
|
||||
|
||||
|
||||
Name: python-requests
|
||||
Version: 0.13.1
|
||||
Version: 0.14.1
|
||||
Release: 0
|
||||
Url: http://python-requests.org
|
||||
Summary: Awesome Python HTTP Library That's Actually Usable
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSREAM requests-suse_cert_paths.patch [bnc#761501] -- Load directory-based cert store in /etc/ssl/certs. Depends on Python patched to allow it, fall back to /etc/ssl/ca-bundle.pem otherwise
|
||||
Patch0: requests-suse_cert_paths.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python
|
||||
BuildRequires: python-chardet
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-oauthlib
|
||||
Requires: python
|
||||
Requires: python-chardet
|
||||
Requires: python-grequests
|
||||
Requires: python-oauthlib
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
@@ -68,7 +61,6 @@ Features:
|
||||
|
||||
%prep
|
||||
%setup -q -n requests-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
Reference in New Issue
Block a user