diff --git a/sqlite-doc-3430200.zip b/sqlite-doc-3430200.zip deleted file mode 100644 index 5df4d39..0000000 --- a/sqlite-doc-3430200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f510db2e95f27289d9d1906657f12c01f7da017a04097dbbc4bbbca18edf02d0 -size 10681883 diff --git a/sqlite-doc-3440000.zip b/sqlite-doc-3440000.zip new file mode 100644 index 0000000..08e8b9a --- /dev/null +++ b/sqlite-doc-3440000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e3a2da6fa6f74a1c02292abe153677c6160aebffee4e9a710fb51437dbee541 +size 10689348 diff --git a/sqlite-src-3430200.zip b/sqlite-src-3430200.zip deleted file mode 100644 index c9edd48..0000000 --- a/sqlite-src-3430200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb6651523f57a5c70f242fc16bc416b81ed02d592639bfb7e099f201e2f9a2d3 -size 13929567 diff --git a/sqlite-src-3440000.zip b/sqlite-src-3440000.zip new file mode 100644 index 0000000..0fa9554 --- /dev/null +++ b/sqlite-src-3440000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab9aae38a11b931f35d8d1c6d62826d215579892e6ffbf89f20bdce106a9c8c5 +size 14059695 diff --git a/sqlite3-rtree-i686.patch b/sqlite3-rtree-i686.patch index dd5edbc..de961d4 100644 --- a/sqlite3-rtree-i686.patch +++ b/sqlite3-rtree-i686.patch @@ -1,19 +1,26 @@ ---- ext/rtree/rtree1.test.orig -+++ ext/rtree/rtree1.test -@@ -774,6 +774,9 @@ do_execsql_test 21.1 { - # Round-off error associated with using large integer constraints on - # a rtree search. +--- + ext/rtree/rtree1.test | 4 ++++ + 1 file changed, 4 insertions(+) + +Index: sqlite-src-3440000/ext/rtree/rtree1.test +=================================================================== +--- sqlite-src-3440000.orig/ext/rtree/rtree1.test ++++ sqlite-src-3440000/ext/rtree/rtree1.test +@@ -760,6 +760,9 @@ do_execsql_test 20.4 { + # Do not omit constraints that involve equality comparisons of + # floating-point values. # +if {![string match i*86 $tcl_platform(machine)]} { +# It seems the fix wasn't sufficient for i[56]86, so the tests still +# fail there and we disable them to fix build for now. reset_db - do_execsql_test 22.0 { - CREATE VIRTUAL TABLE t1 USING rtree ( id, x0, x1 ); -@@ -783,5 +786,6 @@ do_execsql_test 22.0 { - do_execsql_test 22.1 { - SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1; - } {123 1} + do_execsql_test 21.0 { + CREATE VIRTUAL TABLE t1 USING rtree(id, x0, x1); +@@ -785,6 +788,7 @@ if {$tcl_platform(machine)!="i686" || $t + SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1; + } {123 1} + } +} - finish_test + # 2023-10-14 dbsqlfuzz --sql-fuzz find. rtreecheck() should not call + # BEGIN/COMMIT because that causes problems with statement transactions, diff --git a/sqlite3.changes b/sqlite3.changes index eb56e7b..857fb28 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Nov 3 09:23:52 UTC 2023 - Jan Engelhardt + +- Update to release 3.44.0 + * Aggregate functions can now include an ORDER BY clause after + their last parameter. The arguments to the function are + processed in the order specified. This can be important for + functions like string_agg() and json_group_array(). + * Add support for the concat() and concat_ws() scalar SQL + functions, compatible with PostgreSQL, SQLServer, and MySQL. + * Add support for the string_agg() aggregate SQL function, + compatible with PostgreSQL and SQLServer. + * New conversion letters on the strftime() SQL function: %e %F + %I %k %l %p %P %R %T %u + * Add new C-language APIs: sqlite3_get_clientdata() and + sqlite3_set_clientdata(). + * Many errors associated with CREATE TABLE are now raised when + the CREATE TABLE statement itself is run, rather than being + deferred until the first time the table is actually used. + ------------------------------------------------------------------- Thu Oct 19 13:08:35 UTC 2023 - Reinhard Max diff --git a/sqlite3.spec b/sqlite3.spec index 9fc3e92..fd6d98c 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,11 +17,11 @@ %define oname sqlite -%define tarversion 3430200 +%define tarversion 3440000 %bcond_with icu %bcond_without check Name: sqlite3 -Version: 3.43.2 +Version: 3.44.0 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain @@ -128,8 +128,7 @@ other documentation found on sqlite.org. The files can be found in %{_docdir}/%{name}-doc. %prep -%setup -q -n sqlite-src-%{tarversion} -a2 -%patch0 +%autosetup -p1 -n sqlite-src-%{tarversion} -a2 rm -v sqlite-doc-%{tarversion}/releaselog/current.html ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html