From 346fdd7d8cbb74d470c4f5848810d46adf2687c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 19 Sep 2009 14:50:13 +0000 Subject: [PATCH] Ship bash completion (#496456). --- subversion.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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