## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Summary: Custom SQLite functions to rank documents indexed using the FTS4 extension Name: python-sqlite-fts4 Version: 1.0.3 Release: %autorelease License: Apache-2.0 URL: https://pypi.python.org/project/sqlite-fts4/ Source: https://github.com/simonw/sqlite-fts4/archive/%{version}/sqlite-fts4-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description \ Custom SQLite functions written in Python for ranking documents \ indexed using the FTS4 extension %description %{_description} %package -n python3-sqlite-fts4 Summary: %{summary} %description -n python3-sqlite-fts4 %{_description} %prep %autosetup -p1 -n sqlite-fts4-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l sqlite_fts4 %check %pyproject_check_import %pytest %files -n python3-sqlite-fts4 -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Sun Oct 05 2025 Terje Røsten - 1.0.3-1 - Initial package ## END: Generated by rpmautospec