Spin-Ruijsenaars, q-Deformed Haldane–Shastry and Macdonald Polynomials