DOH!

The %cmake line had a trailing ".". Removing it fixes the issue.

Thanks,
Richard