summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 39fc23aa6..96341adf9 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -588,6 +588,8 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/options
touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/nfs-server.vol
touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid
+find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glusterfs
+
%clean
%{__rm} -rf %{buildroot}
@@ -790,8 +792,8 @@ fi
%files regression-tests
%defattr(-,root,root,-)
-%{_datarootdir}/glusterfs/*
-%exclude %{_datarootdir}/glusterfs/tests/basic/rpm.t
+%{_prefix}/share/glusterfs/*
+%exclude %{_prefix}/share/glusterfs/tests/basic/rpm.t
%post server
# Legacy server