|
@@ -37,10 +37,10 @@ Class: BASE
|
|
|
Group: Database
|
|
Group: Database
|
|
|
License: PD
|
|
License: PD
|
|
|
Version: %{V_sqlite}
|
|
Version: %{V_sqlite}
|
|
|
-Release: 20080323
|
|
|
|
|
|
|
+Release: 20080329
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
-%option with_assert no
|
|
|
|
|
|
|
+%option with_debug no
|
|
|
%option with_readline no
|
|
%option with_readline no
|
|
|
%option with_threads no
|
|
%option with_threads no
|
|
|
%option with_fts1 no
|
|
%option with_fts1 no
|
|
@@ -124,9 +124,6 @@ AutoReqProv: no
|
|
|
# configure and build SQLite
|
|
# configure and build SQLite
|
|
|
CC="%{l_cc}"
|
|
CC="%{l_cc}"
|
|
|
CFLAGS="%{l_cflags -O}"
|
|
CFLAGS="%{l_cflags -O}"
|
|
|
-%if "%{with_assert}" == "no"
|
|
|
|
|
- CFLAGS="$CFLAGS -DNDEBUG=1"
|
|
|
|
|
-%endif
|
|
|
|
|
CPPFLAGS="-I. %{l_cppflags}"
|
|
CPPFLAGS="-I. %{l_cppflags}"
|
|
|
LDFLAGS="%{l_ldflags}"
|
|
LDFLAGS="%{l_ldflags}"
|
|
|
LIBS="-lm"
|
|
LIBS="-lm"
|
|
@@ -150,12 +147,13 @@ AutoReqProv: no
|
|
|
%else
|
|
%else
|
|
|
--disable-readline \
|
|
--disable-readline \
|
|
|
%endif
|
|
%endif
|
|
|
- --disable-shared
|
|
|
|
|
-%if "%{with_assert}" == "yes"
|
|
|
|
|
- %{l_shtool} subst \
|
|
|
|
|
- -e 's;-DNDEBUG;;' \
|
|
|
|
|
- Makefile
|
|
|
|
|
|
|
+%if "%{with_debug}" == "yes"
|
|
|
|
|
+ --enable-debug \
|
|
|
|
|
+%else
|
|
|
|
|
+ --disable-debug \
|
|
|
%endif
|
|
%endif
|
|
|
|
|
+ --disable-amalgamation \
|
|
|
|
|
+ --disable-shared
|
|
|
MFLAGS=""
|
|
MFLAGS=""
|
|
|
%if "%{with_fts1}" == "yes"
|
|
%if "%{with_fts1}" == "yes"
|
|
|
MFLAGS="$MFLAGS FTS1=1"
|
|
MFLAGS="$MFLAGS FTS1=1"
|