## 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 Name: python-fastrand Version: 3.0.8 Release: %autorelease Summary: Fast random number generation in Python License: Apache-2.0 URL: https://github.com/lemire/fastrand Source: %{url}/archive/v%{version}/fastrand-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: gcc %global _description %{expand: Fast random number generation in an interval in Python using PCG: Up to 10x faster than random.randint.} %description %_description %package -n python3-fastrand Summary: %{summary} %description -n python3-fastrand %_description %prep %autosetup -p1 -n fastrand-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l fastrand %check %pyproject_check_import %py3_test_envvars %python3 -m timeit -s 'import fastrand' 'fastrand.pcg32bounded(1001)' %py3_test_envvars %python3 -m timeit -s 'import fastrand' 'fastrand.pcg32randint(100,1000)' %files -n python3-fastrand -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Jan 28 2026 Benson Muite - 3.0.8-1 - Update to 3.0.8 rhbz#2433639 * Sun Jan 25 2026 Benson Muite - 3.0.7-1 - Update to 3.0.7 rhbz#2404325 * Sat Jan 17 2026 Fedora Release Engineering - 3.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 3.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 3.0.6-2 - Rebuilt for Python 3.14 * Mon May 19 2025 Benson Muite - 3.0.6-1 - Initial import bz#2366186 ## END: Generated by rpmautospec