SHA256
1
0
forked from pool/sqlite3
sqlite3/sqlite3.spec

172 lines
5.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package sqlite3
#
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Simplify building on RH for Application:Geo (SR#212812).
%define pname sqlite3
%define oname sqlite
- SQLite 3.13.0: * Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. * Merged the session extension into trunk. * Added the ".auth ON|OFF" command to the command-line shell. * Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. * Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. * Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. * Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. * Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. * Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 * Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. * When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=161
2016-05-18 21:49:01 +02:00
%define tarversion 3130000
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
Name: %{pname}
- SQLite 3.13.0: * Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. * Merged the session extension into trunk. * Added the ".auth ON|OFF" command to the command-line shell. * Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. * Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. * Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. * Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. * Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. * Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 * Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. * When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=161
2016-05-18 21:49:01 +02:00
Version: 3.13.0
Release: 0
Summary: Embeddable SQL Database Engine
License: SUSE-Public-Domain
Group: Productivity/Databases/Servers
Url: http://www.sqlite.org/
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
Source0: http://www.sqlite.org/2016/sqlite-autoconf-%{tarversion}.tar.gz
Source1: baselibs.conf
Source2: http://www.sqlite.org/2016/sqlite-doc-%{tarversion}.zip
Patch1: sqlite-fts5-link.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: readline-devel
BuildRequires: unzip
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
Requires: libsqlite3-0 = %{version}
Provides: %{oname} = %{version}
Obsoletes: %{oname} < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version:1}
BuildRequires: update-desktop-files
%endif
# bug437293
%ifarch ppc64
Obsoletes: sqlite-64bit < %{version}
Provides: sqlite-64bit = %{version}
%endif
#
%description
SQLite is a C library that implements an embeddable SQL database
engine. Programs that link with the SQLite library can have SQL
database access without running a separate RDBMS process.
SQLite is not a client library used to connect to a big database
server. SQLite is a server and the SQLite library reads and writes
directly to and from the database files on disk.
SQLite can be used via the sqlite command line tool or via any
application that supports the Qt database plug-ins.
%package -n libsqlite3-0
Summary: Shared libraries for the Embeddable SQL Database Engine
Group: Development/Libraries/C and C++
%description -n libsqlite3-0
This package contains the shared libraries for the Embeddable SQL
Database Engine.
SQLite is a C library that implements an embeddable SQL database
engine. Programs that link with the SQLite library can have SQL
database access without running a separate RDBMS process.
SQLite is not a client library used to connect to a big database
server. SQLite is a server and the SQLite library reads and writes
directly to and from the database files on disk.
SQLite can be used via the sqlite command line tool or via any
application that supports the Qt database plug-ins.
%package devel
Summary: Embeddable SQL Database Engine
Group: Development/Libraries/C and C++
Requires: glibc-devel
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
Requires: libsqlite3-0 = %{version}
Suggests: %{name}-doc
Provides: %{oname}-devel = %{version}
Obsoletes: %{oname}-devel < %{version}
%description devel
SQLite is a C library that implements an embeddable SQL database
engine. Programs that link with the SQLite library can have SQL
database access without running a separate RDBMS process.
SQLite is not a client library used to connect to a big database
server; SQLite is the server. The SQLite library reads and writes
directly to and from the database files on disk.
SQLite can be used via the sqlite command-line tool or via any
application which supports the Qt database plug-ins.
%package doc
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
Summary: Documentation for %{name}
Group: Documentation
%if 0%{?suse_version} >= 1130
BuildArch: noarch
%endif
%description doc
Contains HTML documentation for SQLite: SQL Syntax, C/C++ API and
other documentation found on sqlite.org. The files can be found in
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
%{_docdir}/%{name}-doc.
%prep
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
%setup -q -n sqlite-autoconf-%{tarversion} -a2
%patch1 -p1
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
%build
autoreconf -fi
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
export CFLAGS="%{optflags} \
-DSQLITE_ENABLE_API_ARMOR \
-DSQLITE_ENABLE_COLUMN_METADATA \
-DSQLITE_ENABLE_DBSTAT_VTAB \
-DSQLITE_ENABLE_HIDDEN_COLUMNS \
-DSQLITE_ENABLE_FTS4 \
-DSQLITE_ENABLE_FTS5 \
-DSQLITE_ENABLE_JSON1 \
-DSQLITE_ENABLE_RBU \
-DSQLITE_ENABLE_RTREE \
-DSQLITE_SOUNDEX \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
-DSQLITE_SECURE_DELETE \
"
%configure --disable-static \
- SQLite 3.12.0: * The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096. The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000 so the same amount of cache memory is used by default. * Enhancements to the Lemon parser generator so that it creates a smaller and faster SQL parser. * Only create master journal files if two or more attached databases are all modified, do not have PRAGMA synchronous set to OFF, and do not have the journal_mode set to OFF, MEMORY, or WAL. * Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() which allows the two-argument version of the fts3_tokenizer() SQL function to be enabled or disabled at run-time. * Added the sqlite3rbu_bp_progress() interface to the RBU extension. * The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT actions on foreign key. * Added the sqlite3_system_errno() interface. * Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported. * Enhanced the ".stats" command in the command-line shell to show more information about I/O performance obtained from /proc, when available. * Make sure the sqlite3_set_auxdata() values from multiple triggers within a single statement do not interfere with one another. Ticket dc9b1c91. * Fix the code generator for expressions of the form "x IN (SELECT...)" where the SELECT statement on the RHS is a correlated subquery. - Remove sqlite3-link-binary-with-libsqlite3.patch: replaced with configure option --disable-static-shell OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=155
2016-03-30 10:02:52 +02:00
--disable-static-shell \
--enable-readline
make %{?_smp_mflags}
%install
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libsqlite3-0 -p /sbin/ldconfig
%postun -n libsqlite3-0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
%{_bindir}/sqlite3
%{_mandir}/man1/*
%files -n libsqlite3-0
%defattr(-,root,root)
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
%{_libdir}/libsqlite*.so.*
%files devel
%defattr(-,root,root)
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
%{_includedir}/*.h
%{_libdir}/libsqlite*.so
%{_libdir}/pkgconfig/sqlite3.pc
%files doc
%defattr(-,root,root)
Accepting request 352452 from home:mimi_vx:branches:server:database - update to 3.10.0 - spec-cleaned * Added support for LIKE, GLOB, and REGEXP operators on virtual tables. * Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. * Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. * On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. * Added the "--transaction" option to sqldiff. * Added the sqlite3_db_cacheflush() interface. * Added the sqlite3_strlike() interface. * When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. * Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. * Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) * Added the json_group_array() and json_group_object() SQL functions in the json extension. * Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. * Many small performance optimizations. + Enhancements to the command-line shell: * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. + Important fixes: * Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that OBS-URL: https://build.opensuse.org/request/show/352452 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 15:08:29 +01:00
%doc sqlite-doc-%{tarversion}/*
%changelog