From 182ad2812917e002df60dc287b72a42b94228e9c16af4ac80b3660b43ba1d024 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 29 May 2024 21:02:39 +0000 Subject: [PATCH] - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsy?expand=0&rev=4 --- python-parsy.changes | 5 +++++ python-parsy.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-parsy.changes b/python-parsy.changes index 624d7e4..d4243b7 100644 --- a/python-parsy.changes +++ b/python-parsy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 29 21:02:29 UTC 2024 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Wed May 29 19:49:25 UTC 2024 - Martin Schreiner diff --git a/python-parsy.spec b/python-parsy.spec index 1028995..d6a07c1 100644 --- a/python-parsy.spec +++ b/python-parsy.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parsy Version: 2.1 Release: 0 @@ -24,7 +23,9 @@ Summary: Python parser combinators License: MIT URL: https://github.com/python-parsy/parsy Source: https://files.pythonhosted.org/packages/source/p/parsy/parsy-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,10 +39,10 @@ Easy-to-use parser combinators, for parsing in pure Python. touch tests/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check