Whamcloud - gitweb
Smallfix for branch using universal headers(b1_5*), no effect to other branches.
authorliangzhen <liangzhen>
Fri, 3 Mar 2006 05:56:31 +0000 (05:56 +0000)
committerliangzhen <liangzhen>
Fri, 3 Mar 2006 05:56:31 +0000 (05:56 +0000)
build/lustre.spec.in

index 0101a7e..d376b58 100644 (file)
@@ -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