update to 3.6.20

This commit is contained in:
sailer 2009-12-05 15:12:06 +00:00
parent d6e2d71d3b
commit dd13d6a8b1
3 changed files with 16 additions and 5 deletions

View File

@ -1,2 +1,3 @@
sqlite-3.6.14.2.tar.gz sqlite-3.6.14.2.tar.gz
sqlite-3.6.17.tar.gz sqlite-3.6.17.tar.gz
sqlite-3.6.20.tar.gz

View File

@ -6,11 +6,11 @@
%define __debug_install_post %{_mingw32_debug_install_post} %define __debug_install_post %{_mingw32_debug_install_post}
# bcond default logic is nicely backwards... # bcond default logic is nicely backwards...
%bcond_without tcl %bcond_with tcl
%global tclversion 8.5 %global tclversion 8.5
Name: mingw32-sqlite Name: mingw32-sqlite
Version: 3.6.17 Version: 3.6.20
Release: 1%{?dist} Release: 1%{?dist}
Summary: MinGW Windows port of sqlite embeddable SQL database engine Summary: MinGW Windows port of sqlite embeddable SQL database engine
@ -26,7 +26,6 @@ BuildArch: noarch
Patch1: sqlite-3.6.12-libdl.patch Patch1: sqlite-3.6.12-libdl.patch
# Avoid insecure sprintf(), use a system path for lempar.c, patch from Debian # Avoid insecure sprintf(), use a system path for lempar.c, patch from Debian
Patch2: sqlite-3.6.6.2-lemon-snprintf.patch Patch2: sqlite-3.6.6.2-lemon-snprintf.patch
Patch3: sqlite-3.6.13-iotest-nodirsync.patch
# Patches for MinGW port. # Patches for MinGW port.
Patch1000: mingw32-sqlite-3.6.12-no-undefined.patch Patch1000: mingw32-sqlite-3.6.12-no-undefined.patch
@ -71,7 +70,6 @@ for Windows.
%setup -q -n sqlite-%{version} %setup -q -n sqlite-%{version}
%patch1 -p1 -b .libdl %patch1 -p1 -b .libdl
%patch2 -p1 -b .lemon-sprintf %patch2 -p1 -b .lemon-sprintf
%patch3 -p1 -b .nodirsync
%patch1000 -p1 %patch1000 -p1
# Ships with an old/broken version of libtool which cannot create # 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-threadsafe \
--enable-threads-override-locks \ --enable-threads-override-locks \
--enable-load-extension --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 make
@ -108,6 +112,8 @@ rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3.a
chmod 0644 $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3.dll.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} %if %{with tcl}
install -d -m755 $RPM_BUILD_ROOT%{_mingw32_datadir}/tcl%{tclversion}/sqlite3/ 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/ 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 %doc README VERSION
%{_mingw32_bindir}/sqlite3.exe %{_mingw32_bindir}/sqlite3.exe
%{_mingw32_bindir}/libsqlite3-0.dll %{_mingw32_bindir}/libsqlite3-0.dll
#%{_mingw32_bindir}/libsqlite3-0.dll.debug
%{_mingw32_libdir}/libsqlite3.dll.a %{_mingw32_libdir}/libsqlite3.dll.a
%{_mingw32_libdir}/libsqlite3.la %{_mingw32_libdir}/libsqlite3.la
%{_mingw32_includedir}/sqlite3.h %{_mingw32_includedir}/sqlite3.h
@ -133,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %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 * Sun Sep 20 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.17-1
- update to 3.6.17 - update to 3.6.17

View File

@ -1 +1 @@
f89f62afc765e08b3f0e47cdc47a15d4 sqlite-3.6.17.tar.gz 0faf8fc8ccff5297513c6532b2b4ce23 sqlite-3.6.20.tar.gz