Fix the depends cookbook version issue in metadata.rb

The depends condition should be ether of below:
depends 'cookbook-name', '>=x.y.z'
depends 'cookbook-name', '~>x.y'

Change-Id: I1e60d3c2e5e7fadd45af6e75a74719992b4e4971
Closes-bug: 1300524