use Chef::VersionConstraint to compare cookbooks