- Add dependency on python-certifi

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=10
This commit is contained in:
Sascha Peilicke 2012-02-06 13:42:06 +00:00 committed by Git OBS Bridge
parent 1886891bd0
commit c90ecc70f2
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 6 13:41:55 UTC 2012 - saschpe@suse.de
- Add dependency on python-certifi
-------------------------------------------------------------------
Tue Jan 24 21:31:14 UTC 2012 - jfunk@funktronics.ca

View File

@ -29,13 +29,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python
BuildRequires: python-devel
Requires: python
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
Requires: python-certifi
%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
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Requests is an ISC Licensed HTTP library, written in Python, for human