diff --git a/sqlite.spec b/sqlite.spec index a0b77aa0ea60d3d44b69377c8ed9fa5092607eba..458be67ac317d048a7cee90f3e53cec07f0f5298 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -7,7 +7,7 @@ Summary: Library that implements an embeddable SQL database engine Name: sqlite Version: 3.42.0 -Release: 9%{?dist} +Release: 10%{?dist} License: blessing URL: http://www.sqlite.org/ Source0: http://www.sqlite.org/%{year}/sqlite-src-%{realver}.zip @@ -77,9 +77,11 @@ Summary: Sqlite tools Group: Development/Tools %description tools -Sqlite related tools. Currently contains only sqldiff. +Sqlite related tools. - sqldiff: The sqldiff binary is a command-line utility program that displays the differences between SQLite databases. +- sqlite3-speedtest1: The speedtest1 benchmark program for measuring + SQLite performance (INSERT, SELECT, UPDATE, DELETE, transactions, etc.). %package tcl Summary: Tcl module for the sqlite3 embeddable SQL database engine @@ -142,6 +144,9 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build sqldiff +# Build speedtest1 benchmark tool +%make_build speedtest1 + %install @@ -152,6 +157,7 @@ install -D -m0755 lemon %{buildroot}/%{_bindir}/lemon install -D -m0644 tool/lempar.c %{buildroot}/%{_datadir}/lemon/lempar.c install -D -m0755 sqlite3_analyzer %{buildroot}/%{_bindir}/sqlite3_analyzer install -D -m0755 sqldiff %{buildroot}/%{_bindir}/sqldiff +install -D -m0755 speedtest1 %{buildroot}/%{_bindir}/sqlite3-speedtest1 rm -f %{buildroot}%{_libdir}/*.la @@ -198,6 +204,7 @@ make test %files tools %{_bindir}/sqldiff +%{_bindir}/sqlite3-speedtest1 %files analyzer %{_bindir}/sqlite3_analyzer @@ -205,6 +212,10 @@ make test %changelog +* Wed Mar 18 2026 Xinlong Chen - 3.42.0-10 +- [Type] sync +- [DESC] Add benchmark + * Thu Jul 17 2025 xiaoyunzhao - 3.42.0-9 - [Type] Security - [DESC] Fix CVE-2025-6965