Spin distributions in heavy-ion fusion reactions