diff --git a/python-text-unidecode.changes b/python-text-unidecode.changes index ca1715f..ef07f77 100644 --- a/python-text-unidecode.changes +++ b/python-text-unidecode.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 4 06:09:06 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Fri Apr 21 12:37:25 UTC 2023 - Dirk Müller diff --git a/python-text-unidecode.spec b/python-text-unidecode.spec index 15a8d6b..3d858ca 100644 --- a/python-text-unidecode.spec +++ b/python-text-unidecode.spec @@ -1,7 +1,7 @@ # # spec file for package python-text-unidecode # -# 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-text-unidecode Version: 1.3 @@ -26,8 +25,10 @@ License: Artistic-1.0 OR GPL-2.0-or-later Group: Development/Languages/Python URL: https://github.com/kmike/text-unidecode/ Source: https://files.pythonhosted.org/packages/source/t/text-unidecode/text-unidecode-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -47,10 +48,10 @@ This port is licensed under Artistic License and supports both Python %setup -q -n text-unidecode-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -59,6 +60,7 @@ This port is licensed under Artistic License and supports both Python %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/text_unidecode +%{python_sitelib}/text_unidecode-%{version}.dist-info %changelog