forked from pool/python-requests
Accepting request 477406 from home:weberho:branches:devel:languages:python
- fixed dependencies in spec - update to version 2.13.0 * Only load the idna library when we’ve determined we need it. This will save some memory for users. * Updated bundled urllib3 to 1.20. * Updated bundled idna to 2.2. - update to version 2.12.5 * Fixed an issue with JSON encoding detection, specifically detecting big-endian UTF-32 with BOM. OBS-URL: https://build.opensuse.org/request/show/477406 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=95
This commit is contained in:
committed by
Git OBS Bridge
parent
154c4f7af4
commit
ef72fbb351
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-requests
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,7 +20,7 @@
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%endif
|
||||
Name: python-requests
|
||||
Version: 2.12.4
|
||||
Version: 2.13.0
|
||||
Release: 0
|
||||
Summary: Awesome Python HTTP Library That's Actually Usable
|
||||
License: Apache-2.0
|
||||
@@ -36,11 +36,13 @@ BuildRequires: python-devel
|
||||
BuildRequires: python-py
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python
|
||||
# for good measure, at least recommend an actual set of certificates
|
||||
Recommends: ca-certificates-mozilla
|
||||
Recommends: python-cryptography >= 1.3.4
|
||||
# requirements for pyopenssl fallback of bundled urllib3
|
||||
Recommends: python-ndg-httpsclient
|
||||
Recommends: python-pyOpenSSL
|
||||
Recommends: python-pyOpenSSL >= 0.14
|
||||
Recommends: python-pyasn1
|
||||
Recommends: python-cryptography
|
||||
%if 0%{?suse_version} <= 1200
|
||||
BuildRequires: openssl-certs
|
||||
Requires: openssl-certs
|
||||
@@ -48,8 +50,6 @@ Requires: openssl-certs
|
||||
BuildRequires: ca-certificates
|
||||
Requires: ca-certificates
|
||||
%endif
|
||||
# for good measure, at least recommend an actual set of certificates
|
||||
Recommends: ca-certificates-mozilla
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%else
|
||||
|
Reference in New Issue
Block a user