From 93294d01a191fd64cedc2a9c496c620983be85ea Mon Sep 17 00:00:00 2001
From: "robert.read" <robert.read>
Date: Fri, 18 Jul 2008 23:44:49 +0000
Subject: [PATCH] Branch b_head_libcfs 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.
---
 lustre.spec.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lustre.spec.in b/lustre.spec.in
index 4aa5a2ab87..87f7d33d6f 100644
--- a/lustre.spec.in
+++ b/lustre.spec.in
@@ -142,6 +142,10 @@ cat >lustre.files <<EOF
 %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
-- 
GitLab