Use a common ERB template for libretro cores spec files
Use the ERB template for scummvm core too