- revert Ruby sitelibdir patch to see how the build fails

This commit is contained in:
jorton 2006-06-07 13:09:28 +00:00
parent 480a3c1247
commit 899c1e1968

View File

@ -7,7 +7,6 @@
%define jdk_path /usr/lib/jvm/java
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define ruby_sitelibdir %(%{_bindir}/ruby -rrbconfig -e 'print Config::CONFIG.fetch(%q(sitelibdir))')
Summary: Modern Version Control System designed to replace CVS
Name: subversion
@ -161,7 +160,7 @@ find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -perm 555 -print0 |
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
# Remove unnecessary ruby libraries
rm -f ${RPM_BUILD_ROOT}%{ruby_sitelibdir}/*/svn/ext/*.*a
rm -f ${RPM_BUILD_ROOT}%{_libdir}/site_ruby/*/*/svn/ext/*.*a
# Trim what goes in docdir
rm -rf tools/*/*.in tools/test-scripts
@ -238,8 +237,8 @@ rm -rf ${RPM_BUILD_ROOT}
%files ruby
%defattr(-,root,root,-)
%{_libdir}/libsvn_swig_ruby*
%{ruby_sitelibdir}/svn
%{ruby_sitelibdir}/*-linux/svn
%{_libdir}/site_ruby/*/svn
%{_libdir}/site_ruby/*/*-linux/svn
%if %{with_java}
%files javahl