summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kp@gluster.com>2012-04-23 13:22:42 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-23 05:31:02 -0700
commitfdcbf065a9a4c39f08dfbe9e40695de250829bd8 (patch)
tree7f459e7f0a32ade75dba7a254987939aa963e6a2 /glusterfs.spec.in
parentf47b0fa1ccd594be9f0cda7f756973a04c0faed6 (diff)
glusterfs.spec: Added hook-scripts in server rpmv3.3.0qa38
Change-Id: Idd0ed2a72ea9ec947eaf142b889730e8d4be63c1 BUG: 806996 Signed-off-by: Krishnan Parthasarathi <kp@gluster.com> Reviewed-on: http://review.gluster.com/3211 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index fa417883430..53688e77a48 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -222,6 +222,11 @@ find %{buildroot}%{_libdir} -name '*.la' -delete
sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sharedstatedir}/glusterd|g' \
%{buildroot}%{_sysconfdir}/glusterfs/glusterd.vol
+# Following needed by the hooks interface
+%{__mkdir_p} %{buildroot}%{_sharedstatedir}/glusterd/hook-scripts
+%{__install} -p -m 0644 extras/hook-scripts/*.sh \
+ %{buildroot}%{_sharedstatedir}/glusterd/hook-scripts/
+
# Clean up the examples we want to include as %%doc
#%{__cp} -a doc/examples examples
#%{__rm} -f examples/Makefile*