|
|
@@ -44,9 +44,9 @@ Version: %{V_js}
|
|
|
Release: 20060729
|
|
|
|
|
|
# package options
|
|
|
+%option with_file yes
|
|
|
%option with_perl no
|
|
|
%option with_editline no
|
|
|
-%option with_file no
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.ossp.org/pkg/lib/js/js-%{V_js}.tar.gz
|
|
|
@@ -141,8 +141,8 @@ AutoReqProv: no
|
|
|
%if "%{with_editline}" == "yes"
|
|
|
--with-editline=%{l_prefix} \
|
|
|
%endif
|
|
|
-%if "%{with_file}" == "yes"
|
|
|
- --with-file \
|
|
|
+%if "%{with_file}" != "yes"
|
|
|
+ --without-file \
|
|
|
%endif
|
|
|
--disable-shared
|
|
|
%{l_make} %{l_mflags}
|