Obviously they spawn in/near rivers or lakes, just stay away from any body of water 29m close to it and it will leave you alone doing whatever it spinos do in this game. Which is probably killing any person or creature that was doing the exact opposite of what I just told you.

More Spinosaurus Encountering Tips