1 |
< |
### RPM external sqlite 3.3.5-wt1 |
2 |
< |
Source: http://www.sqlite.org/%{n}-%{realversion}.tar.gz |
3 |
< |
Patch1: sqlite_3.3.5_readline_for_32bit_on_64bit_build |
1 |
> |
### RPM external sqlite 3.6.23 |
2 |
> |
Source: http://www.sqlite.org/sqlite-%{realversion}.tar.gz |
3 |
|
|
4 |
|
%prep |
5 |
|
%setup -n %n-%{realversion} |
7 |
– |
# The following hack and patch are there because the libreadline.so soft |
8 |
– |
# link is missing from the 32-bit compatibility area on the 64-bit build |
9 |
– |
# machines and apparently they don't have a -devel build with it. It |
10 |
– |
# definitely should be reviewed at some point. |
11 |
– |
%patch1 -p1 |
12 |
– |
mkdir .libs |
13 |
– |
ln -s /usr/lib/libreadline.so.4.3 .libs/libreadline.so |
6 |
|
|
7 |
|
%build |
8 |
< |
./configure --prefix=%i --disable-tcl |
8 |
> |
./configure --prefix=%i --disable-tcl --disable-static |
9 |
|
make %makeprocesses |
10 |
+ |
|
11 |
+ |
%install |
12 |
+ |
make install |
13 |
+ |
rm -rf %i/lib/pkgconfig |