On minimal spanning systems over semiperfect rings