]> git.pld-linux.org Git - packages/subversion.git/commitdiff
- make --without ruby to work
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 13 Mar 2011 15:29:34 +0000 (15:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    subversion.spec -> 1.302

subversion.spec

index 42e7683c9a2a429cbf5286915c8cb4a1991bc30d..94645538c88b1b6d39a0001f7fa2a74fdb6ae2f1 100644 (file)
@@ -448,6 +448,9 @@ chmod +x ./autogen.sh && ./autogen.sh
 %endif
 %if %{without swig}
        --without-swig \
+%endif
+%if %{without ruby}
+       ac_cv_path_RUBY=none \
 %endif
        %{?with_python:--with-ctypesgen=%{_bindir}/ctypesgen.py} \
        --%{?with_javahl:en}%{!?with_javahl:dis}able-javahl \
@@ -572,8 +575,10 @@ cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{?with_javahl:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.{la,a}}
 %if %{with swig}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.{la,a}
+%if %{with ruby}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ruby/site_ruby/*/*/svn/ext/*.la
 %endif
+%endif
 %if %{with gnome} || %{with kwallet}
 # dlopened by soname (libsvn_auth_*-1.so.0)
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la,a}
This page took 0.157627 seconds and 4 git commands to generate.