Greene King's shareholders have given the green light for the company to acquire Spirit Pub Co in a GBP773.6m (US$1.24bn) deal.