forked from pool/sqlite3
Accepting request 965652 from server:database
- update to 3.38.2: * Fix a problem with the Bloom filter optimization that might cause an incorrect answer when doing a LEFT JOIN with a WHERE clause constraint that says that one of the columns on the right table of the LEFT JOIN is NULL. * Other minor patches. - Remove obsolete configure flags - Package the Tcl bindings here again so that we only ship one copy of SQLite (bsc#1195773). OBS-URL: https://build.opensuse.org/request/show/965652 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=131
This commit is contained in:
commit
af6af228ba
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5dae49bd7611777d23e9065204bf184ec454235d3f1b0c27bcab10446720df6d
|
||||
size 10615296
|
3
sqlite-doc-3380200.zip
Normal file
3
sqlite-doc-3380200.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a6e5ab06ae9074eeff74f0b60970f3bb25aeff79e970f6b1aeeff347f2832f9
|
||||
size 10620764
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:177aefda817fa9f52825e1748587f7c27a9b5e6b53a481cd43461f2746d931d8
|
||||
size 13241298
|
3
sqlite-src-3380200.zip
Normal file
3
sqlite-src-3380200.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c7c0f070a338c92eb08805905c05f254fa46d1c4dda3548a02474f6fb567329a
|
||||
size 13242285
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 29 08:21:26 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- update to 3.38.2:
|
||||
* Fix a problem with the Bloom filter optimization that might
|
||||
cause an incorrect answer when doing a LEFT JOIN with a WHERE
|
||||
clause constraint that says that one of the columns on the
|
||||
right table of the LEFT JOIN is NULL.
|
||||
* Other minor patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 16:24:45 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Remove obsolete configure flags
|
||||
- Package the Tcl bindings here again so that we only ship one copy
|
||||
of SQLite (bsc#1195773).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 13 16:25:42 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
34
sqlite3.spec
34
sqlite3.spec
@ -17,10 +17,11 @@
|
||||
|
||||
|
||||
%define oname sqlite
|
||||
%define tarversion 3380100
|
||||
%define tarversion 3380200
|
||||
%bcond_with icu
|
||||
%bcond_without check
|
||||
Name: sqlite3
|
||||
Version: 3.38.1
|
||||
Version: 3.38.2
|
||||
Release: 0
|
||||
Summary: Embeddable SQL Database Engine
|
||||
License: SUSE-Public-Domain
|
||||
@ -102,6 +103,18 @@ 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 tcl
|
||||
Summary: Tcl binding for SQLite
|
||||
Group: Development/Libraries/Tcl
|
||||
|
||||
%description tcl
|
||||
This package contains laguage bindings from the Tcl programming
|
||||
language SQLite.
|
||||
|
||||
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.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
@ -123,6 +136,7 @@ find -type f -name sqlite.css~ -delete
|
||||
cmp sqlite-doc-%{tarversion}/fileformat{,2}.html && ln -sf fileformat.html sqlite-doc-%{tarversion}/fileformat2.html
|
||||
|
||||
%build
|
||||
export TCLLIBDIR=%tcl_archdir/sqlite%version
|
||||
export LIBS="$LIBS -lm %{?with_icu:-licuuc -licui18n}"
|
||||
export CFLAGS="%{optflags} \
|
||||
-DSQLITE_ENABLE_API_ARMOR \
|
||||
@ -146,27 +160,27 @@ export CFLAGS="%{optflags} \
|
||||
"
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-static-shell \
|
||||
--enable-readline \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-json1 \
|
||||
--enable-update-limit \
|
||||
--enable-rtree
|
||||
%make_build sqlite3.c
|
||||
%make_build
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%make_build test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1/
|
||||
install -Dpm 0644 sqlite3.1 \
|
||||
%{buildroot}/%{_mandir}/man1/sqlite3.1
|
||||
#mkdir -p %{buildroot}/%{_mandir}/man{1,n}/
|
||||
install -Dp -m 0644 -t %{buildroot}/%{_mandir}/man1 sqlite3.1
|
||||
install -Dp -m 0644 -t %{buildroot}/%{_mandir}/mann autoconf/tea/doc/sqlite3.n
|
||||
# tcl bindings are provided by tcl itself
|
||||
rm -rf %{buildroot}%{_libdir}/tcl/tcl8.?/sqlite3*
|
||||
#rm -rf %{buildroot}%{_libdir}/tcl/tcl8.?/sqlite3*
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libsqlite3-0 -p /sbin/ldconfig
|
||||
@ -185,6 +199,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/libsqlite3.so
|
||||
%{_libdir}/pkgconfig/sqlite3.pc
|
||||
|
||||
%files tcl
|
||||
%tcl_archdir/*
|
||||
%doc %_mandir/mann/*
|
||||
|
||||
%files doc
|
||||
%doc sqlite-doc-%{tarversion}/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user