## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pycparserext Version: 2024.1 Release: %autorelease Summary: Extensions for pycparser License: MIT URL: https://github.com/inducer/pycparserext # PyPI sources do not have tests Source: %{url}/archive/v%{version}/pycparserext-%{version}.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 -p1 -n pycparserext-%{version} %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 ## START: Generated by rpmautospec * Sun Sep 21 2025 John Doe - 2024.1-1 - Uncommitted changes ## END: Generated by rpmautospec