[sqlite] - update to 3.7.7.1 - autoconf no longer needed for build, libdl check finally upstreamed - nodirsyn

Panu Matilainen pmatilai at fedoraproject.org
Wed Jul 13 07:11:12 UTC 2011


commit 30d0e9aa29bf52309748c7ebfda3e7e5492ab6fc
Author: Panu Matilainen <Panu Matilainen pmatilai at redhat.com>
Date:   Wed Jul 13 10:09:23 2011 +0300

    - update to 3.7.7.1
    - autoconf no longer needed for build, libdl check finally upstreamed
    - nodirsync test-suite fiddling no longer seems necessary
    - update the broken oserror test patch to apply

 .gitignore                                         |    2 +
 sources                                            |    2 +
 sqlite-3.6.12-libdl.patch                          |   11 --------
 sqlite-3.7.4-wal2-nodirsync.patch                  |   16 ------------
 ...h => sqlite-3.7.7.1-stupid-openfiles-test.patch |   10 ++++---
 sqlite.spec                                        |   25 ++++++++------------
 6 files changed, 20 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c2008eb..a7489de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@
 /sqlite-src-3070602.zip
 /sqlite-doc-3070600.zip
 /sqlite-src-3070603.zip
+/sqlite-src-3070701.zip
+/sqlite-doc-3070701.zip
diff --git a/sources b/sources
index 92a2373..473a99e 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,5 @@
 1ee582b962d3408b5825bffd404b3d33  sqlite-src-3070602.zip
 1c9b9da6f98f1da2d8958254662c393c  sqlite-doc-3070600.zip
 f8e22ec0931c91f029d539fe3f5ef0f9  sqlite-src-3070603.zip
+9162803d0a82421a2df9d907e721a758  sqlite-src-3070701.zip
+2bca5613abf9352bc525b6a8fd80156e  sqlite-doc-3070701.zip
diff --git a/sqlite-3.7.6-stupid-openfiles-test.patch b/sqlite-3.7.7.1-stupid-openfiles-test.patch
similarity index 67%
rename from sqlite-3.7.6-stupid-openfiles-test.patch
rename to sqlite-3.7.7.1-stupid-openfiles-test.patch
index 7325eb1..ec6d3f7 100644
--- a/sqlite-3.7.6-stupid-openfiles-test.patch
+++ b/sqlite-3.7.7.1-stupid-openfiles-test.patch
@@ -1,10 +1,11 @@
-diff -up sqlite-src-3070602/test/oserror.test.openfiles sqlite-src-3070602/test/oserror.test
---- sqlite-src-3070602/test/oserror.test.openfiles	2011-04-29 13:23:00.000000000 +0300
-+++ sqlite-src-3070602/test/oserror.test	2011-04-29 13:24:26.000000000 +0300
-@@ -51,18 +51,18 @@ proc do_re_test {tn script expression} {
+diff -up sqlite-src-3070701/test/oserror.test.openfiles sqlite-src-3070701/test/oserror.test
+--- sqlite-src-3070701/test/oserror.test.openfiles	2011-07-13 09:56:46.025857411 +0300
++++ sqlite-src-3070701/test/oserror.test	2011-07-13 09:57:11.634759798 +0300
+@@ -51,19 +51,19 @@ proc do_re_test {tn script expression} {
  # a call to getcwd() may fail if there are no free file descriptors. So
  # an error may be reported for either open() or getcwd() here.
  #
+-puts "Possible valgrind error about invalid file descriptor follows:"
 -do_test 1.1.1 {
 -  set ::log [list]
 -  list [catch {
@@ -17,6 +18,7 @@ diff -up sqlite-src-3070602/test/oserror.test.openfiles sqlite-src-3070602/test/
 -do_re_test 1.1.3 { 
 -  lindex $::log 0 
 -} {^os_unix.c:\d+: \(\d+\) (open|getcwd)\(.*test.db\) - }
++#puts "Possible valgrind error about invalid file descriptor follows:"
 +#do_test 1.1.1 {
 +#  set ::log [list]
 +#  list [catch {
diff --git a/sqlite.spec b/sqlite.spec
index 3f664d9..fc3cd33 100644
--- a/sqlite.spec
+++ b/sqlite.spec
@@ -3,8 +3,8 @@
 %bcond_with static
 %bcond_without check
 
-%define realver 3070603
-%define docver 3070600
+%define realver 3070701
+%define docver 3070701
 %define rpmver %(echo %{realver}|sed -e "s/00//g" -e "s/0/./g")
 
 Summary: Library that implements an embeddable SQL database engine
@@ -16,17 +16,11 @@ Group: Applications/Databases
 URL: http://www.sqlite.org/
 Source0: http://www.sqlite.org/sqlite-src-%{realver}.zip
 Source1: http://www.sqlite.org/sqlite-doc-%{docver}.zip
-# Fix build with --enable-load-extension, upstream ticket #3137
-Patch1: sqlite-3.6.12-libdl.patch
 # Support a system-wide lemon template
-Patch2: sqlite-3.6.23-lemon-system-template.patch
-# Fixup test-suite expectations wrt SQLITE_DISABLE_DIRSYNC 
-Patch3: sqlite-3.7.4-wal2-nodirsync.patch
+Patch1: sqlite-3.6.23-lemon-system-template.patch
 # Shut up stupid tests depending on system settings of allowed open fd's
-Patch4: sqlite-3.7.6-stupid-openfiles-test.patch
+Patch2: sqlite-3.7.7.1-stupid-openfiles-test.patch
 BuildRequires: ncurses-devel readline-devel glibc-devel
-# libdl patch needs
-BuildRequires: autoconf
 %if %{with tcl}
 BuildRequires: /usr/bin/tclsh
 BuildRequires: tcl-devel
@@ -93,16 +87,13 @@ This package contains the tcl modules for %{name}.
 
 %prep
 %setup -q -a1 -n %{name}-src-%{realver}
-%patch1 -p1 -b .libdl
-%patch2 -p1 -b .lemon-system-template
-%patch3 -p1 -b .wal2-nodirsync
-%patch4 -p1 -b .stupid-openfiles-test
+%patch1 -p1 -b .lemon-system-template
+%patch2 -p1 -b .stupid-openfiles-test
 
 # Remove cgi-script erroneously included in sqlite-doc-3070500
 rm -f %{name}-doc-%{realver}/search
 
 %build
-autoconf
 export CFLAGS="$RPM_OPT_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -Wall -fno-strict-aliasing"
 %configure %{!?with_tcl:--disable-tcl} \
            --enable-threadsafe \
@@ -183,6 +174,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Wed Jul 13 2011 Panu Matilainen <pmatilai at redhat.com> - 3.7.7.1-1
+- update to 3.7.7.1 (http://www.sqlite.org/releaselog/3_7_7_1.html)
+- autoconf no longer needed for build, libdl check finally upstreamed
+
 * Wed May 25 2011 Panu Matilainen <pmatilai at redhat.com> - 3.7.6.3-1
 - update to 3.7.6.3 (http://www.sqlite.org/releaselog/3_7_6_3.html)
 


More information about the scm-commits mailing list