Browse Source

sqlite3-3.27.2.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12101 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
ff7b1131d9
1 changed files with 32 additions and 7 deletions
  1. 32 7
      s/sqlite3/sqlite3-vl.spec

+ 32 - 7
s/sqlite3/sqlite3-vl.spec

@@ -5,9 +5,9 @@
 
 %define with_check %{?_with_check:1}%{!?_with_check:0}
 
-%define realver 3170000
-%define docver 3170000
-%define rpmver 3.17.0.0
+%define realver 3270200
+%define docver 3270200
+%define rpmver 3.27.2.0
 
 
 Summary: SQLite is a C library that implements an embeddable SQL database engine
@@ -24,11 +24,23 @@ Source1: http://www.sqlite.org/%{archivename}-doc-%{docver}.zip
 
 # Support a system-wide lemon template
 Patch1: sqlite-3.6.23-lemon-system-template.patch
+# Shut up stupid tests depending on system settings of allowed open fd's
+Patch2: sqlite-3.7.7.1-stupid-openfiles-test.patch
+# sqlite >= 3.7.10 is buggy if malloc_usable_size() is detected, disable it:
+# https://bugzilla.redhat.com/show_bug.cgi?id=801981
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665363
+Patch3: sqlite-3.12.2-no-malloc-usable-size.patch
 # Temporary workaround for failed percentile test, see patch for details
 Patch4: sqlite-3.8.0-percentile-test.patch
+# Disable test failing due to tcl regression. Details in patch file.
+Patch6: sqlite-3.8.10.1-tcl-regress-tests.patch
+# Disable test date-2.2c on i686
+Patch7: sqlite-3.16-datetest-2.2c.patch
+# Modify sync2.test to pass with DIRSYNC turned off
+Patch8: sqlite-3.18.0-sync2-dirsync.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: tcl-devel, libedit-devel, ncurses-devel
+BuildRequires: tcl-devel, libedit-devel, ncurses-devel, zlib-devel
 
 
 %description
@@ -137,10 +149,18 @@ sqlite3-develはSQLiteデータベースライブラリを用いるプログラ
 
 %prep
 %setup -q -a1 -n%{archivename}-src-%{realver}
-%patch1 -p1 -b .lemon-system-template
-%patch4 -p1 -b .nonprecise-percentile-test
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch6 -p1
+%ifarch %{ix86}
+%patch7 -p1
+%endif
+%patch8 -p1
 
-rm -f %{name}-doc-%{realver}/search
+# Remove backup-file
+rm -f %{name}-doc-%{docver}/sqlite.css~ || :
 
 %build
 autoconf
@@ -153,6 +173,7 @@ export CFLAGS="$RPM_OPT_FLAGS
 	       -DSQLITE_ENABLE_RTREE=1
 	       -DSQLITE_SECURE_DELETE=1
 	       -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
+	       -DSQLITE_ENABLE_DBSTAT_VTAB=1
 	       -Wall -fno-strict-aliasing"
 %configure --enable-load-extension \
            --enable-threadsafe \
@@ -223,6 +244,10 @@ install -D -m0644 tool/lempar.c $RPM_BUILD_ROOT/%{_datadir}/lemon/lempar.c
 
 
 %changelog
+* Tue May 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.27.2.0-1
+- new upstream release.
+- added BR:zlib-devel.
+
 * Sun Mar 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.17.0.0-1
 - new upstream release.
 - enabled FTS5 and JSON1 extension.