Updating the %else clause to contain %define extra --with-repo=centos-5 --with-mirror=http://mirror.centos.org/centos-5/5.3/os/%{_arch}/ --with-updates=none ...works around the failure with buildnonet==0.