diff --git a/subversion.spec b/subversion.spec index 3369a8a..78b7cb5 100644 --- a/subversion.spec +++ b/subversion.spec @@ -231,6 +231,10 @@ sed -i "/^dependency_libs/{ s,%{_libdir}/lib[^sa][^vp][^nr].*.la, ,g; }" $RPM_BUILD_ROOT%{_libdir}/*.la +# Install bash completion +install -Dpm 644 tools/client-side/bash_completion \ + $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name} + %find_lang %{name} %if %{make_check} @@ -278,6 +282,7 @@ rm -rf ${RPM_BUILD_ROOT} %{python_sitearch}/libsvn %{_datadir}/emacs/site-lisp/*.el %{_datadir}/xemacs/site-packages/lisp/*.el +%{_sysconfdir}/bash_completion.d %dir %{_sysconfdir}/subversion %exclude %{_libdir}/libsvn_swig_perl* %exclude %{_libdir}/libsvn_swig_ruby* @@ -330,6 +335,7 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Sat Sep 19 2009 Ville Skyttä +- Ship bash completion (#496456). - Add %%defattr to -gnome and -kde. * Sun Aug 23 2009 Joe Orton 1.6.5-1