Route the spin halyard through a block that is attached to the tack line. When the halyard is pulled, it pulls the block back towards the mast, pulling the tack line to it's desired position. When the tack is in position, the halyard (still running through the block attached to the tack line) just hoists the spin.