# topdir: multipart-1.2.0 (produced by tar --transform on git clone) # Build system: flit_core.buildapi via pyproject.toml # Pure Python single-file module (multipart.py), no dependencies, no C extensions # Python target: 3.8+ (chroot provides python3 3.11.6) %global pypi_name multipart Name: python-%{pypi_name} Version: 1.2.0 Release: 2%{?dist} Summary: Parser for multipart/form-data License: MIT URL: https://github.com/defnull/multipart Source0: %{url}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: pyproject-rpm-macros BuildRequires: python3-flit-core %description A fast incremental non-blocking parser for multipart/form-data (RFC 7578), as well as blocking alternatives for easier use in WSGI or CGI applications. Provides a SansIO PushMultipartParser for ASGI/asyncio, a streaming MultipartParser for blocking IO, and high-level WSGI helper functions. Pure Python single-file module with no runtime dependencies. %package -n python3-%{pypi_name} Summary: Parser for multipart/form-data Provides: python-%{pypi_name} Provides: python3dist(%{pypi_name}) = %{version} %description -n python3-%{pypi_name} A fast incremental non-blocking parser for multipart/form-data (RFC 7578), as well as blocking alternatives for easier use in WSGI or CGI applications. Provides a SansIO PushMultipartParser for ASGI/asyncio, a streaming MultipartParser for blocking IO, and high-level WSGI helper functions. Pure Python single-file module with no runtime dependencies. %package help Summary: Development documents and examples for %{pypi_name} Provides: python3-%{pypi_name}-doc %description help Development documents and examples for %{pypi_name}. %prep %autosetup -n %{pypi_name}-%{version} -p1 %build %pyproject_build %install %pyproject_install %check %__python3 -c "import multipart" %files -n python3-%{pypi_name} %license LICENSE %{python3_sitelib}/multipart.py %{python3_sitelib}/__pycache__/multipart* %{python3_sitelib}/multipart-%{version}*.dist-info/ %files help %doc README.rst CHANGELOG.rst %changelog * Tue Oct 27 2026 Python_Bot - 1.2.0-2 - Fix %check: replace undefined %{python3} macro with %__python3 - Add python3-setuptools and python3-wheel to BuildRequires * Tue Oct 27 2026 Python_Bot - 1.2.0-1 - Initial package