Accepting request 1067149 from server:database

- Update to 3.41.0:
  * https://www.sqlite.org/releaselog/3_41_0.html
  * Various query planner improvements.
  * Add the built-in unhex() SQL function.
  * Add the base64 and base85 application-defined functions as an
    extension and include that extension in the CLI.
  * In-memory databases created using sqlite3_deserialize() now
    report their filename as an empty string, not as 'x'.
  * The ".scanstats est" command provides query planner estimates
    in profiles.
  * Enhance the --safe command-line option to disallow dangerous
    SQL functions.
  * The double-quoted string misfeature is now disabled by default
    for CLI builds.
  * Various other improvements and performance enhancements.
- The new version obsoletes sqlite-src-3390000-func7-pg-181.patch

OBS-URL: https://build.opensuse.org/request/show/1067149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=142
This commit is contained in:
Dominique Leuenberger 2023-02-23 15:28:13 +00:00 committed by Git OBS Bridge
commit 8a4ae13ce3
7 changed files with 29 additions and 39 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72abaa381459740cfb41f19646f18a5154f93591d34f7eeb3c4f5dc7ae363a29
size 10934836

3
sqlite-doc-3410000.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b877ca5e24b28e3a027b30a04e03cecba25d88c53ab30f8cf47f16ab652078b
size 10979224

View File

@ -1,28 +0,0 @@
From: Andreas Stieger <Andreas.Stieger@gmx.de>
Subject: [PATCH] skip float precision related test failures on 32 bit
Date: Fri, 01 Jul 2022 21:12:29 +0000
Upstream: no
Introduced by: https://sqlite.org/src/info/c48a735bd4a1dbd5
Upstream thread: https://sqlite.org/forum/forumpost/dd4767885a
[ 642s] ! func7-pg-181 expected: [2.000000000000000000000000000000]
[ 642s] ! func7-pg-181 got: [1.999999999999999000000000000000]
Index: sqlite-src-3390000/test/func7.test
===================================================================
--- sqlite-src-3390000.orig/test/func7.test
+++ sqlite-src-3390000/test/func7.test
@@ -60,12 +60,6 @@ do_execsql_test func7-pg-170 {
do_execsql_test func7-pg-180 {
SELECT log10(1000.0)
} {3.0}
-do_execsql_test func7-pg-181 {
- SELECT format('%.30f', log10(100.0) );
-} {2.000000000000000000000000000000}
-do_execsql_test func7-pg-182 {
- SELECT format('%.30f', ln(exp(2.0)) );
-} {2.000000000000000000000000000000}
do_execsql_test func7-pg-190 {
SELECT log(2.0, 64.0)
} {6.0}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5064126aa50db20c35578b612b56c3129425c0506ed4d1610efa4a0f01bdf8d0
size 13725560

3
sqlite-src-3410000.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64a7638a35e86b991f0c15ae8e2830063b694b28068b8f7595358e3205a9eb66
size 13831104

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Feb 22 09:42:51 UTC 2023 - Reinhard Max <max@suse.com>
- Update to 3.41.0:
* https://www.sqlite.org/releaselog/3_41_0.html
* Various query planner improvements.
* Add the built-in unhex() SQL function.
* Add the base64 and base85 application-defined functions as an
extension and include that extension in the CLI.
* In-memory databases created using sqlite3_deserialize() now
report their filename as an empty string, not as 'x'.
* The ".scanstats est" command provides query planner estimates
in profiles.
* Enhance the --safe command-line option to disallow dangerous
SQL functions.
* The double-quoted string misfeature is now disabled by default
for CLI builds.
* Various other improvements and performance enhancements.
- The new version obsoletes sqlite-src-3390000-func7-pg-181.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 28 21:37:44 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de> Wed Dec 28 21:37:44 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package sqlite3 # spec file for package sqlite3
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 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
@ -17,11 +17,11 @@
%define oname sqlite %define oname sqlite
%define tarversion 3400100 %define tarversion 3410000
%bcond_with icu %bcond_with icu
%bcond_without check %bcond_without check
Name: sqlite3 Name: sqlite3
Version: 3.40.1 Version: 3.41.0
Release: 0 Release: 0
Summary: Embeddable SQL Database Engine Summary: Embeddable SQL Database Engine
License: SUSE-Public-Domain License: SUSE-Public-Domain
@ -30,7 +30,6 @@ URL: https://www.sqlite.org/
Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip
Source1: baselibs.conf Source1: baselibs.conf
Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip
Patch0: sqlite-src-3390000-func7-pg-181.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -128,7 +127,6 @@ other documentation found on sqlite.org. The files can be found in
%prep %prep
%setup -q -n sqlite-src-%{tarversion} -a2 %setup -q -n sqlite-src-%{tarversion} -a2
%patch0 -p1
rm -v sqlite-doc-%{tarversion}/releaselog/current.html rm -v sqlite-doc-%{tarversion}/releaselog/current.html
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html