Update to 2.2.3 (close RHBZ#2311902)
This commit is contained in:
parent
1e83993ed0
commit
907972b007
3 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,7 @@
|
|||
%endif
|
||||
|
||||
Name: python-urllib3
|
||||
Version: 2.2.2
|
||||
Version: 2.2.3
|
||||
Release: %autorelease
|
||||
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
||||
|
||||
|
|
@ -149,12 +149,14 @@ sed -i "s/^RECENT_DATE = datetime.date(.*)/RECENT_DATE = datetime.date($recent_d
|
|||
|
||||
|
||||
%generate_buildrequires
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
# Generate BR’s from packaged extras even when tests are disabled, to ensure
|
||||
# the extras metapackages are installable if the build succeeds.
|
||||
%pyproject_buildrequires %{?with_extras:-x brotli,zstd,socks,h2}
|
||||
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
|
|
@ -171,7 +173,7 @@ sed -i "s/^RECENT_DATE = datetime.date(.*)/RECENT_DATE = datetime.date($recent_d
|
|||
# urllib3.contrib.ntlmpool is deprecated and requires ntlm
|
||||
# urllib3.contrib.securetransport is macOS only
|
||||
# urllib3.contrib.pyopenssl requires pyOpenSSL
|
||||
%{pyproject_check_import %{!?with_extras:-e urllib3.contrib.socks -e urllib3.http2}
|
||||
%{pyproject_check_import %{!?with_extras:-e urllib3.contrib.socks -e urllib3.http2*}
|
||||
-e urllib3.contrib.emscripten*
|
||||
-e urllib3.contrib.ntlmpool
|
||||
-e urllib3.contrib.securetransport
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue