diff --git a/python-httpcore.spec b/python-httpcore.spec index 3faf1bdba467a5028dc8a63efedab091b6e39f57..a3d17814be704cab0ddc6d4fe8e8d5d745f255fd 100644 --- a/python-httpcore.spec +++ b/python-httpcore.spec @@ -3,11 +3,11 @@ %bcond_without tests Name: python-%{pypi_name} -Version: 0.17.3 -Release: 5%{?dist} +Version: 1.0.7 +Release: 1%{?dist} Summary: Minimal low-level HTTP client -License: BSD +License: LicenseRef-Callaway-BSD URL: https://github.com/encode/httpcore Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch @@ -25,7 +25,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} -BuildRequires: %{py3_dist pytest pytest-asyncio pytest-httpbin pytest-trio} +BuildRequires: %{py3_dist pytest pytest-asyncio pytest-httpbin pytest-trio anyio} %endif %description -n python3-%{pypi_name} @@ -34,13 +34,14 @@ one thing only: Sending HTTP requests. It does not provide any high level model abstractions over the API, does not handle redirects, multipart uploads, building authentication headers, transparent HTTP caching, URL parsing, etc. +%pyproject_extras_subpkg -n python3-httpcore http2,socks + %prep %autosetup -n %{pypi_name}-%{version} -sed -i -e 's/"h11>=0.11,<0.13"/"h11>=0.11"/g' setup.py rm -rf %{pypi_name}.egg-info %generate_buildrequires -%pyproject_buildrequires %{?with_tests:-x http2,socks} +%pyproject_buildrequires -x http2,socks %build %pyproject_wheel @@ -59,6 +60,10 @@ rm -rf %{pypi_name}.egg-info %doc README.md %changelog +* Mon Jan 05 2026 bbrucezhang - 1.0.7-1 +- [Type] sync +- [DESC] Update to 1.0.7 + * Wed Jun 11 2025 bbrucezhang - 0.17.3-5 - Rebuilt for loongarch64 diff --git a/sources b/sources index 5306a23e9c0beccd13c8afa2d3998954d0bd2495..cd8486ab91ea9beced7c5f11c447d3d079b15e50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpcore-0.17.3.tar.gz) = 41f48d32caa7d7a3456528404392a257927d047f0a1c733e2a68c0fec97c7454c7f8d7d1b6851c5722cfac292dfaa478a4033c656e66d389c81c72dee8e7a7d2 +SHA512 (httpcore-1.0.7.tar.gz) = d41625fc5f53596e6dabcd99f809ca8006b6fe3701f022ad10ddc0dd14f5c41873cd1a12fb444ef5e6d191114a55467ce4983c6a8fff18a7a403d7814eb5868d