diff --git a/python-requests.changes b/python-requests.changes index c312e1f..dccaaa2 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -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 diff --git a/python-requests.spec b/python-requests.spec index c92811f..c5437ff 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -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