## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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-pytokens Version: 0.4.1 Release: %autorelease Summary: A fast, spec compliant Python 3.14+ tokenizer License: MIT URL: https://github.com/tusharsadhwani/pytokens Source: %{pypi_source pytokens} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: A Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons.} %description %_description %package -n python3-pytokens Summary: %{summary} %description -n python3-pytokens %_description %prep %autosetup -n pytokens-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build # mypyc 1.18.x does not compile against Python 3.15 yet export PYTOKENS_USE_MYPYC=0 %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pytokens %check # skip coverage as pytest-cov not installed %pytest --override-ini addopts= %files -n python3-pytokens -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Jul 16 2026 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jul 08 2026 Simone Tollardo - 0.4.1-4 - spec: add newline EOF * Wed Jul 08 2026 Simone Tollardo - 0.4.1-3 - ignore: ignore local build folder, match all pytokens tar versions * Wed Jul 08 2026 Simone Tollardo - 0.4.1-2 - Add rpmlintrc * Wed Jul 08 2026 Simone Tollardo - 0.4.1-1 - Initial import (fedora#2497706). ## END: Generated by rpmautospec