In the World Explorer, select the spot light then Shift-select
the sphere. It is important that you first select the spot light,
then multi-select the sphere.
Choose Relations > Direction Constraint.
Choose Edit > Unselect All.
To test the constraint,
translate the sphere.
The spot light rotates to follow the sphere.