Update to 0.27.1.

- Fixes rhbz#2349293
- Drop the no longer needed 72.patch
- Open up the rapidfuzz-cpp build version to allow build against 3.3.3
- Update URL to the new rapidfuzz GitHub organization.
This commit is contained in:
Troy Curtis Jr 2025-10-09 21:50:01 -04:00
commit c03c733aa0
4 changed files with 7 additions and 27 deletions

View file

@ -1,7 +1,7 @@
%global srcname Levenshtein
%global forgeurl https://github.com/maxbachmann/%{srcname}
Version: 0.26.1
%global forgeurl https://github.com/rapidfuzz/%{srcname}
Version: 0.27.1
%forgemeta
Name: python-%{srcname}
@ -16,8 +16,6 @@ URL: %{forgeurl}
Source0: %{forgesource}
Patch: https://github.com/rapidfuzz/Levenshtein/pull/72.patch
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
@ -42,6 +40,9 @@ Summary: %{summary}
# Remove Cython's upper constraint
sed -i '/Cython>=3\.[0-9]\+\./s/,\s*<3\.[0-9]\+\.[0-9a-z]*[0-9]*//' pyproject.toml
# Open up the rapidfuzz version constraint.
sed -i 's/rapidfuzz 3.2.0/rapidfuzz 3.2...<4/' CMakeLists.txt
%generate_buildrequires
%pyproject_buildrequires