An explosion at an ammunition factory in Granada, Spain, has injured five workers, with no serious injuries reported.