## 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-cyseq Version: 0.1.2 Release: %autorelease Summary: A Cython version of ScanCode-toolkit's licensedcode.seq License: Apache-2.0 URL: https://github.com/aboutcode-org/cyseq Source: %{pypi_source cyseq} BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} %global _description %{expand: This library is a Cython version of scancode-toolkit's `licensedcode.seq`.} %description %_description %package -n python3-cyseq Summary: %{summary} %description -n python3-cyseq %_description %prep %autosetup -p1 -n cyseq-%{version} # Ensure that Cython-generated code is rebuilt rm -vf $(grep -rl 'Generated by Cython' src) %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l cyseq %check %pytest tests %files -n python3-cyseq -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Wed Jul 22 2026 Python Maint - 0.1.2-5 - Rebuilt for Python 3.15.0b4 ABI change * Thu Jul 16 2026 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 0.1.2-3 - Rebuilt for Python 3.15 * Fri Feb 27 2026 Maxwell G - 0.1.2-2 - Ensure that Cython-generated code is rebuilt * Fri Feb 27 2026 Maxwell G - 0.1.2-1 - Initial import (rhbz#2442957). ## END: Generated by rpmautospec