From 06723f50f03785a68b03a8f9fc423f3be994170b07ec91857cfa1efec51084d4 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 12 Jun 2025 05:10:48 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Unidecode?expand=0&rev=49 --- python-Unidecode.changes | 5 +++++ python-Unidecode.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-Unidecode.changes b/python-Unidecode.changes index d712031..f37b1ca 100644 --- a/python-Unidecode.changes +++ b/python-Unidecode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 05:01:36 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Thu Apr 24 15:43:09 UTC 2025 - BenoƮt Monin diff --git a/python-Unidecode.spec b/python-Unidecode.spec index 811581b..59e7d19 100644 --- a/python-Unidecode.spec +++ b/python-Unidecode.spec @@ -23,10 +23,11 @@ Version: 1.4.0 Release: 0 Summary: ASCII transliterations of Unicode text License: GPL-2.0-or-later -Group: Development/Languages/Python URL: https://pypi.python.org/pypi/Unidecode Source: https://files.pythonhosted.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -76,10 +77,10 @@ Sean M. Burke . %setup -q -n Unidecode-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/unidecode @@ -97,7 +98,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %license LICENSE %doc ChangeLog README.rst -%{python_sitelib}/Unidecode-%{version}*-info +%{python_sitelib}/[Uu]nidecode-%{version}.dist-info %{python_sitelib}/unidecode %python_alternative %{_bindir}/unidecode