summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-01-27 12:59:58 +0530
committerVijay Bellur <vbellur@redhat.com>2016-03-05 18:51:37 -0800
commit60504a1a926fabdcddbded90ff28f56f50ada6b7 (patch)
tree52cf03ad29a15bf8cf28db4d01d2d4a038722ef5 /glusterfs.spec.in
parent82674a299a3fa9b969c494d2d0a3e72600323af8 (diff)
build: make /var/run/gluster available everywhere
/var/run/gluster was only avialable with glusterfs-server package. Move it to primary glusterfs package so that client installations as well as server installations can generate state-dump in that directory. Cherry picked from commit 759b63536c676f4b4fa135ea62d74dff021778e4: > Change-Id: I1cdd2c5118ac657b2dab4f9669c6657484b8c600 > BUG: 1302200 > Signed-off-by: Milind Changire <mchangir@redhat.com> > Reviewed-on: http://review.gluster.org/13296 > Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> > Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com> > CentOS-regression: Gluster Build System <jenkins@build.gluster.com> > Reviewed-by: Niels de Vos <ndevos@redhat.com> > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > Smoke: Gluster Build System <jenkins@build.gluster.com> Change-Id: I1cdd2c5118ac657b2dab4f9669c6657484b8c600 BUG: 1302202 Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: http://review.gluster.org/13541 Reviewed-by: Niels de Vos <ndevos@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index a142b9034a3..d99d5ca79fd 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -966,6 +966,10 @@ fi
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/stat-prefetch.so
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/write-behind.so
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/system/posix-acl.so
+%dir %{_localstatedir}/run/gluster
+%if 0%{?_tmpfilesdir:1}
+%{_tmpfilesdir}/gluster.conf
+%endif
%files api
@@ -1106,10 +1110,6 @@ fi
%doc extras/clear_xattrs.sh
%config(noreplace) %{_sysconfdir}/sysconfig/glusterd
%config(noreplace) %{_sysconfdir}/glusterfs
-%dir %{_localstatedir}/run/gluster
-%if 0%{?_tmpfilesdir:1}
-%{_tmpfilesdir}/gluster.conf
-%endif
%dir %{_sharedstatedir}/glusterd
%dir %{_sharedstatedir}/glusterd/groups
%config(noreplace) %{_sharedstatedir}/glusterd/groups/virt