%{!?lustre_name: %global lustre_name lustre}
%{!?build_lustre_tests: %global build_lustre_tests 1}
-%{!?build_lustre_osd_ldiskfs: %global build_lustre_osd_ldiskfs 1}
-%{!?build_lustre_osd_zfs: %global build_lustre_osd_zfs 1}
+%{!?build_lustre_osd_ldiskfs: %global build_lustre_osd_ldiskfs 0}
+%{!?build_lustre_osd_zfs: %global build_lustre_osd_zfs 0}
# in order to get kernel symset and/or kernel module dependencies into
# the RPM, in order to support weak-modules, the internal dependency gen-
ln -s $RPM_BUILD_ROOT/usr/src lustre-source
make distdir distdir=lustre-source/lustre-%{version}
chmod -R go-w lustre-source/lustre-%{version}
+# fc18 needs 'x' permission for library files
+find $RPM_BUILD_ROOT -name '*.so' | xargs chmod +x
cat >lustre.files <<EOF
%attr(-, root, root) /sbin/mount.lustre