From cc884a312f8f8d97e1b61f96a1f122114db6ddd86cc71eeaad08a6cb6f99cba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 11:30:06 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rebulk?expand=0&rev=34 --- python-rebulk.changes | 5 +++++ python-rebulk.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-rebulk.changes b/python-rebulk.changes index d7aca57..993afaa 100644 --- a/python-rebulk.changes +++ b/python-rebulk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 11:29:44 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Feb 18 09:30:28 UTC 2023 - Luigi Baldoni diff --git a/python-rebulk.spec b/python-rebulk.spec index 1153511..2516cc7 100644 --- a/python-rebulk.spec +++ b/python-rebulk.spec @@ -1,7 +1,7 @@ # # spec file for package python-rebulk # -# 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 @@ # -%define skip_python2 1 Name: python-rebulk Version: 3.2.0 Release: 0 @@ -24,12 +23,14 @@ Summary: Library for defining bulk search patterns to perform advanced st License: MIT URL: https://github.com/Toilal/rebulk Source0: https://files.pythonhosted.org/packages/source/r/rebulk/rebulk-%{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 Recommends: python-regex +BuildArch: noarch %python_subpackages %description @@ -51,10 +52,10 @@ for i in {'default_rules_module','__init__','rebulk_rules_module','rules_module' done %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -64,6 +65,6 @@ done %doc CHANGELOG.md README.md %license LICENSE %{python_sitelib}/rebulk -%{python_sitelib}/rebulk-%{version}-py%{python_version}.egg-info +%{python_sitelib}/rebulk-%{version}*-info %changelog