update to 3.6.20
This commit is contained in:
parent
d6e2d71d3b
commit
dd13d6a8b1
@ -1,2 +1,3 @@
|
||||
sqlite-3.6.14.2.tar.gz
|
||||
sqlite-3.6.17.tar.gz
|
||||
sqlite-3.6.20.tar.gz
|
||||
|
@ -6,11 +6,11 @@
|
||||
%define __debug_install_post %{_mingw32_debug_install_post}
|
||||
|
||||
# bcond default logic is nicely backwards...
|
||||
%bcond_without tcl
|
||||
%bcond_with tcl
|
||||
%global tclversion 8.5
|
||||
|
||||
Name: mingw32-sqlite
|
||||
Version: 3.6.17
|
||||
Version: 3.6.20
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW Windows port of sqlite embeddable SQL database engine
|
||||
|
||||
@ -26,7 +26,6 @@ BuildArch: noarch
|
||||
Patch1: sqlite-3.6.12-libdl.patch
|
||||
# Avoid insecure sprintf(), use a system path for lempar.c, patch from Debian
|
||||
Patch2: sqlite-3.6.6.2-lemon-snprintf.patch
|
||||
Patch3: sqlite-3.6.13-iotest-nodirsync.patch
|
||||
|
||||
# Patches for MinGW port.
|
||||
Patch1000: mingw32-sqlite-3.6.12-no-undefined.patch
|
||||
@ -71,7 +70,6 @@ for Windows.
|
||||
%setup -q -n sqlite-%{version}
|
||||
%patch1 -p1 -b .libdl
|
||||
%patch2 -p1 -b .lemon-sprintf
|
||||
%patch3 -p1 -b .nodirsync
|
||||
%patch1000 -p1
|
||||
|
||||
# Ships with an old/broken version of libtool which cannot create
|
||||
@ -96,6 +94,12 @@ export MINGW32_CFLAGS="%{_mingw32_cflags} -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQ
|
||||
--enable-threadsafe \
|
||||
--enable-threads-override-locks \
|
||||
--enable-load-extension
|
||||
|
||||
# -lc hack
|
||||
sed -e s,build_libtool_need_lc=yes,build_libtool_need_lc=no, < libtool > libtool.x
|
||||
mv libtool.x libtool
|
||||
chmod a+x libtool
|
||||
|
||||
make
|
||||
|
||||
|
||||
@ -108,6 +112,8 @@ rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3.a
|
||||
|
||||
chmod 0644 $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3.dll.a
|
||||
|
||||
mv $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3-0.dll $RPM_BUILD_ROOT%{_mingw32_bindir}/
|
||||
|
||||
%if %{with tcl}
|
||||
install -d -m755 $RPM_BUILD_ROOT%{_mingw32_datadir}/tcl%{tclversion}/sqlite3/
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/tcl%{tclversion}/sqlite3/pkgIndex.tcl $RPM_BUILD_ROOT%{_mingw32_datadir}/tcl%{tclversion}/sqlite3/
|
||||
@ -122,6 +128,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc README VERSION
|
||||
%{_mingw32_bindir}/sqlite3.exe
|
||||
%{_mingw32_bindir}/libsqlite3-0.dll
|
||||
#%{_mingw32_bindir}/libsqlite3-0.dll.debug
|
||||
%{_mingw32_libdir}/libsqlite3.dll.a
|
||||
%{_mingw32_libdir}/libsqlite3.la
|
||||
%{_mingw32_includedir}/sqlite3.h
|
||||
@ -133,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Dec 5 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.20-1
|
||||
- update to 3.6.20
|
||||
|
||||
* Sun Sep 20 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.17-1
|
||||
- update to 3.6.17
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user