Fix specs tmp path. Improve dependencies specification