summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 43662b5a9..5e661399f 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -450,6 +450,10 @@ pushd api/examples
FLAGS="$RPM_OPT_FLAGS" python setup.py build
popd
+%check
+
+LD_LIBRARY_PATH=$PWD/cmockery2/.libs make check
+
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
@@ -666,6 +670,9 @@ rm -rf %{buildroot}
%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption/rot-13*
%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/mac-compat*
%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/testing/performance/symlink-cache*
+# exclude cmockery
+%exclude %{_includedir}/cmockery*
+%exclude %{_prefix}/share/doc/cmockery*
%post libs
/sbin/ldconfig