- revert Ruby sitelibdir patch to see how the build fails
This commit is contained in:
parent
480a3c1247
commit
899c1e1968
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user