[StarCluster] Add bash completion
Orion Poplawski
orion at fedoraproject.org
Wed Feb 26 03:10:06 UTC 2014
commit 4ebfac7577a0147a5d121826100e72c444fd1f72
Author: Orion Poplawski <orion at nwra.com>
Date: Tue Feb 25 20:10:57 2014 -0700
Add bash completion
StarCluster.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/StarCluster.spec b/StarCluster.spec
index a062e99..92dd40f 100644
--- a/StarCluster.spec
+++ b/StarCluster.spec
@@ -80,6 +80,10 @@ rm _build/html/.buildinfo
%install
%{__python} setup.py install --skip-build --root %{buildroot}
+# bash completion
+mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
+cp -p completion/starcluster-completion.sh %{buildroot}%{_datadir}/bash-completion/completions/starcluster
+
%check
%{__python} setup.py test
@@ -89,6 +93,7 @@ rm _build/html/.buildinfo
%doc Changelog COPYING COPYING.LESSER README.rst
%{_bindir}/starcluster
%{python_sitelib}/*
+%{_datadir}/bash-completion/
%files doc
%doc docs/sphinx/_build/html
@@ -97,6 +102,7 @@ rm _build/html/.buildinfo
%changelog
* Tue Feb 25 2014 Orion Poplawski <orion at cora.nwra.com> 0.9999-0.8.0.95.2
- Update to 0.95.2 - version hack for now
+- Add bash completion
* Thu Feb 20 2014 Orion Poplawski <orion at cora.nwra.com> 0.9999-0.7.0.95
- Update to 0.95 - version hack for now
More information about the scm-commits
mailing list