diff --git a/python-rapidfuzz.changes b/python-rapidfuzz.changes index 4389517..0fceb8a 100644 --- a/python-rapidfuzz.changes +++ b/python-rapidfuzz.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Feb 27 12:26:01 UTC 2023 - Matej Cepl + +- Clean up the SPEC file. + +------------------------------------------------------------------- +Fri Feb 24 12:52:39 UTC 2023 - Torsten Gruner + +- update to version 2.13.7 + * fix function signature of get_requires_for_build_wheel + ------------------------------------------------------------------- Sat Dec 17 22:35:21 UTC 2022 - Torsten Gruner diff --git a/python-rapidfuzz.spec b/python-rapidfuzz.spec index 0fdac97..3ad2b50 100644 --- a/python-rapidfuzz.spec +++ b/python-rapidfuzz.spec @@ -1,7 +1,7 @@ # # spec file for package python-rapidfuzz # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rapidfuzz -Version: 2.13.6 +Version: 2.13.7 Release: 0 Summary: Rapid fuzzy string matching License: MIT @@ -35,19 +34,26 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module scikit-build} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: gcc-c++ BuildRequires: ninja BuildRequires: python-rpm-macros Suggests: python-numpy +%if 0%{?suse_version} < 1550 +BuildRequires: gcc11-c++ >= 8 +%else +BuildRequires: gcc-c++ +%endif %python_subpackages %description RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from FuzzyWuzzy. %prep -%setup -q -n rapidfuzz-%{version} +%autosetup -p1 -n rapidfuzz-%{version} %build +%if 0%{?suse_version} < 1550 +export CXX=g++-11 CC=gcc-11 +%endif export CFLAGS="%{optflags} -fno-strict-aliasing" %pyproject_wheel diff --git a/rapidfuzz-2.13.6.tar.gz b/rapidfuzz-2.13.6.tar.gz deleted file mode 100644 index 8b9ff36..0000000 --- a/rapidfuzz-2.13.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:948445a054d9fb30a93597c325d8836232bd68e61443a88779a57702aa35a007 -size 999974 diff --git a/rapidfuzz-2.13.7.tar.gz b/rapidfuzz-2.13.7.tar.gz new file mode 100644 index 0000000..10c1f9b --- /dev/null +++ b/rapidfuzz-2.13.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d3e252d4127c79b4d7c2ae47271636cbaca905c8bb46d80c7930ab906cf4b5c +size 999972