Over Locknut Distance (OLD) is 130mm for road, 135 for hybrid/MTB, ie the space between the rear dropouts.
That is about the only hub compatibility issue with the frame.
You need the same spoke count as your rim.
The hub inter-flange distance is just a wheel builder's issue.