Name: python-ukkonen Version: 1.0.1 Release: 6%{?dist} Summary: Implementation of bounded Levenshtein distance (Ukkonen) License: MIT URL: https://www.github.com/asottile/ukkonen Source0: %{url}/archive/v%{version}/ukkonen-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: python3-devel # We don’t use %%tox for testing because it brings in unnecessary and # unpackaged coverage dependencies. BuildRequires: python3dist(pytest) %description Implementation of bounded Levenshtein distance (Ukkonen) port %package -n python3-ukkonen Summary: %{summary} %description -n python3-ukkonen Implementation of bounded Levenshtein distance (Ukkonen) port %prep %autosetup -n ukkonen-%{version} cp -p licenses/LICENSE LICENSE-upstream %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files ukkonen %check %pytest %files -n python3-ukkonen -f %{pyproject_files} %license LICENSE-upstream LICENSE %doc README.md %{python3_sitearch}/_ukkonen.abi3.so %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.0.1-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 06 2021 Benjamin A. Beasley - 1.0.1-3 - Port to pyproject-rpm-macros * Tue Nov 30 2021 Gwyn Ciesla - 1.0.1-2 - Review fixes. * Fri Nov 19 2021 Gwyn Ciesla - 1.0.1-1 - Initial package.