Summary: Lustre testing framework
Group: Development/Kernel
Provides: lustre-tests = %{version}
-Requires: lustre = %{version}
+Requires: lustre = %{version}, lustre-modules = %{version}
%description tests
This package contains a set of test binaries and scripts that are intended
# Have universal lustre headers
if [ -f $RPM_BUILD_DIR/lustre-%{version}/lustre/include/lustre/lustre_idl.h ] ; then
- echo '%attr(-, root, root) /usr/include/linux/lustre_types.h' >>lustre.files
echo '%attr(-, root, root) /usr/include/linux/lustre_user.h' >>lustre.files
else
echo '%attr(-, root, root) /usr/include/linux/lustre_idl.h' >>lustre.files
fi
+if [ -f $RPM_BUILD_DIR/lustre-%{version}/lustre/include/linux/lustre_types.h ] ; then
+ echo '%attr(-, root, root) /usr/include/linux/lustre_types.h' >>lustre.files
+fi
+
echo '%attr(-, root, root) %{_libdir}/lustre/tests/*' >lustre-tests.files
echo '%attr(-, root, root) /lib/modules/%{kversion}/kernel/fs/lustre/llog_test.*' >>lustre-tests.files
modules_excludes="llog_test"
else
depmod -ae %{kversion} || exit 0
fi
+cat <<EOF
+Congratulations on finishing your Lustre installation! To register
+your copy of Lustre and find out more about Lustre Support, Service,
+and Training offerings please visit
+
+http://www.sun.com/software/products/lustre/lustre_reg.jsp
+EOF
# for update from < v1.4.6