Spec for selecting variant for library dependency