## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-pyclibrary Version: 0.3.0 Release: %autorelease Summary: C parser and ctypes automation for Python BuildArch: noarch License: MIT URL: https://pyclibrary.readthedocs.org/ Source: %{pypi_source pyclibrary} BuildRequires: python3-devel # For _ctypes_test BuildRequires: python3-test %global _description %{expand: C parser and bindings automation for Python. Fork of https://launchpad.net/pyclibrary. } %description %_description %package -n python3-pyclibrary Summary: %{summary} %description -n python3-pyclibrary %_description %prep %autosetup -p1 -n pyclibrary-%{version} %pyproject_patch_dependency pytest-cov:ignore %generate_buildrequires %pyproject_buildrequires -g test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pyclibrary %check %pytest %files -n python3-pyclibrary -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Tue Sep 08 2026 Cristian Le - 0.3.0-2 - Fix url to https and minor spelling convention * Tue Sep 08 2026 Cristian Le - 0.3.0-1 - Import rhbz#2502106 ## END: Generated by rpmautospec