commit 39f9a4e47787653154b1f55349c7658dbec459d3
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Aug 5 17:35:44 2016 +0200
Fixup completion
rfpkg.spec | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/rfpkg.spec b/rfpkg.spec
index 1602e1b..ab820e4 100644
--- a/rfpkg.spec
+++ b/rfpkg.spec
@@ -67,14 +67,7 @@ mv $RPM_BUILD_ROOT%{compdir}/rfpkg.bash
$RPM_BUILD_ROOT%{compdir}/rfpkg
%{python2_sitelib}/rfpkg/
%{python2_sitelib}/rfpkg-%{version}-py%{python2_version}.egg-info/
%{_mandir}/man1/rfpkg.1*
-%if 0%{?fedora}
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/rfpkg
-%else
-%dir %{_sysconfdir}/bash_completion.d
-%{_sysconfdir}/bash_completion.d/rfpkg
-%endif
+%(dirname %{compdir})
%dir %{_sysconfdir}/rpkg
%config(noreplace) %{_sysconfdir}/rpkg/rfpkg.conf
# zsh completion
Show replies by date