rpms/sqlite/devel sqlite-3.6.13-iotest-nodirsync.patch, NONE, 1.1 sqlite.spec, 1.59, 1.60
Panu Matilainen
pmatilai at fedoraproject.org
Thu May 14 09:24:35 UTC 2009
Author: pmatilai
Update of /cvs/pkgs/rpms/sqlite/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14346
Modified Files:
sqlite.spec
Added Files:
sqlite-3.6.13-iotest-nodirsync.patch
Log Message:
- fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC
sqlite-3.6.13-iotest-nodirsync.patch:
--- NEW FILE sqlite-3.6.13-iotest-nodirsync.patch ---
diff -up sqlite-3.6.13/test/io.test.nodirsync sqlite-3.6.13/test/io.test
--- sqlite-3.6.13/test/io.test.nodirsync 2009-05-14 12:12:21.000000000 +0300
+++ sqlite-3.6.13/test/io.test 2009-05-14 12:13:51.000000000 +0300
@@ -426,7 +426,8 @@ sqlite3_simulate_device -char safe_appen
# on the journal file between steps (2) and (3) above.
#
if {$::tcl_platform(platform)=="unix"} {
- set expected_sync_count 3
+ # normally 3 but with -DSQLITE_DISABLE_DIRSYNC its 2
+ set expected_sync_count 2
} else {
set expected_sync_count 2
}
Index: sqlite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sqlite/devel/sqlite.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -p -r1.59 -r1.60
--- sqlite.spec 14 May 2009 08:46:20 -0000 1.59
+++ sqlite.spec 14 May 2009 09:24:05 -0000 1.60
@@ -16,6 +16,8 @@ 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.12-no-sqlite-doc.patch
+# Fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC
+Patch4: sqlite-3.6.13-iotest-nodirsync.patch
BuildRequires: ncurses-devel readline-devel glibc-devel
# libdl patch needs
BuildRequires: autoconf
@@ -78,6 +80,7 @@ This package contains the tcl modules fo
%patch1 -p1 -b .libdl
%patch2 -p1 -b .lemon-sprintf
%patch3 -p1 -b .no-sqlite-doc
+%patch4 -p1 -b .nodirsync
%build
autoconf
@@ -112,7 +115,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{la,a
%if %{with check}
%check
# let this fail for now:
-# - io-4.1 and io-4.2.3 fail everywhere
# - five nan-test broken on PPC (upstream ticket #3404)
# - bunch of rtree-tests failing on PPC atm
make test ||:
@@ -159,6 +161,7 @@ rm -rf $RPM_BUILD_ROOT
- drop ancient sqlite3 obsoletes
- fix tab vs space whitespace issues
- remove commas from summaries
+- fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC
* Wed Apr 15 2009 Panu Matilainen <pmatilai at redhat.com> - 3.6.13-1
- update to 3.6.13
More information about the scm-commits
mailing list