SPECS: sqlite3.spec - SQLITE_ENABLE_COLUMN_METADATA=1 - disable te...

baggins baggins at pld-linux.org
Tue Sep 18 17:42:50 CEST 2007


Author: baggins                      Date: Tue Sep 18 15:42:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- SQLITE_ENABLE_COLUMN_METADATA=1
- disable tests by default (all problems are caused by tcl 8.4<->8.5 changes
- rel 2

---- Files affected:
SPECS:
   sqlite3.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/sqlite3.spec
diff -u SPECS/sqlite3.spec:1.42 SPECS/sqlite3.spec:1.43
--- SPECS/sqlite3.spec:1.42	Tue Sep 18 17:40:44 2007
+++ SPECS/sqlite3.spec	Tue Sep 18 17:42:44 2007
@@ -1,19 +1,31 @@
 # $Revision$, $Date$
 # TODO:
-# - fix lib64 in tcl module
-# - date test fail on tcl8.5 because of missing tcl library initialization
-#   (and thus unavailable clock command)
+# - some tests fail with tcl8.5, it's tcl fault,
+#	if someone REALLY cares (s)he can look into it
 #
 # Conditional build:
-%bcond_without	tests # don't run tests
-%bcond_without	tcl   # disable tcl extension
-%bcond_without	doc  # disable documentation building
+%bcond_with	tests	# run tests
+%bcond_without	tcl	# disable tcl extension
+%bcond_without	doc	# disable documentation building
 #
+%ifarch alpha sparc %{x8664}
+%undefine	with_tests
+%endif
+
+# disabling tcl currently breaks making test target,
+# some hack in Makefile needs to be done
+%if !%{with tcl}
+%undefine	with_tests
+%endif
+
+%define         _ulibdir        /usr/lib
+%define		tclver		%(rpm -q --qf '%{V}' tcl)
+
 Summary:	SQLite library
 Summary(pl.UTF-8):	Biblioteka SQLite
 Name:		sqlite3
 Version:	3.5.0
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 # Source0Download: http://sqlite.org/download.html
@@ -29,19 +41,6 @@
 %{?with_tcl:BuildRequires:	tcl-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%ifarch alpha sparc %{x8664}
-%undefine	with_tests
-%endif
-
-# disabling tcl currently breaks making test target,
-# some hack in Makefile needs to be done
-%if !%{with tcl}
-%undefine	with_tests
-%endif
-
-%define         _ulibdir        /usr/lib
-%define		tclver		%(rpm -q --qf '%{V}' tcl)
-
 %description
 SQLite is a C library that implements an SQL database engine. A large
 subset of SQL92 is supported. A complete database is stored in a
@@ -162,6 +161,8 @@
 cp -f /usr/share/automake/config.sub .
 %{__aclocal}
 %{__autoconf}
+CFLAGS="%{rpmcflags} -DSQLITE_ENABLE_COLUMN_METADATA=1"
+export CFLAGS
 %configure \
 	%{?with_tcl:--with-tcl=%{_ulibdir}} \
 	%{!?with_tcl:--disable-tcl} \
@@ -228,6 +229,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2007/09/18 15:42:44  baggins
+- SQLITE_ENABLE_COLUMN_METADATA=1
+- disable tests by default (all problems are caused by tcl 8.4<->8.5 changes
+- rel 2
+
 Revision 1.42  2007/09/18 15:40:44  baggins
 - install tcl module in proper libdir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sqlite3.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list