From b5e5ea1f17c87544384fbc0fe4b731b13904c90d8762af0418f5ca70d36cbcce Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 8 Sep 2023 07:40:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uc-micro-py?expand=0&rev=6 --- python-uc-micro-py.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-uc-micro-py.spec b/python-uc-micro-py.spec index 7a0a8f9..1d991d3 100644 --- a/python-uc-micro-py.spec +++ b/python-uc-micro-py.spec @@ -24,8 +24,9 @@ Summary: Micro subset of unicode data files for linkify-it-py projects License: MIT URL: https://github.com/tsutsu3/uc.micro-py Source: https://github.com/tsutsu3/uc.micro-py/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{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 @@ -38,10 +39,10 @@ Micro subset of unicode data files for linkify-it-py projects. %setup -q -n uc.micro-py-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -51,6 +52,6 @@ Micro subset of unicode data files for linkify-it-py projects. %doc CHANGELOG.md README.md %license LICENSE %{python_sitelib}/uc_micro -%{python_sitelib}/uc_micro_py-%{version}*.egg-info +%{python_sitelib}/uc_micro_py-%{version}*-info %changelog