Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/python-urllib3.git#edd63be688277f5100037c0c9f550788c9632d43
This commit is contained in:
parent
d16a1d6350
commit
5b52efe5d5
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 1.25.10
|
Version: 1.25.10
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Python HTTP library with thread-safe connection pooling and file post
|
Summary: Python HTTP library with thread-safe connection pooling and file post
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -24,8 +24,6 @@ Summary: Python3 HTTP library with thread-safe connection pooling and fil
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python3-nose
|
|
||||||
BuildRequires: python3-mock
|
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
BuildRequires: python3-pysocks
|
BuildRequires: python3-pysocks
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
@ -76,6 +74,11 @@ rm -rf test/contrib/
|
|||||||
# fail when combined with the unbundling of backports-ssl_match_hostname
|
# fail when combined with the unbundling of backports-ssl_match_hostname
|
||||||
rm -f test/test_no_ssl.py
|
rm -f test/test_no_ssl.py
|
||||||
|
|
||||||
|
# Use the standard library instead of a backport
|
||||||
|
sed -i -e 's/^import mock/from unittest import mock/' \
|
||||||
|
-e 's/^from mock import /from unittest.mock import /' \
|
||||||
|
test/*.py docs/conf.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
@ -113,6 +116,10 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 15 2021 Miro Hrončok <mhroncok@redhat.com> - 1.25.10-3
|
||||||
|
- Drop redundant BuildRequires for nose
|
||||||
|
- Instead of the mock backport, use unittest.mock from the standard library
|
||||||
|
|
||||||
* Tue Jan 05 2021 Anna Khaitovich <akhaitov@redhat.com> - 1.25.10-2
|
* Tue Jan 05 2021 Anna Khaitovich <akhaitov@redhat.com> - 1.25.10-2
|
||||||
- Update RECENT_DATE dynamically
|
- Update RECENT_DATE dynamically
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user