diff --git a/python-rapidfuzz.changes b/python-rapidfuzz.changes index c121c10..0fceb8a 100644 --- a/python-rapidfuzz.changes +++ b/python-rapidfuzz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-rapidfuzz.spec b/python-rapidfuzz.spec index 4890089..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,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rapidfuzz Version: 2.13.7 Release: 0 @@ -35,21 +34,21 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module scikit-build} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: ninja +BuildRequires: python-rpm-macros +Suggests: python-numpy %if 0%{?suse_version} < 1550 BuildRequires: gcc11-c++ >= 8 %else BuildRequires: gcc-c++ %endif -BuildRequires: ninja -BuildRequires: python-rpm-macros -Suggests: python-numpy %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