From 105615612e096df764da9d97b9e28da31117db0b Mon Sep 17 00:00:00 2001 From: liangzhen Date: Thu, 2 Mar 2006 13:39:55 +0000 Subject: [PATCH] . Small change to lustre.spec.in to resolve problem in rpm building, it's tested in b1_4 and b1_5. . Fix rpm building problem in b1_5 . Rename $(platform)/types.h to $(platform)/lustre_types.h to avoid confusing while compile. . portability fix for lov_obd.c --- build/lustre.spec.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build/lustre.spec.in b/build/lustre.spec.in index 3d81a29..0101a7e 100644 --- a/build/lustre.spec.in +++ b/build/lustre.spec.in @@ -117,7 +117,6 @@ cat >lustre.files <>lustre.files fi +# Have universal lustre headers +if [ -f $RPM_BUILD_DIR/lustre-%{version}/lustre/include/lustre_idl.h ] ; then + echo '%attr(-, root, root) /usr/include/lustre_idl.h' >>lustre.files + echo '%attr(-, root, root) /usr/include/linux/lustre_idl.h' >>lustre.files + 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 + %files -f lustre.files %files modules -- 1.8.3.1