Update to 0.21 and drop the patch in favor of a sed.
This commit is contained in:
parent
915ed3dd42
commit
cc4afd23c8
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
%global srcname Levenshtein
|
||||
|
||||
%global forgeurl https://github.com/maxbachmann/%{srcname}
|
||||
Version: 0.20.8
|
||||
Version: 0.21.0
|
||||
%forgemeta
|
||||
|
||||
Name: python-%{srcname}
|
||||
|
|
@ -15,7 +15,6 @@ License: GPL-2.0-or-later
|
|||
URL: %{forgeurl}
|
||||
|
||||
Source0: %{forgesource}
|
||||
Patch0: levenshtein-0.20.8-cython-0.29.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
|
|
@ -37,7 +36,9 @@ Summary: %{summary}
|
|||
%description -n python3-%{srcname} %_description
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
# Levenshtein can build under older Cython successfully
|
||||
sed 's/Cython>=3.0.0[ab0-9]\+/Cython>=0.29.26/' -i pyproject.toml
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue