b=16420
Adds a new library for userspace, multithread utilities. It inlcudes nidstrings.c
and parser.c (taken from lustre/utils).
The new include (libcfsutil.h) also includes platform.h which used to be in lustre/utils.
This includes defines for locks and condition variables, and eventually should be consolidated with
libcfs.h when that supports multithreaded apps.
%attr(-, root, root) %{_libdir}/lustre/lc_common
EOF
+if [ -f $RPM_BUILD_ROOT%{_libdir}/libcfsutil.a ] ; then
+ echo '%attr(-, root, root) %{_libdir}/libcfsutil.a' >>lustre.files
+fi
+
if [ -f $RPM_BUILD_ROOT%{_libdir}/liblustre.so ] ; then
echo '%attr(-, root, root) %{_libdir}/liblustre.a' >>lustre.files
echo '%attr(-, root, root) %{_libdir}/liblustre.so' >>lustre.files