#!/bin/sh
NEWKERNVER=`uname -r | sed -e 's|smp$||'`
NEWTARGET=`uname -m`
USRTARGET=$NEWTARGET
test X"$USRTARGET" = "Xi686" && USRTARGET="i386"
rpmbuild -ba --target ${USRTARGET} \
	--define "dist .sl7" \
	--without nvidia \
	--without debug \
		slurm.spec
