5 arch=`rpm --showrc --rcfile $srcdir/rpmrc | awk '/^build arch/ {print $4}'`
6 if test "x$arch" = "x" ; then
7 echo "cannot determinate architecture" >&2
10 mkdir $arch 2>/dev/null
12 rpm -ba --rcfile $srcdir/rpmrc Specfile
18 if test $didmkdir ; then