diff --git a/python-adapt-parser.changes b/python-adapt-parser.changes index 239443a..c27a237 100644 --- a/python-adapt-parser.changes +++ b/python-adapt-parser.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 06:53:02 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Nov 7 09:58:56 UTC 2023 - Dominique Leuenberger diff --git a/python-adapt-parser.spec b/python-adapt-parser.spec index f515aea..8fc01cc 100644 --- a/python-adapt-parser.spec +++ b/python-adapt-parser.spec @@ -1,7 +1,7 @@ # # spec file for package python-adapt-parser # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,8 +27,10 @@ URL: https://github.com/MycroftAI/adapt Source: https://github.com/MycroftAI/adapt/archive/refs/tags/release/v%{version}.tar.gz # PATCH-FIX-OPENSUSE remove-python-six.patch Patch0: remove-python-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,10 +46,10 @@ a structured intent that can then be invoked programatically. sed -i -s "s/==/>=/" requirements.txt %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check