From 16fec5e90da75fff72db06822b20e12b6ea60257f74c3ac22cc464e932c9980c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 13 Jun 2025 10:12:22 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlite-fts4?expand=0&rev=5 --- python-sqlite-fts4.changes | 5 +++++ python-sqlite-fts4.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-sqlite-fts4.changes b/python-sqlite-fts4.changes index ed18de2..fd78bfc 100644 --- a/python-sqlite-fts4.changes +++ b/python-sqlite-fts4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 13 10:12:04 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Sep 16 20:54:55 UTC 2022 - Sarah Kriesch diff --git a/python-sqlite-fts4.spec b/python-sqlite-fts4.spec index 531c83e..d27cead 100644 --- a/python-sqlite-fts4.spec +++ b/python-sqlite-fts4.spec @@ -1,7 +1,7 @@ # # spec file for package python-sqlite-fts4 # -# Copyright (c) 2022 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,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-sqlite-fts4 Version: 1.0.3 Release: 0 @@ -25,8 +23,10 @@ Summary: Python functions for working with SQLite FTS4 search License: Apache-2.0 URL: https://github.com/simonw/sqlite-fts4 Source: https://github.com/simonw/sqlite-fts4/archive/%{version}.tar.gz#/sqlite-fts4-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,10 +40,10 @@ Python functions for working with SQLite FTS4 search %setup -q -n sqlite-fts4-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -53,6 +53,6 @@ Python functions for working with SQLite FTS4 search %license LICENSE %doc README.md %{python_sitelib}/sqlite_fts4 -%{python_sitelib}/sqlite_fts4-%{version}-*.egg-info +%{python_sitelib}/sqlite_fts4-%{version}*-info %changelog