diff --git a/.gitignore b/.gitignore index de750c9..ce4092a 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ /hypercorn-d1719f8c1570cbd8e6a3719ffdb14a4d72880abb.tar.gz /urllib3-2.2.1.tar.gz /urllib3-2.2.2.tar.gz +/urllib3-2.2.3.tar.gz diff --git a/python-urllib3.spec b/python-urllib3.spec index e4b0f66..7a9f81c 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -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 diff --git a/sources b/sources index 8f4906c..3d19dd9 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (urllib3-2.2.2.tar.gz) = 4a7bb41c78e8061b4ba54034d3e8087bb6acd350d4765dbdacc30068f147f6bd58f0b28f23fdc8d477e625c7f3ab7a419a8f326c7988e858241b52a3ac76f5ec +SHA512 (urllib3-2.2.3.tar.gz) = 5082c87d9692864ff0b30817f846c5d4ff298d2007085bc619431551183d6c0c6c25464be1777763890257c2f55801698b83378fbf956c663f495e96f6d1e837 SHA512 (hypercorn-d1719f8c1570cbd8e6a3719ffdb14a4d72880abb.tar.gz) = 62d6787d88a2e716f0ac04fc49f6cdc586e473a660ee754ff66961922ae78bcc75d1f78b091e78557dd60f006e8e480114738c7b4ff71beac804e4fc9603240b