Fixed up previous commit, which was sloppy
Added generic algorithm to guess spec directories

but didn't plug it in yet (I suddenly lost momentum and I didn't want to
keep working on this at the moment)