14
0
forked from pool/python-rebulk

Accepting request 1284799 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rebulk?expand=0&rev=17
This commit is contained in:
2025-06-11 14:28:17 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 11:29:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sat Feb 18 09:30:28 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>

View File

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