## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 %bcond_without tests Name: python-aiofile Version: 3.12.3 Release: %autorelease Summary: Asynchronous file operations License: Apache-2.0 URL: https://github.com/mosquito/aiofile Source: %{pypi_source aiofile} Patch0: 0001-tests-do-not-use-event_loop-fixture.patch BuildArch: noarch BuildRequires: python3-devel %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio %endif %global _description %{expand: AIOFile provides real asynchronous file operations for Python with asyncio support. It utilizes the caio library to provide multiple async I/O backends, automatically choosing the best available option based on system compatibility. Supported backends include Linux native io_uring and libaio, as well as thread-based implementations for POSIX and pure Python fallback scenarios. It features both a high-level file-like API and a low-level API for concurrent, independent I/O operations.} %description %_description %package -n python3-aiofile Summary: %{summary} %description -n python3-aiofile %_description %prep %autosetup -p1 -n aiofile-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l aiofile %check %pyproject_check_import %pytest -o asyncio_mode=auto %files -n python3-aiofile -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Oct 29 2026 Chih-Tao Lee - 3.12.3-1 - Initial import (fedora#2562919). ## END: Generated by rpmautospec