## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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-async-lru Version: 2.0.3 Release: %autorelease Summary: Simple lru_cache for asyncio License: MIT URL: https://github.com/aio-libs/async_lru Source: https://github.com/aio-libs/async-lru/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-timeout %global _description %{expand: This package is 100% port of Python built-in function functools.lru_cache for asyncio.} %description %_description %package -n python3-async-lru Summary: %{summary} %description -n python3-async-lru %_description %prep %autosetup -p1 -n async-lru-%{version} # Removing pytest CLI options. Most of them are related to coverage. sed -i "/addopts/d" setup.cfg %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files async_lru %check %pytest %files -n python3-async-lru -f %{pyproject_files} %doc README.rst %changelog * Mon Jul 17 2023 Lumir Balhar - 2.0.3-1 - Update to 2.0.3 (rhbz#2221301) * Wed Jun 14 2023 Python Maint - 2.0.1-2 - Rebuilt for Python 3.12 * Thu Feb 23 2023 Lumir Balhar - 2.0.1-1 - Update to 2.0.1 (rhbz#2171288) * Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 05 2022 Lumír Balhar - 1.0.3-1 - Initial package