Walk up to one while riding a spino and they won't aggro on you. You can literally trap it with metal billboards from your hot bar while riding the spine and they are yours.

More Megalosaurus Taming & KO Tips