Name: python-token-bucket Version: 0.3.0 Release: 3%{?dist} Summary: A Token Bucket implementation License: ASL 2.0 URL: https://github.com/falconry/token-bucket Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: The token-bucket package provides an implementation of the token bucket algorithm suitable for use in web applications for shaping or policing request rates. This implementation does not require the use of an independent timer thread to manage the bucket state. } %description %_description %package -n python3-token-bucket Summary: %{summary} %description -n python3-token-bucket %_description %prep %autosetup -p1 -n token-bucket-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files token_bucket %check %tox %files -n python3-token-bucket -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 20 2022 supakeen - 0.3.0-1 - Initial version of the package.