15
0
forked from pool/python-parsy
2024-05-29 21:02:39 +00:00
committed by Git OBS Bridge
parent 0cfee29c52
commit 182ad28129
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 29 21:02:29 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file.
-------------------------------------------------------------------
Wed May 29 19:49:25 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>

View File

@@ -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