diff --git a/python-speaklater.changes b/python-speaklater.changes index 13dc9a6..57ab948 100644 --- a/python-speaklater.changes +++ b/python-speaklater.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 12:16:50 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Dec 1 16:43:21 UTC 2023 - Antonio Larrosa diff --git a/python-speaklater.spec b/python-speaklater.spec index 9b326f8..6ca5283 100644 --- a/python-speaklater.spec +++ b/python-speaklater.spec @@ -1,7 +1,7 @@ # # spec file for package python-speaklater # -# 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 @@ -23,9 +23,11 @@ Release: 0 Summary: Implements a lazy string for python useful for use with gettext License: BSD-3-Clause Group: Development/Languages/Python -URL: http://github.com/mitsuhiko/speaklater +URL: https://github.com/mitsuhiko/speaklater Source: https://files.pythonhosted.org/packages/source/s/speaklater/speaklater-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -40,16 +42,18 @@ time the value is evaluated based on a callable you provide. %setup -q -n speaklater-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/speaklater.py +%pycache_only %{python_sitelib}/__pycache__/speaklater* +%{python_sitelib}/speaklater-%{version}*-info %check # no testsuite found