From e98c479e2a74879292a20f812800f8c2074b4043 Mon Sep 17 00:00:00 2001 From: liangzhen Date: Fri, 3 Mar 2006 05:56:31 +0000 Subject: [PATCH] Smallfix for branch using universal headers(b1_5*), no effect to other branches. --- build/lustre.spec.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/lustre.spec.in b/build/lustre.spec.in index 0101a7e..d376b58 100644 --- a/build/lustre.spec.in +++ b/build/lustre.spec.in @@ -134,9 +134,8 @@ if [ -d $RPM_BUILD_ROOT%{_libdir}/lustre/snmp ] ; then 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 +if [ -f $RPM_BUILD_DIR/lustre-%{version}/lustre/include/lustre/lustre_idl.h ] ; then + echo '%attr(-, root, root) /usr/include/lustre/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 -- 1.8.3.1