From: liangzhen Date: Fri, 3 Mar 2006 05:56:31 +0000 (+0000) Subject: Smallfix for branch using universal headers(b1_5*), no effect to other branches. X-Git-Tag: 1.4.10~353 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e98c479e2a74879292a20f812800f8c2074b4043;p=fs%2Flustre-release.git Smallfix for branch using universal headers(b1_5*), no effect to other branches. --- 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