14
0

- remove requests-do-not-use-bundle.patch (bsc#947357)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=79
This commit is contained in:
2015-10-21 20:51:25 +00:00
committed by Git OBS Bridge
parent abe5af4ccd
commit 6ea8cd990e
3 changed files with 5 additions and 114 deletions

View File

@@ -26,8 +26,6 @@ Url: http://python-requests.org
Source: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
# PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal CA bundle
Patch0: no-default-cacert.patch
# PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch --use system libraries instead of bundled ones
Patch1: requests-do-not-use-bundle.patch
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-py
@@ -72,7 +70,6 @@ Features:
# For rpmlint warning: remove shebang from python library:
sed -i '/^#!/d' ./requests/certs.py
%patch0 -p1
%patch1 -p1
rm ./requests/cacert.pem
%build