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'

Closes-bug: 1300524
Change-Id: I6e4d009b92161dc0746586af1da043bf85e38c15