diff --git a/python-fluidity-sm.changes b/python-fluidity-sm.changes index 80a1b64..a1247b8 100644 --- a/python-fluidity-sm.changes +++ b/python-fluidity-sm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 13:06:22 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:25:23 UTC 2023 - Dirk Müller diff --git a/python-fluidity-sm.spec b/python-fluidity-sm.spec index fb0c594..a267958 100644 --- a/python-fluidity-sm.spec +++ b/python-fluidity-sm.spec @@ -1,7 +1,7 @@ # # spec file for package python-fluidity-sm # -# 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-fluidity-sm Version: 0.2.0 @@ -26,11 +25,12 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/nsi-iff/fluidity Source: https://github.com/nsi-iff/fluidity/archive/%{version}/fluidity-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -47,15 +47,16 @@ callables, or lists of method names or callables. rm -rf *.egg-info/ %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc CHANGELOG README.* %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/fluidity +%{python_sitelib}/fluidity[-_]sm-%{version}*-info %changelog