--- /dev/null
+# vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4:
+
+# Replace i686 with i586 for fc11.
+# Please see find_linux_devel_paths() in lbuild-rhel5 file for more details.
+if [ $TARGET_ARCH == 'i686' ]; then
+ DEVEL_PATH_ARCH="i586"
+fi
+# Please see find_linux_devel_paths() in lbuild-rhel5 file for more details.
+DEVEL_PATH_ARCH_DELIMETER="."
+source ${0%/*}/lbuild-rhel5
+
+# increment this if you have made a change that should force a new kernel
+# to build built
+#BUILD_GEN=1
+#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names
+BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
+
+
find_linux_devel_paths() {
local path="$1"
+ local ARCH=$TARGET_ARCH
- LINUX=$path/usr/src/kernels/${lnxmaj}${lnxmin}-${lnxrel}-${TARGET_ARCH}
+ # If DEVEL_PATH_ARCH is set, use it. Added for fc11 as it needs i586 string for i686.
+ if [ $DEVEL_PATH_ARCH ];then
+ ARCH=$DEVEL_PATH_ARCH
+ fi
+
+ LINUX=$path/usr/src/kernels/${lnxmaj}${lnxmin}-${lnxrel}${DEVEL_PATH_ARCH_DELIMETER:-"-"}${ARCH}
# RHEL doesn't have the -obj tree
LINUXOBJ=""
# XXX - i don't think we need this any more
%define is_client %(bash -c "if [[ %{lustre_name} = *-client ]]; then echo -n '1'; else echo -n '0'; fi")
# for those uses that don't want the -smp/-bigsmp on the end of %kversion
-%define krequires %(bash -c "echo %{kversion} | sed -e 's/-smp$//' -e 's/-bigsmp$//' -e 's/-ppc64$//' -e 's/-default$//'")
+%define krequires %(bash -c "echo %{kversion} | sed -e 's/.x86_64$//' -e 's/.i586$//' -e 's/-smp$//' -e 's/-bigsmp$//' -e 's/-ppc64$//' -e 's/-default$//'")
Summary: Lustre File System
Name: %{lustre_name}
lustre/kernel_patches/targets/2.6-sles10.target
lustre/kernel_patches/targets/2.6-sles11.target
lustre/kernel_patches/targets/2.6-oel5.target
+lustre/kernel_patches/targets/2.6-fc11.target
lustre/ldlm/Makefile
lustre/fid/Makefile
lustre/fid/autoMakefile
--- /dev/null
+lnxmaj="2.6.29.4"
+lnxrel="167.fc11"
+
+KERNEL_SRPM=kernel-${lnxmaj}-${lnxrel}.src.rpm
+SERIES=2.6-fc5.series
+EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
+BASE_ARCHS="i686 x86_64"
+BIGMEM_ARCHS=""
+BOOT_ARCHS=""
+JENSEN_ARCHS=""
+SMP_ARCHS=""
+UP_ARCHS=""
+
+