## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 %global forgeurl https://github.com/JWCook/requests-ratelimiter/ %global commit 953c409b0ea205c6b1f2074b5e7cbc97595db5d4 %global pkg_description %{expand: This package is a simple wrapper around pyrate-limiter v2 that adds convenient integration with the requests library. Full project documentation can be found at requests-ratelimiter.readthedocs.io. } Name: python-requests-ratelimiter Version: 0.8 Release: %autorelease Summary: Convenient integration with the requests library License: MIT BuildArch: noarch %{forgemeta} Url: %{forgeurl} Source0: %{forgesource} BuildRequires: %{py3_dist pytest pytest-timeout requests-mock requests-cache} BuildSystem: pyproject BuildOption(install): -l requests_ratelimiter %description %{pkg_description} %package -n python3-requests-ratelimiter Summary: Convenient integration with the requests library %description -n python3-requests-ratelimiter %{pkg_description} %prep %autosetup -n %{archivename} %check %pytest %files -n python3-requests-ratelimiter -f %{pyproject_files} %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Sun Feb 01 2026 Gerald B Cox - 0.8-1 - Uncommitted changes ## END: Generated by rpmautospec