forked from pool/python-sqlite-fts4
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlite-fts4?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 10:12:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 16 20:54:55 UTC 2022 - Sarah Kriesch <sarah.kriesch@opensuse.org>
|
Fri Sep 16 20:54:55 UTC 2022 - Sarah Kriesch <sarah.kriesch@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sqlite-fts4
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: python-sqlite-fts4
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,8 +23,10 @@ Summary: Python functions for working with SQLite FTS4 search
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/simonw/sqlite-fts4
|
URL: https://github.com/simonw/sqlite-fts4
|
||||||
Source: https://github.com/simonw/sqlite-fts4/archive/%{version}.tar.gz#/sqlite-fts4-%{version}.tar.gz
|
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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -40,10 +40,10 @@ Python functions for working with SQLite FTS4 search
|
|||||||
%setup -q -n sqlite-fts4-%{version}
|
%setup -q -n sqlite-fts4-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -53,6 +53,6 @@ Python functions for working with SQLite FTS4 search
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/sqlite_fts4
|
%{python_sitelib}/sqlite_fts4
|
||||||
%{python_sitelib}/sqlite_fts4-%{version}-*.egg-info
|
%{python_sitelib}/sqlite_fts4-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user