%global commit 9e5df04dbd6f83b18aa6daf99382485107a74191 %global commitdate 20260329 Name: python-pycparserext Version: 2024.2 Release: 1%{?dist} Summary: Extensions for pycparser License: MIT URL: https://github.com/inducer/pycparserext # PyPI sources do not have tests Source: %{url}/archive/%{commit}/pycparserext-%{commit}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Tests BuildRequires: python3dist(pytest) %global _description %{expand: Extended functionality for Eli Bendersky's pycparser, in particular support for parsing GNU extensions and OpenCL.} %description %_description %package -n python3-pycparserext Summary: %{summary} %description -n python3-pycparserext %_description %prep %autosetup -n pycparserext-%{commit} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pycparserext %check %pyproject_check_import %pytest %files -n python3-pycparserext -f %{pyproject_files} %changelog * Wed Apr 01 2026 Benson Muite - 2024.2-1 - Test latest commit