If CLASSPATH is set, rpmbuild -ba fails, saying junit wasn't found. Quick fix is to unset CLASSPATH.
Same failure trying to build the frysk cvs source.