%global srcname webargs %global srcnamenu webargs Name: python-%{srcname} Version: 8.6.0 Release: 1%{?dist} Summary: A Python library for parsing and validating HTTP request objects License: MIT URL: https://webargs.readthedocs.io/en/latest/ Source: %{pypi_source} BuildArch: noarch %global _description %{expand: webargs is a Python library for parsing and validating HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp..} %description %_description %py_provides python3-%{srcname} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files 'webargs*' # Note that there is no %%files section for the unversioned python module %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %license NOTICE %doc AUTHORS.rst %doc CHANGELOG.rst %doc README.rst %changelog * Sun Jan 19 2025 Al Stone - 8.6.0-1 - Update to 8.6.0 source - Use generate_buildrequires instead of explicit package list - changelog cleanup - build/install modernization * Thu Sep 29 2022 Andrii Verbytskyi - 8.3.0-1 - Cleanup