Name: python-exceptiongroup Version: 1.3.0 Release: %autorelease Summary: Backport of PEP 654 (exception groups) License: MIT URL: https://github.com/agronholm/exceptiongroup Source: %{pypi_source exceptiongroup} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11.} %description %_description %package -n python3-exceptiongroup Summary: %{summary} %description -n python3-exceptiongroup %_description %pyproject_extras_subpkg -n python3-exceptiongroup test %prep %autosetup -p1 -n exceptiongroup-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l exceptiongroup %check %pyproject_check_import %files -n python3-exceptiongroup -f %{pyproject_files} %changelog %autochangelog