# Set an explicit path to our Linux tree, if we can.
cd $RPM_BUILD_DIR/lustre-%{version}
-./configure @ac_configure_args@ \
+./configure @ac_configure_args@ %{?configure_flags:configure_flags} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--libdir=%{_libdir}
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