summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorVarun Shastry <vshastry@redhat.com>2014-06-04 15:01:14 +0530
committerVijay Bellur <vbellur@redhat.com>2014-06-13 09:56:39 -0700
commit17f366722124cef253822ba3d78c560e766cb242 (patch)
tree4b1bfa4920b3419e87723d849d200cf7ef757009 /glusterfs.spec.in
parenta41f212e4b5bf74e2752370de10b754a1fa3f675 (diff)
extras: bash command completion for gluster
Change-Id: Ifd6e68b0288dc65e41e467b4ad02bfc3bded341f BUG: 1108767 Signed-off-by: Varun Shastry <vshastry@redhat.com> Reviewed-on: http://review.gluster.org/7979 Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 72ad7311806..525822a53a9 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -702,6 +702,11 @@ install -p -m 0744 extras/hook-scripts/S56glusterd-geo-rep-create-post.sh \
find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glusterfs
+## Install bash completion for cli
+install -p -m 0744 -D extras/command-completion/gluster.bash \
+ %{buildroot}%{_sysconfdir}/bash_completion.d/gluster
+
+
%clean
rm -rf %{buildroot}
@@ -868,6 +873,7 @@ fi
%files cli
%{_sbindir}/gluster
%{_mandir}/man8/gluster.8*
+%{_sysconfdir}/bash_completion.d/gluster
%files devel
%{_includedir}/glusterfs
@@ -1022,6 +1028,9 @@ fi
%ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid
%changelog
+* Thu Jun 12 2014 Varun Shastry <vshastry@redhat.com>
+- Add bash completion config to the cli package
+
* Thu May 22 2014 Poornima G <pgurusid@redhat.com>
- Rename old hookscripts in an RPM-standard way.