diff --git a/vim.spec b/vim.spec index ec61337..e381117 100644 --- a/vim.spec +++ b/vim.spec @@ -12,6 +12,7 @@ %define withvimspell 0 %define withhunspell 0 +%define withruby 1 %define baseversion 7.1 #used for pre-releases: @@ -758,6 +759,11 @@ export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_ %else --disable-netbeans \ %endif +%if "%{withruby}" == "1" + --enable-rubyinterp \ +%else + --disable-rubyinterp \ +%endif make %{?_smp_mflags} cp vim gvim @@ -774,6 +780,11 @@ make clean %else --disable-netbeans \ %endif +%if "%{withruby}" == "1" + --enable-rubyinterp \ +%else + --disable-rubyinterp \ +%endif make %{?_smp_mflags} cp vim enhanced-vim @@ -1102,6 +1113,7 @@ rm -rf $RPM_BUILD_ROOT * Mon Feb 25 2008 Karsten Hopp 7.1.262-1 - patchlevel 262 - add fix for #231124, BOM was ignored +- enable ruby interpreter (#215207) * Mon Feb 11 2008 Karsten Hopp 7.1.245-1 - patchlevel 245