better trim doc dir to avoid breaking svnmucc tests
This commit is contained in:
parent
51d0a3b38f
commit
052327b622
@ -161,8 +161,6 @@ This package includes the Ruby bindings to the Subversion libraries.
|
|||||||
%patch4 -p1 -b .ruby
|
%patch4 -p1 -b .ruby
|
||||||
%patch5 -p1 -b .hashorder
|
%patch5 -p1 -b .hashorder
|
||||||
|
|
||||||
mv tools/client-side/bash_completion .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Regenerate the buildsystem, so that:
|
# Regenerate the buildsystem, so that:
|
||||||
# 1) patches applied to configure.in take effect
|
# 1) patches applied to configure.in take effect
|
||||||
@ -251,9 +249,7 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
|
|||||||
rm -f ${RPM_BUILD_ROOT}%{ruby_sitearch}/svn/ext/*.*a
|
rm -f ${RPM_BUILD_ROOT}%{ruby_sitearch}/svn/ext/*.*a
|
||||||
|
|
||||||
# Trim what goes in docdir
|
# Trim what goes in docdir
|
||||||
rm -rf tools/*/*.in tools/test-scripts tools/buildbot tools/dist
|
rm -rf tools/*/*.in
|
||||||
find tools -name .libs -print0 | xargs -0 rm -rvf
|
|
||||||
find tools -name \*.o -print0 | xargs -0 rm -vf
|
|
||||||
|
|
||||||
# Install psvn for emacs and xemacs
|
# Install psvn for emacs and xemacs
|
||||||
for f in emacs/site-lisp xemacs/site-packages/lisp; do
|
for f in emacs/site-lisp xemacs/site-packages/lisp; do
|
||||||
@ -275,7 +271,7 @@ sed -i "/^dependency_libs/{
|
|||||||
}" $RPM_BUILD_ROOT%{_libdir}/*.la
|
}" $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
# Install bash completion
|
# Install bash completion
|
||||||
install -Dpm 644 bash_completion \
|
install -Dpm 644 tools/client-side/bash_completion \
|
||||||
$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name}
|
$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name}
|
||||||
|
|
||||||
# Install svnserve bits
|
# Install svnserve bits
|
||||||
@ -359,7 +355,8 @@ fi
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc BUGS COMMITTERS LICENSE NOTICE INSTALL README CHANGES
|
%doc BUGS COMMITTERS LICENSE NOTICE INSTALL README CHANGES
|
||||||
%doc tools mod_authz_svn-INSTALL
|
%doc tools/hook-scripts tools/backup tools/bdb tools/examples tools/xslt
|
||||||
|
%doc mod_authz_svn-INSTALL
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
%{_datadir}/emacs/site-lisp/*.el
|
%{_datadir}/emacs/site-lisp/*.el
|
||||||
|
Loading…
Reference in New Issue
Block a user