- bah, mock src.rpm generation doesnt like macros depending on

build-required things..
- tclsh is only required if tcl enabled
This commit is contained in:
Panu Matilainen 2008-12-02 20:35:27 +00:00
parent f5ed2642ca
commit cd7455666d

View File

@ -15,10 +15,10 @@ Source: http://www.sqlite.org/sqlite-%{version}.tar.gz
Patch1: sqlite-3.6.6.2-libdl.patch
Obsoletes: sqlite3 sqlite3-devel
BuildRequires: ncurses-devel readline-devel glibc-devel
BuildRequires: /usr/bin/tclsh
%if %{with tcl}
BuildRequires: /usr/bin/tclsh
BuildRequires: tcl-devel
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
%{!?tcl_version: %global tcl_version 8.5}
%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%endif
BuildRoot: %{_tmppath}/%{name}-root