[Specification] Create subspec dependencies with a version requirement of self.version

@kylef this is one performance optimization for the resolver